tests - run docker cp in a shell

This commit is contained in:
bunkerity 2022-07-19 15:32:02 +02:00
parent f2ac7bca74
commit 410212b158
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 1 additions and 1 deletions

View File

@ -122,4 +122,4 @@ class LinuxTest(Test) :
return run("docker exec linux-" + distro + " /bin/bash -c \"" + cmd_linux + "\"", shell=True)
def docker_cp(distro, src, dst) :
return run("docker cp " + src + " linux-" + distro + ":" + dst)
return run("docker cp " + src + " linux-" + distro + ":" + dst, shell=True)