Make test portable
This commit is contained in:
parent
9eb0f5ffaa
commit
d47ab86873
@ -70,7 +70,7 @@ def test_build_copy():
|
|||||||
script_test(
|
script_test(
|
||||||
'build_copy',
|
'build_copy',
|
||||||
Base('alpine'),
|
Base('alpine'),
|
||||||
Copy(os.path.dirname(__file__), '/app'),
|
Copy('/test', '/app'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -16,4 +16,4 @@ mnt=$(buildah mount $ctr)
|
|||||||
echo "Copy.init_build"
|
echo "Copy.init_build"
|
||||||
echo "Copy.build"
|
echo "Copy.build"
|
||||||
buildah run --user root $ctr -- mkdir -p /app
|
buildah run --user root $ctr -- mkdir -p /app
|
||||||
cp -a /home/jpic/src/podctl/tests $mnt/app
|
cp -a /test $mnt/app
|
||||||
Loading…
x
Reference in New Issue
Block a user