/freebsd/contrib/netbsd-tests/bin/sh/ |
H A D | t_arith.sh | 116 atf_check -s exit:0 -o inline:'1\n' -e empty ${TEST_SH} -c \ 118 atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \ 120 atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \ 124 atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \ 128 atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \ 131 atf_check -s exit:0 -o inline:'1\n' -e empty \ 133 atf_check -s exit:0 -o inline:'0\n' -e empty \ 136 atf_check -s exit:0 -o inline:'99999\n' -e empty \ 140 atf_check -s exit:0 -o inline:'9191919191919\n' -e empty \ 143 atf_check -s exit:0 -o inline:'13\n' -e empty ${TEST_SH} -c \ [all …]
|
/freebsd/contrib/netbsd-tests/usr.bin/tr/ |
H A D | t_basic.sh | 40 atf_check -o inline:'abcde\n' -x 'echo abcde | tr -d x' 41 atf_check -o inline:'abde\n' -x 'echo abcde | tr -d c' 42 atf_check -o inline:'ace\n' -x 'echo abcde | tr -d bd' 43 atf_check -o inline:'ae\n' -x 'echo abcde | tr -d b-d' 44 atf_check -o inline:'b\n' -x 'echo abcde | tr -d ac-e' 45 atf_check -o inline:'d\n' -x 'echo abcde | tr -d a-ce' 46 atf_check -o inline:'aei\n' -x 'echo abcdefghi | tr -d b-df-h' 48 atf_check -o inline:'' -x 'echo abcde | tr -c -d x' 49 atf_check -o inline:'c' -x 'echo abcde | tr -c -d c' 50 atf_check -o inline:'bd' -x 'echo abcde | tr -c -d bd' [all …]
|
/freebsd/contrib/netbsd-tests/net/if/ |
H A D | t_ifconfig.sh | 50 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER1} 55 atf_check -s exit:0 rump.ifconfig shmif0 create 56 atf_check -s exit:0 rump.ifconfig shmif0 destroy 59 atf_check -s exit:0 rump.ifconfig shmif0 create 60 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus 61 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24 62 atf_check -s exit:0 rump.ifconfig shmif0 up 63 atf_check -s exit:0 rump.ifconfig shmif0 destroy 66 atf_check -s exit:0 rump.ifconfig shmif0 create 67 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus [all …]
|
/freebsd/contrib/netbsd-tests/usr.bin/grep/ |
H A D | t_grep.sh | 35 atf_check -o file:"$(atf_get_srcdir)/d_basic.out" -x \ 48 atf_check -o file:"$(atf_get_srcdir)/d_binary.out" grep foobar test.file 62 atf_check -o file:"$(atf_get_srcdir)/d_recurse.out" -x "grep -r haddock recurse | sort" 82 atf_check -o file:"$(atf_get_srcdir)/d_recurse_symlink.out" \ 94 atf_check -o file:"$(atf_get_srcdir)/d_word_regexps.out" \ 100 atf_check -o inline:"pmatch\n" grep -Eow "(match )?pmatch" test1 111 atf_check -o file:"$(atf_get_srcdir)/d_begin_end_a.out" \ 114 atf_check -o file:"$(atf_get_srcdir)/d_begin_end_b.out" \ 125 atf_check -o file:"$(atf_get_srcdir)/d_ignore_case.out" \ 136 atf_check [all...] |
/freebsd/usr.bin/diff/tests/ |
H A D | diff_test.sh | 29 atf_check -o file:$(atf_get_srcdir)/simple.out -s eq:1 \ 32 atf_check -o file:$(atf_get_srcdir)/simple_e.out -s eq:1 \ 35 atf_check -o file:$(atf_get_srcdir)/simple_u.out -s eq:1 \ 38 atf_check -o file:$(atf_get_srcdir)/simple_n.out -s eq:1 \ 41 …atf_check -o inline:"Files $(atf_get_srcdir)/input1.in and $(atf_get_srcdir)/input2.in differ\n" -… 44 atf_check \ 47 atf_check -o file:$(atf_get_srcdir)/simple_i.out -s eq:1 \ 50 atf_check -o file:$(atf_get_srcdir)/simple_w.out -s eq:1 \ 53 atf_check -o file:$(atf_get_srcdir)/simple_b.out -s eq:1 \ 56 atf_check -o file:$(atf_get_srcdir)/simple_p.out -s eq:1 \ [all …]
|
/freebsd/usr.sbin/pw/tests/ |
H A D | pw_usermod_test.sh | 10 atf_check -s exit:67 -e match:"no such user" ${PW} usermod test 11 atf_check -s exit:0 ${PW} useradd test 12 atf_check -s exit:0 ${PW} usermod test 13 atf_check -s exit:0 -o match:"^test:.*" \ 22 atf_check -s exit:67 -e match:"no such user" ${PW} usermod test -N 23 atf_check -s exit:0 ${PW} useradd test 24 atf_check -s exit:0 -o match:"^test:.*" ${PW} usermod test -N 25 atf_check -s exit:0 -o match:"^test:.*" \ 34 atf_check -s exit:0 ${PW} useradd test -c "Test User,home,123,456" 35 atf_check -s exit:0 ${PW} usermod test -c "Test User,work,123,456" [all …]
|
H A D | pw_useradd_test.sh | 10 atf_check -s exit:0 ${PW} useradd test 11 atf_check -s exit:0 -o match:"^test:.*" \ 20 atf_check -s exit:0 -o match:"^test:.*" ${PW} useradd test -N 21 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd 29 atf_check -s exit:0 ${PW} useradd test -c 'Test User,work!,123,user@example.com' 30 atf_check -s exit:0 -o match:'^test:.*:Test User,work!,123,user@example.com:' \ 39 atf_check -s exit:0 -o match:"^test:.*:Test User,work,123,456:" \ 41 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd 49 atf_check -s exit:65 -e match:"invalid character" \ 51 atf_check [all...] |
H A D | pw_groupmod_test.sh | 10 atf_check -s exit:0 ${PW} addgroup test 11 atf_check -s exit:0 ${PW} groupmod test -m root 12 atf_check -s exit:0 -o match:"^test:\*:1001:root$" \ 14 atf_check -s exit:0 ${PW} groupmod test -d root 15 atf_check -s exit:0 -o match:"^test:\*:1001:$" \ 24 atf_check -s exit:0 ${PW} addgroup test 25 atf_check -s exit:67 -e match:"does not exist" ${PW} groupmod test -m foo 26 atf_check -s exit:0 ${PW} groupmod test -d foo 35 atf_check -s exit:0 -x ${PW} groupadd test 36 atf_check -s exit:0 -x ${PW} groupmod test -l newgroupname [all …]
|
/freebsd/usr.sbin/chown/tests/ |
H A D | chown_test.sh | 44 atf_check mkdir -p A/B 45 atf_check ln -s B A/C 46 atf_check chown -h 42:42 A/C 47 atf_check -o inline:'0:0\n0:0\n42:42\n' stat -f '%u:%g' A A/B A/C 48 atf_check chown -RH 84:84 A 49 atf_check -o inline:'84:84\n84:84\n84:84\n' stat -f '%u:%g' A A/B A/C 50 atf_check chown -RH 126:126 A/C 51 atf_check -o inline:'84:84\n126:126\n84:84\n' stat -f '%u:%g' A A/B A/C 64 atf_check mkdir -p A/B 65 atf_check ln -s B A/C [all …]
|
/freebsd/tests/sys/geom/class/eli/ |
H A D | online_resize_test.sh | 48 atf_check -s exit:0 -o ignore gpart create -s GPT ${md} 49 atf_check -s exit:0 -o ignore gpart add -t freebsd-ufs -s 10${prefix} ${md} 53 atf_check geli init ${aalgo} -s ${sector} -Bnone -PKtmp.key ${md}p1 55 atf_check -s exit:0 -o match:"flags: ${eflags}$" geli dump ${md}p1 57 atf_check geli configure -R ${md}p1 58 atf_check -s exit:0 -o match:"flags: ${dflags}$" geli dump ${md}p1 59 atf_check geli configure -r ${md}p1 60 atf_check -s exit:0 -o match:"flags: ${eflags}$" geli dump ${md}p1 62 atf_check geli init -R ${aalgo} -s ${sector} -Bnone -PKtmp.key ${md}p1 63 atf_check -s exit:0 -o match:"flags: ${dflags}$" geli dump ${md}p1 [all …]
|
/freebsd/contrib/netbsd-tests/usr.bin/id/ |
H A D | t_id.sh | 45 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 46 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 100 47 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh test 50 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 0 51 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh root 55 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 59 atf_check -s eq:1 -o empty -e file:experr ./run_id.sh nonexistent 61 atf_check -s eq:1 -o empty -e save:stderr ./run_id.sh root nonexistent 62 atf_check -s eq:0 -o ignore -e empty grep ^usage: stderr 76 atf_check -s eq:1 -o empty -e save:stderr \ [all …]
|
/freebsd/contrib/netbsd-tests/net/mpls/ |
H A D | t_ldp_regen.sh | 59 RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \ 61 RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \ 67 RUMP_SERVER=${RUMP_SERVER1} atf_check -s exit:0 -o ignore -e ignore \ 76 atf_check -s exit:0 rump_server ${RUMP_LIBS} ${RUMP_SERVER1} 77 atf_check -s exit:0 rump_server ${RUMP_LIBS} ${RUMP_SERVER2} 78 atf_check -s exit:0 rump_server ${RUMP_LIBS} ${RUMP_SERVER3} 79 atf_check -s exit:0 rump_server ${RUMP_LIBS} ${RUMP_SERVER4} 87 atf_check -s exit:0 rump.ifconfig shmif0 create 88 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1 89 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24 [all …]
|
H A D | t_mpls_fw64.sh | 57 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER1} 58 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER2} 59 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER3} 60 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER4} 68 atf_check -s exit:0 rump.ifconfig shmif0 create 69 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1 70 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::1/64 alias 71 atf_check -s exit:0 rump.ifconfig mpls0 create up 72 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 73 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0 [all …]
|
H A D | t_mpls_fw.sh | 60 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER1} 61 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER2} 62 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER3} 63 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER4} 71 atf_check -s exit:0 rump.ifconfig shmif0 create 72 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1 73 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24 74 atf_check -s exit:0 rump.ifconfig mpls0 create up 75 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 76 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0 [all …]
|
H A D | t_rfc4182.sh | 62 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER1} 63 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER2} 64 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER3} 65 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER4} 73 atf_check -s exit:0 rump.ifconfig shmif0 create 74 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1 75 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24 76 atf_check -s exit:0 rump.ifconfig mpls0 create up 77 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 78 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0 [all …]
|
H A D | t_mpls_fw6.sh | 61 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER1} 62 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER2} 63 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER3} 64 atf_check -s exit:0 rump_server ${RUMP_FLAGS6} ${RUMP_SERVER4} 72 atf_check -s exit:0 rump.ifconfig shmif0 create 73 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1 74 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::1/64 alias 75 atf_check -s exit:0 rump.ifconfig mpls0 create up 76 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 77 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0 [all …]
|
/freebsd/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_rename.sh | 41 atf_check -s eq:0 -o empty -e empty mkdir a 42 atf_check -s eq:1 -o empty -e ignore mv a/. c 43 atf_check -s eq:1 -o empty -e ignore mv a/.. c 44 atf_check -s eq:0 -o empty -e empty rmdir a 57 atf_check -s eq:0 -o empty -e empty mkdir a 58 atf_check -s eq:1 -o empty -e save:stderr \ 60 atf_check -s eq:0 -o ignore -e empty grep "Cross-device link" stderr 61 atf_check -s eq:0 -o empty -e empty test -d a 62 atf_check -s eq:0 -o empty -e empty rmdir a 75 atf_check -s eq:0 -o empty -e empty mkdir a [all …]
|
/freebsd/sbin/bectl/tests/ |
H A D | bectl_test.sh | 48 atf_check test -n "$zpool" 58 atf_check mkdir -p ${mnt} 59 atf_check truncate -s 1G ${disk} 60 atf_check zpool create -R ${mnt} ${zpool} ${disk} 61 atf_check zfs create -o mountpoint=none ${zpool}/ROOT 62 atf_check zfs create -o mountpoint=/ -o canmount=noauto \ 72 atf_check test -n "$zpool" 75 atf_check mkdir -p ${root} 76 atf_check -o ignore bectl -r ${zpool}/ROOT mount default ${root} 77 atf_check mkdir -p ${root}/usr [all …]
|
/freebsd/bin/chmod/tests/ |
H A D | chmod_test.sh | 43 atf_check mkdir -m 0777 -p A/B 44 atf_check ln -s B A/C 45 atf_check chmod -h 0777 A/C 46 atf_check -o inline:'40755\n40777\n120777\n' stat -f '%p' A A/B A/C 47 atf_check chmod -RH 0700 A 48 atf_check -o inline:'40700\n40700\n120700\n' stat -f '%p' A A/B A/C 49 atf_check chmod -RH 0600 A/C 50 atf_check -o inline:'40700\n40600\n120700\n' stat -f '%p' A A/B A/C 62 atf_check mkdir -m 0777 -p A/B 63 atf_check ln -s B A/C [all …]
|
/freebsd/contrib/netbsd-tests/net/arp/ |
H A D | t_arp.sh | 108 atf_check -s exit:0 rump.ifconfig shmif0 inet $IP4DST/24 109 atf_check -s exit:0 rump.ifconfig shmif0 up 110 atf_check -s exit:0 rump.ifconfig -w 10 123 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.arp.keep=$keep 127 atf_check -s exit:0 rump.ifconfig shmif0 inet $IP4SRC/24 128 atf_check -s exit:0 rump.ifconfig shmif0 up 129 atf_check -s exit:0 rump.ifconfig -w 10 134 atf_check -s exit:0 -o ignore rump.arp -n $IP4SRC 135 atf_check -s not-exit:0 -e ignore rump.arp -n $IP4DST 153 atf_check -s exit:0 -o ignore rump.ping -n -w $TIMEOUT -c 1 $IP4DST [all …]
|
/freebsd/usr.bin/touch/tests/ |
H A D | touch_test.sh | 12 atf_check -o inline:"$((mtime))\n" stat -f%m "$filename" 22 atf_check -s exit:1 -e match:"^usage" touch 32 atf_check touch foo 33 atf_check test -f foo 43 atf_check touch foo bar baz 44 atf_check test -f foo -a -f bar -a -f baz 54 atf_check touch -t 7001010101 foo 56 atf_check rm foo 58 atf_check touch -t 7001010101.01 foo 60 atf_check rm foo [all …]
|
/freebsd/usr.sbin/extattr/tests/ |
H A D | extattr_test.sh | 34 atf_check -s not-exit:0 -e match:"Invalid argument" \ 36 atf_check -s not-exit:0 -e match:"Invalid argument" \ 47 atf_check -s exit:0 -o empty setextattr user myattr XYZ foo 48 atf_check -s exit:0 -o inline:"58 59 5a\n" \ 60 atf_check -s exit:0 -o empty setextattr user myattr "$BINSTUFF" foo 62 atf_check -s exit:0 -o inline:"20 30 40 55 66 70 81 a2 b3 ee ff\n" \ 79 atf_check -s exit:0 -o empty setextattr user $ATTRNAME myvalue foo 80 atf_check -s exit:0 -o inline:"${ATTRNAME}\n" lsextattr -q user foo 81 atf_check -s exit:0 -o inline:"myvalue\n" \ 83 atf_check -s exit:0 -o empty rmextattr user ${ATTRNAME} foo [all …]
|
/freebsd/contrib/netbsd-tests/net/net/ |
H A D | t_ipv6address.sh | 52 atf_check -s exit:0 ${SERVER6} ${SOCKSRC} 53 atf_check -s exit:0 ${SERVER6} ${SOCKFWD} 54 atf_check -s exit:0 ${SERVER6} ${SOCKDST} 57 atf_check -s exit:0 rump.ifconfig shmif0 create 58 atf_check -s exit:0 rump.ifconfig shmif1 create 62 atf_check -s exit:0 rump.ifconfig shmif0 create 63 atf_check -s exit:0 rump.ifconfig shmif1 create 67 atf_check -s exit:0 rump.ifconfig shmif0 create 68 atf_check -s exit:0 rump.ifconfig shmif1 create 69 atf_check -s exit:0 -o match:"0 -> 1" rump.sysctl \ [all …]
|
/freebsd/contrib/netbsd-tests/net/if_pppoe/ |
H A D | t_pppoe.sh | 56 atf_check -s exit:0 ${server} $SERVER 57 atf_check -s exit:0 ${server} $CLIENT 60 atf_check -s exit:0 rump.ifconfig shmif0 create 61 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS 62 atf_check -s exit:0 rump.ifconfig shmif0 up 64 atf_check -s exit:0 rump.ifconfig pppoe0 create 65 $inet && atf_check -s exit:0 rump.ifconfig pppoe0 \ 67 atf_check -s exit:0 rump.ifconfig pppoe0 link0 72 atf_check -s exit:0 -x "$HIJACKING pppoectl -e shmif0 pppoe0" 76 atf_check -s exit:0 rump.ifconfig shmif0 create [all …]
|
/freebsd/contrib/netbsd-tests/net/if_tap/ |
H A D | t_tap.sh | 57 atf_check -s exit:0 rump.ifconfig tap0 create 58 atf_check -s exit:0 rump.ifconfig tap0 destroy 61 atf_check -s exit:0 rump.ifconfig tap0 create 62 atf_check -s exit:0 rump.ifconfig tap0 $IP4_TAP 63 atf_check -s exit:0 rump.ifconfig tap0 up 64 atf_check -s exit:0 rump.ifconfig tap0 destroy 67 atf_check -s exit:0 rump.ifconfig tap0 create 68 atf_check -s exit:0 rump.ifconfig tap0 inet6 $IP6_TAP 69 atf_check -s exit:0 rump.ifconfig tap0 up 70 atf_check -s exit:0 rump.ifconfig tap0 destroy [all …]
|