summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-test2/strops4.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2020-10-31 03:51:37 +0100
committerDenys Vlasenko2020-10-31 03:51:37 +0100
commitb259e97d47de9a3f6b3dc4538159e57544c04a01 (patch)
tree3734595fd043eca0aba9a87d4fdf6617b8922d57 /shell/hush_test/hush-test2/strops4.tests
parentd2241f59022c38d4b171e56eea42e216ecccfdd9 (diff)
downloadbusybox-b259e97d47de9a3f6b3dc4538159e57544c04a01.zip
busybox-b259e97d47de9a3f6b3dc4538159e57544c04a01.tar.gz
hush: add tests for unquoted < > in [[ ]]
They pass. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-test2/strops4.tests')
-rwxr-xr-xshell/hush_test/hush-test2/strops4.tests3
1 files changed, 3 insertions, 0 deletions
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:$?