summaryrefslogtreecommitdiffstats
path: root/test/TEST-28-PERCENTJ-WANTEDBY/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-28-PERCENTJ-WANTEDBY/test.sh')
-rwxr-xr-xtest/TEST-28-PERCENTJ-WANTEDBY/test.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/TEST-28-PERCENTJ-WANTEDBY/test.sh b/test/TEST-28-PERCENTJ-WANTEDBY/test.sh
index 42db3b621d..cc34efe074 100755
--- a/test/TEST-28-PERCENTJ-WANTEDBY/test.sh
+++ b/test/TEST-28-PERCENTJ-WANTEDBY/test.sh
@@ -6,9 +6,7 @@ RUN_IN_UNPRIVILEGED_CONTAINER=yes
. $TEST_BASE_DIR/test-functions
test_setup() {
- 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
(
@@ -58,9 +56,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 "$@"