summary refs log tree commit diff
path: root/tests/guix-package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/guix-package.sh')
-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 0b31b55103..42a1f8da96 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -70,7 +70,7 @@ then
     test "`guix-package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
 
     # Search.
-    test "`guix-package -s "GNU Hello" | cut -f1`" = "hello"
+    test "`guix-package -s "GNU Hello" | grep ^name:`" = "name: hello"
     test "`guix-package -s "n0t4r341p4ck4g3"`" = ""
 
     # Remove a package.