~ruther/guix-local

e4629ef43b96f0571f6781e86e647569a6b81c4d — Ludovic Courtès 12 years ago c9e2b0b
tests: Make sure 'guix archive --import' succeeds.

* tests/guix-archive.sh: Check the exit value of 'guix archive
  --import'.
1 files changed, 2 insertions(+), 0 deletions(-)

M tests/guix-archive.sh
M tests/guix-archive.sh => tests/guix-archive.sh +2 -0
@@ 39,6 39,8 @@ cmp "$archive" "$archive_alt"
guix archive --export `guix build guile-bootstrap` > "$archive_alt"
cmp "$archive" "$archive_alt"

# Check the exit value and stderr upon import.
guix archive --import < "$archive"
guix archive --import < "$archive" 2>&1 | grep "import.*guile-bootstrap"

if guix archive something-that-does-not-exist