summaryrefslogtreecommitdiffstats
path: root/test/TEST-24-UNIT-TESTS/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-24-UNIT-TESTS/test.sh')
-rwxr-xr-xtest/TEST-24-UNIT-TESTS/test.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/TEST-24-UNIT-TESTS/test.sh b/test/TEST-24-UNIT-TESTS/test.sh
index 5d60b548dd..f853dd1d3c 100755
--- a/test/TEST-24-UNIT-TESTS/test.sh
+++ b/test/TEST-24-UNIT-TESTS/test.sh
@@ -58,9 +58,7 @@ test_setup() {
exit 1
fi
- create_empty_image
- mkdir -p $TESTDIR/root
- mount ${LOOPDEV}p1 $TESTDIR/root
+ create_empty_image_rootdir
# Create what will eventually be our root filesystem onto an overlay
(
@@ -98,9 +96,6 @@ EOF
ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.service
ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
ln -s /dev/null $initdir/etc/systemd/system/systemd-resolved.service
-
- ddebug "umount $TESTDIR/root"
- umount $TESTDIR/root
}
do_test "$@"