diff options
Diffstat (limited to 'shell/ash_test/ash-arith')
-rw-r--r-- | shell/ash_test/ash-arith/arith-bash1.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-arith/arith-bash1.tests | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ash_test/ash-arith/arith-bash1.right b/shell/ash_test/ash-arith/arith-bash1.right new file mode 100644 index 0000000..b261da1 --- /dev/null +++ b/shell/ash_test/ash-arith/arith-bash1.right @@ -0,0 +1,2 @@ +1 +0 diff --git a/shell/ash_test/ash-arith/arith-bash1.tests b/shell/ash_test/ash-arith/arith-bash1.tests new file mode 100755 index 0000000..b37b730 --- /dev/null +++ b/shell/ash_test/ash-arith/arith-bash1.tests @@ -0,0 +1,5 @@ +# checks for [[ ]] + +# && and || +[[ a && "" ]]; echo $? +[[ a || "" ]]; echo $? |