Skip to content
Snippets Groups Projects
Commit 6493fd04 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

tests: Skip 'guix-container-environment.sh' when support is missing.

Fixes <http://bugs.gnu.org/21410>.
Reported by Alex Vong <alexvong1995@gmail.com>.

* tests/guix-environment-container.sh: Exit with 77 when
'((@@ (guix scripts environment) assert-container-features))' fails.
parent aabe6d38
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,12 @@ set -e ...@@ -24,6 +24,12 @@ set -e
guix environment --version guix environment --version
if ! guile -c '((@@ (guix scripts environment) assert-container-features))'
then
# User containers are not supported; skip this test.
exit 77
fi
tmpdir="t-guix-environment-$$" tmpdir="t-guix-environment-$$"
trap 'rm -r "$tmpdir"' EXIT trap 'rm -r "$tmpdir"' EXIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment