From 80591b0a000e88c284bd2ec355f27e19e1da7528 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 25 Mar 2008 07:49:43 +0000 Subject: ash: support for && and || in [[ expr ]]; add testsuite checks --- shell/ash_test/ash-arith/arith-bash1.tests | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 shell/ash_test/ash-arith/arith-bash1.tests (limited to 'shell/ash_test/ash-arith/arith-bash1.tests') 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 000000000..b37b7302d --- /dev/null +++ b/shell/ash_test/ash-arith/arith-bash1.tests @@ -0,0 +1,5 @@ +# checks for [[ ]] + +# && and || +[[ a && "" ]]; echo $? +[[ a || "" ]]; echo $? -- cgit v1.2.3