mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-22 13:45:21 +03:00
test: fix 'make clean' not removing shared image
This commit is contained in:
@@ -2088,6 +2088,10 @@ _test_cleanup() {
|
|||||||
set +e
|
set +e
|
||||||
_umount_dir $initdir
|
_umount_dir $initdir
|
||||||
rm -vf "$IMAGE_PUBLIC"
|
rm -vf "$IMAGE_PUBLIC"
|
||||||
|
# If multiple setups/cleans are ran in parallel, this can cause a race
|
||||||
|
if [ ${TEST_PARALLELIZE} -ne 1 ]; then
|
||||||
|
rm -vf "${IMAGESTATEDIR}/default.img"
|
||||||
|
fi
|
||||||
rm -vfr "$TESTDIR"
|
rm -vfr "$TESTDIR"
|
||||||
rm -vf "$STATEFILE"
|
rm -vf "$STATEFILE"
|
||||||
) || :
|
) || :
|
||||||
|
Reference in New Issue
Block a user