diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-31 11:23:21 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-31 14:37:20 +0200 |
commit | e00fca8c2eadc51396fbc97c867b8506878e24c9 (patch) | |
tree | f9b8f83539999390873f96831a10552bf584df63 /test/TEST-13-NSPAWN-SMOKE | |
parent | 68a7705e351596203a738ca666030dc747077051 (diff) | |
download | systemd-e00fca8c2eadc51396fbc97c867b8506878e24c9.tar.gz |
TEST-13-*: remove containers created in test before running the test
The test would fail when run again from the same image. So let's
rename the stuff we create to be more unique, and remove it before
running the test. (Removing it after would be more elegant, but it's
hard to make sure that everything is removed when things fail halfway.
Cleanup *before* tests is much more rebust.)
Diffstat (limited to 'test/TEST-13-NSPAWN-SMOKE')
-rwxr-xr-x | test/TEST-13-NSPAWN-SMOKE/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-13-NSPAWN-SMOKE/test.sh b/test/TEST-13-NSPAWN-SMOKE/test.sh index c777c166f7..4a08cfd4ec 100755 --- a/test/TEST-13-NSPAWN-SMOKE/test.sh +++ b/test/TEST-13-NSPAWN-SMOKE/test.sh @@ -15,8 +15,8 @@ test_create_image() { setup_basic_environment mask_supporting_services - ../create-busybox-container $initdir/nc-container - initdir="$initdir/nc-container" dracut_install nc ip + ../create-busybox-container $initdir/testsuite-13.nc-container + initdir="$initdir/testsuite-13.nc-container" dracut_install nc ip ) } |