No need to call setup_nspawn_root() if we plan to only run under qemu.
setup_basic_environment
mask_supporting_services
- dracut_install mktemp
-
- # setup the testsuite service
- cat >$initdir/etc/systemd/system/testsuite.service <<EOF
-[Unit]
-Description=Testsuite service
-
-[Service]
-ExecStart=/bin/bash -x /testsuite.sh
-Type=oneshot
-EOF
- cp testsuite.sh $initdir/
-
- setup_testsuite
)
- setup_nspawn_root
}
-do_test "$@"
+do_test "$@" 36
--- /dev/null
+[Unit]
+Description=TEST-36-NUMAPOLICY
+
+[Service]
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+Type=oneshot