guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30572] [PATCH 2/7] tests: Add tests for "guix pack".


From: Danny Milosavljevic
Subject: [bug#30572] [PATCH 2/7] tests: Add tests for "guix pack".
Date: Fri, 16 Mar 2018 22:07:32 +0100

> +is_available () {
> +    # Use the "type" shell builtin to see if the program is on PATH.
> +    type "$1"

Maybe >/dev/null ?  Then it would only complain if it needed to.

> +else
> +    echo "skipping pack verification because chroot or unshare is 
> unavailable"

echo "warning: Skipping pack verification because chroot or unshare is 
unavailable" >&2

Otherwise LGTM!

Attachment: pgpFMcly0AUis.pgp
Description: Digitale Signatur von OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]