mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Make sure 'guix archive --import' succeeds.
* tests/guix-archive.sh: Check the exit value of 'guix archive --import'.
This commit is contained in:
parent
c9e2b0b16e
commit
e4629ef43b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue