ash: support for && and || in [[ expr ]]; add testsuite checks
This commit is contained in:
2
shell/ash_test/ash-arith/arith-bash1.right
Normal file
2
shell/ash_test/ash-arith/arith-bash1.right
Normal file
@@ -0,0 +1,2 @@
|
||||
1
|
||||
0
|
5
shell/ash_test/ash-arith/arith-bash1.tests
Executable file
5
shell/ash_test/ash-arith/arith-bash1.tests
Executable file
@@ -0,0 +1,5 @@
|
||||
# checks for [[ ]]
|
||||
|
||||
# && and ||
|
||||
[[ a && "" ]]; echo $?
|
||||
[[ a || "" ]]; echo $?
|
Reference in New Issue
Block a user