mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
tests/*: show when tests are skipped
This commit is contained in:
parent
f66fb5fb5b
commit
c3090bc6fd
5 changed files with 7 additions and 7 deletions
|
@ -2,13 +2,13 @@ source common.sh
|
|||
|
||||
clearStore
|
||||
|
||||
if ! canUseSandbox; then exit; fi
|
||||
if ! canUseSandbox; then exit 99; fi
|
||||
|
||||
# Note: we need to bind-mount $SHELL into the chroot. Currently we
|
||||
# only support the case where $SHELL is in the Nix store, because
|
||||
# otherwise things get complicated (e.g. if it's in /bin, do we need
|
||||
# /lib as well?).
|
||||
if [[ ! $SHELL =~ /nix/store ]]; then exit; fi
|
||||
if [[ ! $SHELL =~ /nix/store ]]; then exit 99; fi
|
||||
|
||||
chmod -R u+w $TEST_ROOT/store0 || true
|
||||
rm -rf $TEST_ROOT/store0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue