HCoop
/
jackhill
/
guix
/
guix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
environment: Correctly handle abnormal exits.
[jackhill/guix/guix.git]
/
tests
/
guix-environment-container.sh
diff --git
a/tests/guix-environment-container.sh
b/tests/guix-environment-container.sh
index
5670d01
..
703ab31
100644
(file)
--- a/
tests/guix-environment-container.sh
+++ b/
tests/guix-environment-container.sh
@@
-81,3
+81,10
@@
grep $(guix build guile-bootstrap) $tmpdir/mounts
grep -e "$NIX_STORE_DIR/.*-bash" $tmpdir/mounts # bootstrap bash
rm $tmpdir/mounts
+
+if guix environment --bootstrap --container \
+ --ad-hoc bootstrap-binaries -- kill -SEGV 2
+then false;
+else
+ test $? -gt 127
+fi