HCoop
/
jackhill
/
guix
/
guix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
self: System tests depend on CLI modules.
[jackhill/guix/guix.git]
/
tests
/
guix-pack.sh
diff --git
a/tests/guix-pack.sh
b/tests/guix-pack.sh
index
917d524
..
a43f4d1
100644
(file)
--- a/
tests/guix-pack.sh
+++ b/
tests/guix-pack.sh
@@
-1,5
+1,6
@@
# GNU Guix --- Functional package management for GNU
# Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
# GNU Guix --- Functional package management for GNU
# Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
+# Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
#
# This file is part of GNU Guix.
#
@@
-48,7
+49,7
@@
the_pack="`guix pack --bootstrap -S /opt/gnu/bin=bin guile-bootstrap`"
# exists because /opt/gnu/bin may be an absolute symlink to a store item that
# has been GC'd.
test_directory="`mktemp -d`"
# exists because /opt/gnu/bin may be an absolute symlink to a store item that
# has been GC'd.
test_directory="`mktemp -d`"
-trap 'rm -rf "$test_directory"' EXIT
+trap '
chmod -Rf +w "$test_directory";
rm -rf "$test_directory"' EXIT
cd "$test_directory"
tar -xf "$the_pack"
test -L opt/gnu/bin
cd "$test_directory"
tar -xf "$the_pack"
test -L opt/gnu/bin