mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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`" \
|
||||
|
|
Loading…
Reference in a new issue