Lines Matching refs:testcmd
7 testcmd '0 args' '; echo $?' '1\n' '' ''
8 testcmd '1 arg' '== ; echo $?' '0\n' '' ''
9 testcmd '2 args' '-e == ; echo $?' '1\n' '' ''
10 testcmd '3 args' '-e == -e ; echo $?' '0\n' '' ''
11 testcmd '' '\( == \) ; echo $?' '1\n' '' ''
12 testcmd '' '\( == \( ; echo $?' '0\n' '' ''
47 testcmd "" "'' || echo yes" "yes\n" "" ""
48 testcmd "" "a && echo yes" "yes\n" "" ""
49 testcmd "-n" "-n '' || echo yes" "yes\n" "" ""
50 testcmd "-n2" "-n a && echo yes" "yes\n" "" ""
51 testcmd "-z" "-z '' && echo yes" "yes\n" "" ""
52 testcmd "-z2" "-z a || echo yes" "yes\n" "" ""
53 testcmd "" "a = b || echo yes" "yes\n" "" ""
54 testcmd "" "'' = '' && echo yes" "yes\n" "" ""
55 testcmd "a != b" "a != b && echo yes" "yes\n" "" ""
56 testcmd "a != b" "a != a || echo yes" "yes\n" "" ""