4 TEST_DESCRIPTION
="test MUMAPolicy= and NUMAMask= options"
6 QEMU_OPTIONS
="-numa node,nodeid=0"
8 .
$TEST_BASE_DIR/test-functions
12 mkdir
-p $TESTDIR/root
13 mount
${LOOPDEV}p1
$TESTDIR/root
17 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
19 setup_basic_environment
22 # mask some services that we do not want to run in these tests
23 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-hwdb-update.service
24 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-journal-catalog-update.service
25 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-networkd.service
26 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-networkd.socket
27 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-resolved.service
28 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-machined.service
30 # setup the testsuite service
31 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
33 Description=Testsuite service
36 ExecStart=/bin/bash -x /testsuite.sh
42 cp testsuite.sh
$initdir/
48 ddebug
"umount $TESTDIR/root"