summaryrefslogtreecommitdiff
path: root/tests/guix-pack.sh
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-26 15:56:27 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-15 14:15:11 -0500
commit788602b37ff42f730d4b7b569b0fb51465f147da (patch)
tree69019928dc9f5a01ee91c7aaec2d3a34c100ec19 /tests/guix-pack.sh
parentb31ea797edb4f6e8c14e8fe790da1319607c5cb1 (diff)
shell: Detect --symlink spec problems early.
* guix/scripts/pack.scm (symlink-spec-option-parser): Remove extraneous char-set. Raise an exception when the target is an absolute file name. (guix-pack): Move with-error-handler earlier. * guix/scripts/shell.scm (guix-shell): Likewise. * guix/scripts/environment.scm (guix-environment): Wrap the whole guix-environment* call with the with-error-handling handler. * tests/guix-environment-container.sh: Add tests. * tests/guix-pack.sh: Adjust symlink spec.
Diffstat (limited to 'tests/guix-pack.sh')
-rw-r--r--tests/guix-pack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-pack.sh b/tests/guix-pack.sh
index f19a0f754eb..6fc9e3723bc 100644
--- a/tests/guix-pack.sh
+++ b/tests/guix-pack.sh
@@ -103,7 +103,7 @@ fi
103guix pack --dry-run --bootstrap -f docker guile-bootstrap 103guix pack --dry-run --bootstrap -f docker guile-bootstrap
104 104
105# Build a Docker image with a symlink. 105# Build a Docker image with a symlink.
106guix pack --dry-run --bootstrap -f docker -S /opt/gnu=/ guile-bootstrap 106guix pack --dry-run --bootstrap -f docker -S /opt/gnu= guile-bootstrap
107 107
108# Build a tarball pack of cross-compiled software. Use coreutils because 108# Build a tarball pack of cross-compiled software. Use coreutils because
109# guile-bootstrap is not intended to be cross-compiled. 109# guile-bootstrap is not intended to be cross-compiled.