hush: add tests for unquoted < > in [[ ]]
They pass. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		
							
								
								
									
										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:$? | ||||
		Reference in New Issue
	
	Block a user