diff options
author | Brett Gilio <brettg@posteo.net> | 2019-12-13 07:57:51 -0600 |
---|---|---|
committer | Brett Gilio <brettg@posteo.net> | 2019-12-13 07:58:30 -0600 |
commit | 94c7f70faa0ba0409099b423df6534718d7518cc (patch) | |
tree | 97586676534c56491725c0ed9e6299e89888fde6 /tests/guix-archive.sh | |
parent | 7711db7f4ec24015d7c2412ef1e624cbf8110ed3 (diff) | |
parent | 19ba75dc02c4ff072f96296543a00737bcf24bf9 (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'tests/guix-archive.sh')
-rw-r--r-- | tests/guix-archive.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/guix-archive.sh b/tests/guix-archive.sh index fdaeb98ad2..4c5eea05cf 100644 --- a/tests/guix-archive.sh +++ b/tests/guix-archive.sh @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> +# Copyright © 2013, 2014, 2015, 2019 Ludovic Courtès <ludo@gnu.org> # # This file is part of GNU Guix. # @@ -74,5 +74,10 @@ guix archive -x "$tmpdir" < "$archive" test -x "$tmpdir/bin/guile" test -d "$tmpdir/lib/guile" +# Check '--list'. +guix archive -t < "$archive" | grep "^D /share/guile" +guix archive -t < "$archive" | grep "^x /bin/guile" +guix archive -t < "$archive" | grep "^r /share/guile.*/boot-9\.scm" + if echo foo | guix archive --authorize then false; else true; fi |