From b259e97d47de9a3f6b3dc4538159e57544c04a01 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 31 Oct 2020 03:51:37 +0100 Subject: hush: add tests for unquoted < > in [[ ]] They pass. Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-test2/strops4.tests | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 shell/hush_test/hush-test2/strops4.tests (limited to 'shell/hush_test/hush-test2/strops4.tests') diff --git a/shell/hush_test/hush-test2/strops4.tests b/shell/hush_test/hush-test2/strops4.tests new file mode 100755 index 000000000..bb381426d --- /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:$? -- cgit v1.2.3