summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush_test/hush-test2/strops4.right2
-rwxr-xr-xshell/hush_test/hush-test2/strops4.tests3
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-test2/strops4.right b/shell/hush_test/hush-test2/strops4.right
new file mode 100644
index 0000000..53a1762
--- /dev/null
+++ b/shell/hush_test/hush-test2/strops4.right
@@ -0,0 +1,2 @@
+1:no:1
+2:YES:0
diff --git a/shell/hush_test/hush-test2/strops4.tests b/shell/hush_test/hush-test2/strops4.tests
new file mode 100755
index 0000000..bb38142
--- /dev/null
+++ b/shell/hush_test/hush-test2/strops4.tests
@@ -0,0 +1,3 @@
+# < > are not redirect operators
+[[ a > b ]]; echo 1:no:$?
+[[ a < b ]]; echo 2:YES:$?