tests: Use 'test -z' to check that a string equals zero.
This commit is contained in:
		
							parent
							
								
									4b2bc804d8
								
							
						
					
					
						commit
						aad5af9f40
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -79,7 +79,7 @@ then | |||
|     # Search. | ||||
|     test "`guix package -s "An example GNU package" | grep ^name:`" = \ | ||||
|         "name: hello" | ||||
|     test "`guix package -s "n0t4r341p4ck4g3"`" = "" | ||||
|     test -z "`guix package -s "n0t4r341p4ck4g3"`" | ||||
| 
 | ||||
|     # List generations. | ||||
|     test "`guix package -p "$profile" -l | cut -f1 | grep guile | head -n1`" \ | ||||
|  |  | |||
		Reference in a new issue