about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2017-07-13T22·01-0400
committerGraham Christensen <graham@grahamc.com>2017-07-14T16·11-0400
commitce2281e6d86aa1b461dd27f86b2a71145e85ac8d (patch)
tree93de7a64973f6002185defc3dcb6e827fa18f112 /tests
parent1c7ce2a018a081dd90dfefee6d1ca7e0c9fd66d9 (diff)
Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between builds
Also output in the status report that the user is very silly
Diffstat (limited to 'tests')
-rwxr-xr-xtests/install-darwin.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/install-darwin.sh b/tests/install-darwin.sh
index b7f87467287c..3f64944ef814 100755
--- a/tests/install-darwin.sh
+++ b/tests/install-darwin.sh
@@ -80,11 +80,16 @@ verify
 
     yes | ./install
     verify
-
     cleanup
 
     echo -n "" | ./install
     verify
+    cleanup
 
+    sudo mkdir -p /nix/store
+    sudo touch /nix/store/.silly-hint
+    echo -n "" | PINCH_ME_IM_SILLY=true ./install
+    verify
+    test -e /nix/store/.silly-hint
     cleanup
 )