4 TEST_DESCRIPTION
="test MUMAPolicy= and NUMAMask= options"
6 QEMU_OPTIONS
="-numa node,nodeid=0"
8 .
$TEST_BASE_DIR/test-functions
11 create_empty_image_rootdir
15 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
17 setup_basic_environment
20 # mask some services that we do not want to run in these tests
21 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-hwdb-update.service
22 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-journal-catalog-update.service
23 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-networkd.service
24 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-networkd.socket
25 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-resolved.service
26 ln -fs /dev
/null
$initdir/etc
/systemd
/system
/systemd-machined.service
28 # setup the testsuite service
29 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
31 Description=Testsuite service
34 ExecStart=/bin/bash -x /testsuite.sh
40 cp testsuite.sh
$initdir/