]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-23-TYPE-EXEC/test.sh
test: drop redirection to tty in integration tests
[thirdparty/systemd.git] / test / TEST-23-TYPE-EXEC / test.sh
index 68423637cea130b563e2615138e0787cd14e043c..2b10b9ad7033349d5b545578f78bccd55f7aea06 100755 (executable)
@@ -5,9 +5,7 @@ TEST_DESCRIPTION="test Type=exec"
 . $TEST_BASE_DIR/test-functions
 
 test_setup() {
-    create_empty_image
-    mkdir -p $TESTDIR/root
-    mount ${LOOPDEV}p1 $TESTDIR/root
+    create_empty_image_rootdir
 
     (
         LOG_LEVEL=5
@@ -31,18 +29,12 @@ Description=Testsuite service
 [Service]
 ExecStart=/testsuite.sh
 Type=oneshot
-StandardOutput=tty
-StandardError=tty
-NotifyAccess=all
 EOF
         cp testsuite.sh $initdir/
 
         setup_testsuite
     )
     setup_nspawn_root
-
-    ddebug "umount $TESTDIR/root"
-    umount $TESTDIR/root
 }
 
 do_test "$@"