hush: add tests for unquoted < > in [[ ]]

They pass.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2020-10-31 03:51:37 +01:00
parent d2241f5902
commit b259e97d47
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1:no:1
2:YES:0

View File

@ -0,0 +1,3 @@
# < > are not redirect operators
[[ a > b ]]; echo 1:no:$?
[[ a < b ]]; echo 2:YES:$?