Home | History | Annotate | Download | only in sh

Lines Matching refs:TEST_SH

28 : ${TEST_SH:="/bin/sh"}
34 # (though if all pass but the last, it might be a TEST_SH problem.)
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' ||
78 ${TEST_SH} -c 'cat File'
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} &&
115 ${TEST_SH} -c 'cat < File'
118 ${TEST_SH} -c 'cat <File'
121 ${TEST_SH} -c 'cat< File'
124 ${TEST_SH} -c 'cat < "File"'
127 ${TEST_SH} -c '< File cat'
132 ${TEST_SH} -c '< wc cat'
136 ${TEST_SH} -c '< cat wc'
147 ${TEST_SH} ||
158 ${TEST_SH} ||
169 ${TEST_SH} ||
181 ${TEST_SH} ||
192 ${TEST_SH} ||
207 ${TEST_SH} ||
219 ${TEST_SH} ||
234 ${TEST_SH} ||
250 ${TEST_SH} ||
269 i; atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c '> Output'
273 i; atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c '>> Output'
277 i; atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c '>| Output'
283 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c 'echo Hello >Output'
289 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c 'echo Hello>!Output'
295 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c 'echo Bye >>Output'
301 ${TEST_SH} -c \
307 ${TEST_SH} -c 'echo line 1 > Output; echo line 2'
312 ${TEST_SH} -c '(echo line 1; echo line 2 > Out2) > Out1'
319 ${TEST_SH} -c '{ echo line 1; echo line 2 > Out2;} > Out1'
333 atf_check -s exit:0 -o empty -e empty ${TEST_SH} ||
348 atf_check -s exit:0 -o empty -e empty ${TEST_SH} ||
371 i; atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c '<> Output'
377 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
387 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
396 atf_check -s exit:0 -o inline:'data' -e empty ${TEST_SH} -c \
406 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
415 atf_check -s exit:0 -o inline:data -e empty ${TEST_SH} -c \
465 ${TEST_SH} helper.sh 1 2 3 4 5 6 7 8 9
468 ${TEST_SH} reread.sh 3 4 5 6 7 8 9
474 ${TEST_SH} helper.sh 10 15 19 20 25 29
477 ${TEST_SH} reread.sh 10 15 19 20 25 29
482 ${TEST_SH} helper.sh 32 33 49 50 51 63 64 65 77 88 99
485 ${TEST_SH} reread.sh 32 33 49 50 51 63 64 65 77 88 99
490 ${TEST_SH} helper.sh 100 101 199 200 222 333 444 499
493 ${TEST_SH} reread.sh 100 101 199 200 222 333 444 499
498 ${TEST_SH} helper.sh 1000 1001 1002 1003 1004 1005
501 ${TEST_SH} reread.sh 1000 1001 1002 1003 1004 1005
545 ${TEST_SH} helper.sh 3 4 5 6 7 8 9
551 ${TEST_SH} helper.sh 10 11 13 15 16 19 20 28 29
556 ${TEST_SH} helper.sh 30 31 32 63 64 65 77 88 99
561 ${TEST_SH} helper.sh 100 101 111 199 200 201 222 333 499
566 ${TEST_SH} helper.sh 1000 1001 1002 1003 1004 1005
581 ${TEST_SH} -c 'echo OK >/dev/stdout'
583 ${TEST_SH} -c '/bin/echo OK >/dev/stdout'
591 ${TEST_SH} -c 'read var </dev/stdin; echo $var' ||
594 ${TEST_SH
601 ${TEST_SH} -c 'echo OK 2>/dev/stderr >&2'
603 ${TEST_SH} -c '/bin/echo OK 2>/dev/stderr >&2'
609 ${TEST_SH} -c 'printf "%s\n" EIGHT 8>&1 >/dev/fd/8 |
625 ${TEST_SH} -c 'case x in (whatever) >foo;; esac'
628 ${TEST_SH} -c 'case x in (whatever) >foo 2>&1;; esac'
631 ${TEST_SH} -c 'case x in (whatever) >foo 2>&1 </dev/null;; esac'
634 ${TEST_SH} -c 'case x in (whatever) >${somewhere};; esac'
644 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c 'echo foo>'
645 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c 'read foo<'
646 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c 'echo foo<>'
647 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
649 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
651 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
653 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
655 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
657 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
659 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
661 atf_check -s not-exit:0 -o empty -e not-empty ${TEST_SH} -c \
666 ${TEST_SH} -c 'echo A Line \> Output'
671 ${TEST_SH} -c 'echo A Line \>> Output'
678 ${TEST_SH} -c 'echo A Line >\> Output'
686 ${TEST_SH} -c ': > OutDir/stdout; printf foo'
688 ${TEST_SH} -c ': > OutDir/stdout || printf foo; printf bar'
690 ${TEST_SH} -c '> OutDir/stdout; printf bar'
692 ${TEST_SH} -c '> OutDir/stdout || printf foo; printf bar'
694 ${TEST_SH} -c 'command : > OutDir/stdout; printf bar'
695 atf-check -s exit:0 -o inline:foobar -e not-empty ${TEST_SH} -c \
698 ${TEST_SH} -c ': <> OutDir/stdout; printf foo'
701 ${TEST_SH} -c ': >&8 ; printf foo'
703 ${TEST_SH} -c ': >&8 || printf foo; printf bar'
705 ${TEST_SH} -c '>&8 ; printf bar'
707 ${TEST_SH} -c '>&8 || printf foo; printf bar'
709 ${TEST_SH} -c 'command : >&7; printf bar'
710 atf-check -s exit:0 -o inline:foobar -e not-empty ${TEST_SH} -c \
732 -e empty ${TEST_SH} ||
764 ${TEST_SH} ||
797 -e empty ${TEST_SH} ||
821 -e empty ${TEST_SH} ||
878 atf_check -s exit:0 -o empty -e empty ${TEST_SH} helper.sh
899 ${TEST_SH} -c ". ./f-def; f ; printf '%s\n' success1"
901 ${TEST_SH} -c ". ./f-def; f >/dev/null; printf '%s\n' success2"
903 ${TEST_SH} -c ". ./f-def; f >&- ; printf '%s\n' success3"
905 ${TEST_SH} -c ". ./f-def; f & wait; printf '%s\n' success4"
907 ${TEST_SH} -c ". ./f-def; f >&- & wait; printf '%s\n' success5"
909 ${TEST_SH} -c ". ./f-def; f;f; printf '%s\n' success6"
911 ${TEST_SH} -c ". ./f-def; { f;f;}; printf '%s\n' success7"
913 ${TEST_SH} -c ". ./f-def; { f;f;}& wait; printf '%s\n' success8"
915 ${TEST_SH} -c \
918 ${TEST_SH} -c \
923 ${TEST_SH} -c '
948 ${TEST_SH} Script
956 ${TEST_SH} ||
963 ' | atf_check -s exit:0 -o inline:'stdin2\n' -e empty ${TEST_SH} ||
983 ${TEST_SH} -c '. ./fgh.def || echo >&2 FAIL
988 ${TEST_SH} -c '. ./fgh.def || echo >&2 FAIL
993 ${TEST_SH} -c '. ./fgh.def || echo >&2 FAIL
1007 ${TEST_SH} -c '. ./fgh.def || echo >&2 FAIL
1022 ' | atf_check -s exit:0 -o inline:'fghX Y\nGF' -e empty ${TEST_SH} ||