3 TEST_DESCRIPTION
="Resource limits-related tests"
5 .
$TEST_BASE_DIR/test-functions
8 create_empty_image_rootdir
10 # Create what will eventually be our root filesystem onto an overlay
13 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
15 setup_basic_environment
16 mask_supporting_services
18 cat >$initdir/etc
/systemd
/system.conf
<<EOF
20 DefaultLimitNOFILE=10000:16384
23 # setup the testsuite service
24 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
26 Description=Testsuite service
29 ExecStart=/test-rlimits.sh
33 cp test-rlimits.sh
$initdir/