aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-test2/andor1.tests
blob: c449de7e653debd9f7a4eb35a74f269a3dcfde71 (plain)
1
2
3
4
5
6
7
e=''
[[ a && b ]]	&& echo 1:YES
[[ a && '' ]]	|| echo 2:no
[[ a || b ]]	&& echo 3:YES
[[ '' || b ]]	&& echo 4:YES
[[ "" || "$e" ]]	|| echo 5:no
[[ "" || $e ]]	|| echo 6:no