about summary refs log tree commit diff
path: root/tests/build-remote.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/build-remote.sh')
-rw-r--r--tests/build-remote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/build-remote.sh b/tests/build-remote.sh
index cf3bb4633183..9bca0f4a3856 100644
--- a/tests/build-remote.sh
+++ b/tests/build-remote.sh
@@ -2,7 +2,7 @@ source common.sh
 
 clearStore
 
-if [[ $(uname) != Linux ]]; then exit; fi
+if ! canUseSandbox; then exit; fi
 if [[ ! $SHELL =~ /nix/store ]]; then exit; fi
 
 chmod -R u+w $TEST_ROOT/store0 || true