summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/guix-package.sh2
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`" \