hush: add tests for unquoted < > in [[ ]]
They pass. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d2241f5902
commit
b259e97d47
2
shell/hush_test/hush-test2/strops4.right
Normal file
2
shell/hush_test/hush-test2/strops4.right
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1:no:1
|
||||||
|
2:YES:0
|
3
shell/hush_test/hush-test2/strops4.tests
Executable file
3
shell/hush_test/hush-test2/strops4.tests
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
# < > are not redirect operators
|
||||||
|
[[ a > b ]]; echo 1:no:$?
|
||||||
|
[[ a < b ]]; echo 2:YES:$?
|
Loading…
Reference in New Issue
Block a user