diff options
Diffstat (limited to 'tests/remote-store.sh')
-rw-r--r-- | tests/remote-store.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/remote-store.sh b/tests/remote-store.sh new file mode 100644 index 000000000000..4a31312f58bf --- /dev/null +++ b/tests/remote-store.sh @@ -0,0 +1,17 @@ +source common.sh + +export FORCE_NIX_REMOTE=1 + +echo '*** testing slave mode ***' +clearStore +clearManifests +NIX_REMOTE=slave sh ./user-envs.sh + +echo '*** testing daemon mode ***' +clearStore +clearManifests +$nixworker --daemon & +pidDaemon=$! +NIX_REMOTE=daemon sh ./user-envs.sh +kill -9 $pidDaemon +wait $pidDaemon || true |