Home
last modified time | relevance | path

Searched refs:testuser (Results 1 – 25 of 209) sorted by relevance

123456789

/freebsd/tools/test/stress2/tools/
H A Dsetup.sh11 read testuser
12 id $testuser > /dev/null 2>&1 ||
13 { echo "User \"$testuser\" not found."; exit 1; }
14 [ $testuser ] || exit 1
15 su $testuser -c 'echo Hello' 2>&1 | grep -qE '^Hello$' ||
16 { echo "User \"$testuser\" not usable."; exit 1; }
27 echo "testuser=$testuser"
/freebsd/tools/test/stress2/misc/
H A Dextattr2.sh74 setfacl -m user:$testuser:rwx,group:$testuser:rwx $RUNDIR
75 su $testuser -c "cd $here/..; ./run.sh marcus.cfg" &
78 while pgrep -U$testuser -q -f run.sh; do
80 xargs -P0 -J% setfacl -m user:$testuser:rwx,group:$testuser:rwx %
H A Dbuildworld3.sh54 ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser
66 su $testuser -c \
78 pkill -U$testuser make
85 pgrep -q -U$testuser make && pkill -U$testuser make
H A Dnullfs8.sh54 su $testuser -c "cp -r /usr/include $mntpoint2/nullfs8-2 2>/dev/null" &
55 su $testuser -c "cp -r /usr/include $mntpoint3/nullfs8-2 2>/dev/null" &
57 su $testuser -c "find $mntpoint2 > /dev/null 2>&1" &
58 su $testuser -c "find $mntpoint3 > /dev/null 2>&1" &
H A Dquota5.sh37 edquota -u -f /tmp -e /tmp:1500000:1400000:200000:180000 $testuser
38 edquota -g -f /tmp -e /tmp:1500000:1400000:200000:180000 $testuser
41 su $testuser -c "export runRUNTIME=60m; cd ../testcases/mkdir; \
H A Dsuj21.sh76 su $testuser -c '/tmp/suj21'
78 su $testuser -c '/tmp/suj21 prune'
80 su $testuser -c '/tmp/suj21'
82 su $testuser -c '/tmp/suj21 prune'
83 su $testuser -c '/tmp/suj21'
H A Dtcp.sh47 n=`su $testuser -c "limits | grep maxprocesses | awk '{print \\$NF}'"`
53 su $testuser -c '(cd ..; ./testcases/run/run $TESTPROGS)' &
56 while pkill -9 -U $testuser "run|tcp"; do
H A Dtcp2.sh46 n=`su $testuser -c "limits | grep maxprocesses | awk '{print \\$NF}'"`
56 su $testuser -c '(cd ..; ./testcases/run/run $TESTPROGS)' &
59 while pkill -9 -U $testuser "run|tcp|swap"; do
H A Dcore4.sh53 su $testuser -c "(cd $mntpoint; /tmp/core4)" &
54 su $testuser -c "(cd $mntpoint; /tmp/core4)" &
55 su $testuser -c "(cd $mntpoint; /tmp/core4)" &
H A Dptrace12.sh51 su $testuser -c 'cd ..; ./run.sh marcus.cfg' &
55 list=`ps -U$testuser | sed 1d | grep -vE "\.sh|run|defunct|swap" | \
72 while pkill -U$testuser; do sleep 2; done
H A Dquota8.sh63 $testuser
69 su $testuser -c 'sh -c "(cd ..;runRUNTIME=20m ./run.sh disk.cfg > \
82 su $testuser -c 'sh -c "../tools/killall.sh"'
H A Dquota9.sh63 chown $testuser $mntpoint/stressX
71 ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser > \
77 su $testuser -c '
H A Dgnop10.sh91 su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' > /dev/null 2>&1 &
97 while pgrep -qU $testuser; do pkill -U $testuser; done
H A Dgnop12.sh68 su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' > /dev/null 2>&1 &
74 while pgrep -qU $testuser; do pkill -U $testuser; done
H A DlibMicro.sh40 [ `id -un` = $testuser ] &&
45 su $testuser -c "$0 x"
H A Dmarcus3.sh46 m=`su $testuser -c "limits | grep maxprocesses | awk '{print \\$NF}'"`
51 timeout 16m su $testuser -c 'cd ..; ./run.sh marcus.cfg'
H A Dnfs.sh47 su $testuser -c "(cd ..; ./run.sh disk.cfg)" 2>/dev/null
48 su $testuser -c "rm -rf $RUNDIR 2>/dev/null"
H A Dlockf4.sh49 su $testuser -c "(cd $mntpoint; /tmp/lockf4)" &
50 su $testuser -c "(cd $mntpoint; /tmp/lockf4)" &
51 su $testuser -c "(cd $mntpoint; /tmp/lockf4)" &
H A Dsuj18.sh54 $testuser
58 su $testuser -c 'sh -c "(cd ..;runRUNTIME=20m ./run.sh disk.cfg > \
H A Dmarcus4.sh50 m=`su $testuser -c "limits | grep maxprocesses | awk '{print \\$NF}'"`
73 su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' &
H A Dsuj31.sh49 su $testuser -c 'cd ..; ./run.sh marcus.cfg' > /dev/null 2>&1
57 su $testuser -c 'cd ..; ./run.sh marcus.cfg' > /dev/null 2>&1
H A Dmarcus2.sh50 m=`su $testuser -c "limits | awk '/maxprocesses/ {print \\$NF}'"`
54 su $testuser -c 'cd ..; ./run.sh marcus.cfg' &
H A Dmarcus5.sh53 m=`su $testuser -c "limits | awk '/maxprocesses/ {print \\$NF}'"`
75 timeout 20m su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS'
/freebsd/usr.sbin/pw/tests/
H A Dpw_groupmod_test.sh47 atf_check -s exit:0 -x ${PW} useradd testuser
50 atf_check -s exit:0 -x ${PW} usermod testuser -G testgroup
51 atf_check -o inline:"testuser:*:1001:\n" -x ${PW} groupshow testuser
54 atf_check -s exit:0 -x ${PW} usermod testuser -G testgroup2
55 atf_check -o inline:"testuser:*:1001:\n" -x ${PW} groupshow testuser
/freebsd/tools/test/stress2/
H A Ddefault.cfg4 # As a minimum you must updated "testuser".
59 export testuser=${testuser:-TBD} # Name of non root test user
121 id $testuser > /dev/null 2>&1 ||
122 { echo "Non-root \$testuser \"$testuser\" not found."; exit 1; }

123456789