summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-environment-container.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/guix-environment-container.sh b/tests/guix-environment-container.sh
index 8b6f7cd38f..5670d01117 100644
--- a/tests/guix-environment-container.sh
+++ b/tests/guix-environment-container.sh
@@ -24,6 +24,12 @@ set -e
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-$$"
trap 'rm -r "$tmpdir"' EXIT