~ruther/guix-local

aad5af9f40951bac7c8822b754aa20946b2cb8a4 — Nikita Karetnikov 12 years ago 4b2bc80
tests: Use 'test -z' to check that a string equals zero.
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/guix-package.sh
M tests/guix-package.sh => tests/guix-package.sh +1 -1
@@ 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`" \