| /netbsd-src/tests/bin/sh/ |
| H A D | t_syntax.sh | 52 atf_check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \ 54 atf_check -s exit:0 -o 'inline:2\n' -e empty ${TEST_SH} -c \ 56 atf_check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \ 58 atf_check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \ 61 atf_check -s exit:0 -o 'inline:3\n' -e empty ${TEST_SH} -c \ 63 atf_check -s exit:0 -o 'inline:1\n' -e empty ${TEST_SH} -c \ 65 atf_check -s exit:0 -o 'inline:1\n' -e empty ${TEST_SH} -c \ 67 atf_check -s exit:0 -o 'inline:1\n' -e empty ${TEST_SH} -c \ 69 atf_check -s exit:0 -o 'inline:2\n' -e empty ${TEST_SH} -c \ 79 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c '#' [all …]
|
| 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 …]
|
| H A D | t_builtins.sh | 222 atf_check -s exit:0 -e empty -o empty ${TEST_SH} -c ":" 227 atf_check -s not-exit:0 -e not-empty -o empty ${TEST_SH} -c \ 229 atf_check -s exit:0 -e empty -o inline:OK ${TEST_SH} -c \ 307 atf_check -s exit:0 -e empty -o empty ${TEST_SH} -c 'eval "exit 0"' 308 atf_check -s exit:1 -e empty -o empty ${TEST_SH} -c 'eval "exit 1"' 309 atf_check -s exit:0 -e empty -o empty ${TEST_SH} -c 'eval exit 0' 310 atf_check -s exit:1 -e empty -o empty ${TEST_SH} -c 'eval exit 1' 312 atf_check -s exit:0 -e empty -o inline:0 ${TEST_SH} -c \ 314 atf_check -s exit:0 -e empty -o inline:1 ${TEST_SH} -c \ 317 atf_check -s exit:0 -e empty -o inline:abc ${TEST_SH} -c \ [all …]
|
| H A D | t_redir.sh | 45 atf_check -s exit:0 -o empty -e empty ${TEST_SH} || 49 atf_check -s exit:0 -o match:0 -e empty ${TEST_SH} -c 'wc -l' || 55 atf_check -s exit:0 -o match:hello -e empty ${TEST_SH} || 60 atf_check -s exit:0 -o match:1 -e empty ${TEST_SH} -c 'wc -l' || 67 atf_check -s exit:0 -o match:helloworld -e empty ${TEST_SH} || 73 atf_check -s exit:0 -o match:2 -e empty ${TEST_SH} -c 'wc -l' || 77 atf_check -s exit:0 -o inline:'Line1\nLine2\nLine3\n' -e empty \ 92 -o match:X=X -o match:'Y=\$4' -e empty ${TEST_SH} || 98 atf_check -s exit:1 -o empty -e empty ${TEST_SH} && 113 atf_check -s exit:0 -e empty \ [all …]
|
| H A D | t_redircloexec.sh | 58 atf_check -s exit:0 -o empty -e not-empty ${TEST_SH} ./exec1 59 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -e ./exec1 64 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} ./exec1 70 atf_check -s not-exit:0 -o match:OKOK -o not-match:ERR -e not-empty \ 77 atf_check -s exit:0 -o match:OKOKERR -e not-empty \ 92 atf_check -s exit:0 -o empty -e empty ${TEST_SH} ./exec1 93 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -e ./exec1 98 atf_check -s exit:0 -o empty -e empty ${TEST_SH} ./exec1 104 atf_check -s exit:0 -o match:OKOKOK -e empty \ 111 atf_check -s exit:0 -o match:OKOKOK -e empty \ [all …]
|
| H A D | t_expand.sh | 55 atf_check -s exit:0 -o inline:' EOL\n' -e empty \ 59 atf_check -s exit:0 -o inline:' EOL\n' -e empty \ 62 atf_check -s exit:0 -o inline:'0\n' -e empty ${TEST_SH} -c \ 74 atf_check -s exit:0 -o inline:'a\na\nb\nb\n' -e empty \ 76 atf_check -s exit:0 -o inline:'a\na\nb\nb\n' -e empty \ 78 atf_check -s exit:0 -o inline:'a a\nb b\n' -e empty \ 80 atf_check -s exit:0 -o inline:'a a\nb b\n' -e empty \ 84 atf_check -s exit:0 -o inline:'a a\nb b\n' -e empty \ 130 atf_check -s exit:0 -o inline:'\n' -e empty ${TEST_SH} -c \ 132 atf_check -s exit:0 -o inline:'\n' -e empty ${TEST_SH} -c \ [all …]
|
| H A D | t_option.sh | 55 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \ 125 atf_check -s exit:1 -o empty -e empty ${TEST_SH} -ce \ 129 atf_check -s exit:0 -o match:VAR=value -e empty ${TEST_SH} -ce \ 153 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \ 163 atf_check -s exit:0 -o empty -e not-empty ${TEST_SH} -c \ 173 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \ 183 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \ 191 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \ 210 atf_check -s exit:0 -o match:I_am_OK -e empty \ 215 atf_check -s not-exit:0 -o match:I_am -o not-match:Broken -e empty \ [all …]
|
| H A D | t_varval.sh | 89 atf_check -s exit:0 -o inline:'13:prefixAsuffix\n' -e empty \ 94 atf_check -s exit:0 -o inline:'13:prefixsuffix\n' -e empty \ 99 atf_check -s exit:0 -o inline:'13:prefix\nsuffix\n' -e empty \ 105 atf_check -s exit:0 -o empty -e empty ${TEST_SH} || 127 atf_check -s exit:0 -o save:results -e empty ${TEST_SH} || 145 atf_check -s exit:0 -o save:results -e empty ${TEST_SH} || 175 atf_check -s exit:0 -o empty -e empty ${TEST_SH} || 183 atf_check -s exit:0 -o empty -e empty rm "prefix/suffix" 184 atf_check -s exit:0 -o empty -e empty rmdir "prefix" 191 atf_check -s exit:0 -o empty -e empty rm "prefix${nl}suffix" [all …]
|
| /netbsd-src/tests/fs/tmpfs/ |
| H A D | t_rename.sh | 41 atf_check -s exit:0 -o empty -e empty mkdir a 42 atf_check -s exit:1 -o empty -e ignore mv a/. c 43 atf_check -s exit:1 -o empty -e ignore mv a/.. c 44 atf_check -s exit:0 -o empty -e empty rmdir a 57 atf_check -s exit:0 -o empty -e empty mkdir a 58 atf_check -s exit:1 -o empty -e save:stderr \ 60 atf_check -s exit:0 -o ignore -e empty grep "Cross-device link" stderr 61 atf_check -s exit:0 -o empty -e empty test -d a 62 atf_check -s exit:0 -o empty -e empty rmdir a 75 atf_check -s exit:0 -o empty -e empty mkdir a [all …]
|
| H A D | t_rmdir.sh | 41 atf_check -s exit:1 -o empty -e ignore rmdir ${Mount_Point} 55 atf_check -s exit:1 -o empty -e ignore rmdir non-existent 68 atf_check -s exit:0 -o empty -e empty mkdir a 72 atf_check -s exit:0 -o empty -e empty rmdir a 88 atf_check -s exit:0 -o empty -e empty mkdir -p a/b/c 89 atf_check -s exit:0 -o empty -e empty rmdir a/b/c 90 atf_check -s exit:0 -o empty -e empty rmdir a/b 91 atf_check -s exit:0 -o empty -e empty rmdir a 104 atf_check -s exit:0 -o empty -e empty mkdir a 105 atf_check -s exit:1 -o empty -e ignore rmdir a/. [all …]
|
| H A D | t_symlink.sh | 40 atf_check -s exit:0 -o empty -e empty touch a 41 atf_check -s exit:0 -o empty -e empty ln -s a b 45 atf_check -s exit:0 -o empty -e empty -x 'echo foo >a' 61 atf_check -s exit:0 -o empty -e empty touch b 62 atf_check -s exit:0 -o empty -e empty ln -s /bin/cp cp 63 atf_check -s exit:0 -o empty -e empty ./cp b c 64 atf_check -s exit:0 -o empty -e empty test -f c 77 atf_check -s exit:0 -o empty -e empty mkdir d 78 atf_check -s exit:1 -o empty -e empty test -f d/foo 79 atf_check -s exit:1 -o empty -e empty test -f e/foo [all …]
|
| H A D | t_readdir.sh | 41 atf_check -s exit:0 -o save:stdout -e empty /bin/ls -a 42 atf_check -s exit:0 -o ignore -e empty grep '^\.$' stdout 43 atf_check -s exit:0 -o ignore -e empty grep '^\..$' stdout 57 atf_check -s exit:0 -o empty -e empty mkdir dir 58 atf_check -s exit:0 -o empty -e empty touch reg 59 atf_check -s exit:0 -o empty -e empty ln -s reg lnk 60 atf_check -s exit:0 -o empty -e empty mknod blk b 0 0 61 atf_check -s exit:0 -o empty -e empty mknod chr c 0 0 62 atf_check -s exit:0 -o empty -e empty mknod fifo p 63 atf_check -s exit:0 -o empty -e empty \ [all …]
|
| H A D | t_remove.sh | 40 atf_check -s exit:1 -o empty -e empty test -f a 41 atf_check -s exit:0 -o empty -e empty touch a 42 atf_check -s exit:0 -o empty -e empty test -f a 43 atf_check -s exit:0 -o empty -e empty rm a 44 atf_check -s exit:1 -o empty -e empty test -f a 58 atf_check -s exit:0 -o empty -e empty touch a 59 atf_check -s exit:0 -o empty -e empty chflags uchg a 60 atf_check -s exit:1 -o empty -e ignore rm -f a 61 atf_check -s exit:0 -o empty -e empty chflags nouchg a 62 atf_check -s exit:0 -o empty -e empty rm a [all …]
|
| H A D | t_mkdir.sh | 42 atf_check -s exit:1 -o empty -e empty test -d a 43 atf_check -s exit:0 -o empty -e empty mkdir a 44 atf_check -s exit:0 -o empty -e empty test -d a 62 atf_check -s exit:1 -o empty -e empty test -d ${d} 63 atf_check -s exit:0 -o empty -e empty mkdir ${d} 64 atf_check -s exit:0 -o empty -e empty test -d ${d} 80 atf_check -s exit:1 -o empty -e empty test -d a/b/c/d/e 81 atf_check -s exit:0 -o empty -e empty mkdir -p a/b/c/d/e 82 atf_check -s exit:0 -o empty -e empty test -d a/b/c/d/e 101 atf_check -s exit:0 -o empty -e empty mkdir b c [all …]
|
| H A D | t_link.sh | 41 atf_check -s exit:0 -o empty -e empty touch a 42 atf_check -s exit:0 -o empty -e empty touch z 48 atf_check -s exit:0 -o empty -e empty ln a b 58 atf_check -s exit:0 -o empty -e empty rm a 61 atf_check -s exit:0 -o empty -e empty rm b 75 atf_check -s exit:0 -o empty -e empty touch a 76 atf_check -s exit:0 -o empty -e empty mkdir c 77 atf_check -s exit:0 -o empty -e empty ln a c/b 87 atf_check -s exit:0 -o empty -e empty rm a 90 atf_check -s exit:0 -o empty -e empty rm c/b [all …]
|
| H A D | t_setattr.sh | 41 atf_check -s exit:0 -o empty -e empty mkdir own 43 atf_check -s exit:0 -o empty -e empty chown 1234 own 60 atf_check -s exit:0 -o empty -e empty mkdir ownq 75 atf_check -s exit:0 -o empty -e empty mkdir grp 77 atf_check -s exit:0 -o empty -e empty chgrp 5678 grp 94 atf_check -s exit:0 -o empty -e empty mkdir grpq 110 atf_check -s exit:0 -o empty -e empty mkdir owngrp 111 atf_check -s exit:0 -o empty -e empty chown 1234:5678 owngrp 128 atf_check -s exit:0 -o empty -e empty mkdir owngrpp 143 atf_check -s exit:0 -o empty -e empty mkdir mode [all …]
|
| H A D | t_create.sh | 40 atf_check -s exit:1 -o empty -e empty test -f a 41 atf_check -s exit:0 -o empty -e empty touch a 42 atf_check -s exit:0 -o empty -e empty test -f a 62 atf_check -s exit:1 -o empty -e empty test -f a 63 atf_check -s exit:0 -o empty -e empty touch a 64 atf_check -s exit:0 -o empty -e empty test -f a 74 atf_check -s exit:0 -o empty -e empty mkdir b c 76 atf_check -s exit:0 -o empty -e empty chown ${user}:0 b 81 atf_check -s exit:0 -o empty -e empty chown ${user}:100 c 86 atf_check -s exit:0 -o empty -e empty su -m ${user} -c 'touch b/a' [all …]
|
| /netbsd-src/tests/usr.bin/id/ |
| H A D | t_id.sh | 45 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh 46 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh 100 47 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh test 50 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh 0 51 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh root 55 atf_check -s exit:0 -o file:expout -e empty ./run_id.sh 59 atf_check -s exit:1 -o empty -e file:experr ./run_id.sh nonexistent 61 atf_check -s exit:1 -o empty -e save:stderr ./run_id.sh root nonexistent 62 atf_check -s exit:0 -o ignore -e empty grep ^usage: stderr 76 atf_check -s exit:1 -o empty -e save:stderr \ [all …]
|
| /netbsd-src/tests/bin/sleep/ |
| H A D | t_sleep.sh | 39 atf_check -s exit:0 -o empty -e empty -x "sleep 0.1" 40 atf_check -s exit:0 -o empty -e empty -x "sleep 0.2" 41 atf_check -s exit:0 -o empty -e empty -x "sleep 0.3" 45 atf_check -s exit:0 -o empty -e empty -x "LC_ALL=ru_RU.UTF-8 sleep 0.2" 48 atf_check -s exit:0 -o empty -e empty -x "LC_ALL=ru_RU.UTF-8 sleep 0,2" 58 atf_check -s exit:0 -o empty -e empty -x "sleep 0x01" 59 atf_check -s exit:0 -o empty -e empty -x "sleep 0x0.F" 60 atf_check -s exit:0 -o empty -e empty -x "sleep 0x.B" 71 atf_check -s not-exit:0 -o empty -e not-empty -x "sleep xyz" 72 atf_check -s not-exit:0 -o empty -e not-empty -x "sleep x21" [all …]
|
| /netbsd-src/external/bsd/atf/dist/tools/ |
| H A D | atf-config_test.sh | 55 atf_check -s eq:0 -o save:stdout -e empty atf-config 56 atf_check -s eq:0 -o empty -e empty \ 59 atf_check -s eq:0 -o ignore -e empty grep "${v}" stdout 71 atf_check -s eq:0 -o save:stdout -o match:"${v}" -e empty \ 73 atf_check -s eq:0 -o empty -e empty \ 87 atf_check -s eq:0 -o save:stdout -o match:"${v}" -e empty \ 89 atf_check -s eq:0 -o empty -e empty \ 91 atf_check -s eq:0 -o save:stdout -e empty cut -d ' ' -f 3- stdout 92 atf_check -s eq:0 -o empty -e empty mv stdout expout 93 atf_check -s eq:0 -o file:expout -e empty atf-config -t "${v}" [all …]
|
| /netbsd-src/tests/modules/ |
| H A D | t_modload.sh | 30 atf_check -s exit:0 -o file:expout -e empty sysctl ${1} 52 atf_check -s exit:1 -o empty -e ignore modload non-existent.o 54 atf_check -s exit:0 -o empty -e empty \ 59 atf_check -s exit:0 -o empty -e empty modunload k_helper 74 atf_check -s exit:1 -o empty -e save:stderr \ 76 atf_check -s exit:0 -o ignore -e empty \ 79 atf_check -s exit:1 -o empty -e save:stderr \ 81 atf_check -s exit:0 -o ignore -e empty \ 84 atf_check -s exit:1 -o empty -e save:stderr \ 86 atf_check -s exit:0 -o ignore -e empty \ [all …]
|
| /netbsd-src/usr.bin/make/unit-tests/ |
| H A D | cond-func-empty.mk | 1 # $NetBSD: cond-func-empty.mk,v 1.28 2025/01/11 20:54:45 rillig Exp $ 3 # Tests for the empty() function in .if conditions, which tests an 11 EMPTY= # empty 16 # An undefined variable counts as empty. 17 .if !empty(UNDEF) 21 # An undefined variable has the empty string as the value, and the :M 24 .if !empty(UNDEF:M*) 28 # The :S modifier replaces the empty value with an actual word. After 29 # applying the :S modifier to the expression, its value is 'empty', so it is 30 # no longer empty, bu 112 .if empty( ) global() function [all...] |
| /netbsd-src/tests/fs/psshfs/ |
| H A D | t_psshfs.sh | 75 atf_check -s exit:0 -o empty -e empty cp /usr/libexec/sftp-server . 76 atf_check -s exit:0 -o empty -e empty \ 78 atf_check -s exit:0 -o empty -e empty \ 80 atf_check -s exit:0 -o empty -e empty chmod 400 ssh_host_key 81 atf_check -s exit:0 -o empty -e empty chmod 444 ssh_host_key.pub 90 atf_check -s exit:0 -o empty -e empty \ 92 atf_check -s exit:0 -o empty -e empty \ 97 atf_check -s exit:0 -o empty -e empty chmod 600 authorized_keys 122 atf_check -s exit:0 -o empty -e empty \ 162 atf_check -s exit:0 -o empty -e empty \ [all …]
|
| /netbsd-src/external/mit/isl/dist/ |
| H A D | isl_map_lexopt_templ.c | 33 __isl_give isl_set **empty, unsigned flags) in SF() 35 return SF(isl_tab_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, in SF() 41 __isl_give isl_set **empty) in SF() 44 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF() 49 __isl_give isl_set **empty) in SF() 52 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF() 57 __isl_give isl_set **empty) in SF() 59 return SF(isl_basic_map_partial_lexmin,SUFFIX)(bset, dom, empty); in SF() 64 __isl_give isl_set **empty) in SF() 66 return SF(isl_basic_map_partial_lexmax,SUFFIX)(bset, dom, empty); in SF() [all …]
|
| /netbsd-src/tests/usr.bin/cmp/ |
| H A D | t_cmp.sh | 41 atf_check -s not-exit:0 -o empty -e empty -x "cmp -s a x" 42 atf_check -s not-exit:0 -o empty -e empty -x "cmp -s x a" 43 atf_check -s not-exit:0 -o empty -e empty -x "cmp -s x y" 44 atf_check -s not-exit:0 -o empty -e empty -x "cmp -s y x" 58 atf_check -s exit:0 -o empty -e empty -x "cmp a b '10'" 59 atf_check -s exit:0 -o empty -e empty -x "cmp a b '0xa'" 60 atf_check -s exit:1 -o not-empty -e empty -x "cmp a b '9'"
|