diff options
-rw-r--r-- | tests/guix-archive.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/guix-archive.sh b/tests/guix-archive.sh index 0de7395145..d4259b8677 100644 --- a/tests/guix-archive.sh +++ b/tests/guix-archive.sh @@ -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 |