diff options
author | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-24 00:36:51 +0000 |
---|---|---|
committer | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-25 16:09:50 +0000 |
commit | aad5af9f40951bac7c8822b754aa20946b2cb8a4 (patch) | |
tree | 4f1c694661ada2e73aa79fe3f41a78ad83263f5a | |
parent | 4b2bc804d861ff5ba550dac0b56f1fe44f079847 (diff) | |
download | guix-aad5af9f40951bac7c8822b754aa20946b2cb8a4.tar.gz |
tests: Use 'test -z' to check that a string equals zero.
-rw-r--r-- | tests/guix-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 7130926404..524ff32f17 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -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`" \ |