1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-18 02:58:27 +02:00

* A test for the nix-worker.

This commit is contained in:
Eelco Dolstra 2007-08-13 14:56:40 +00:00
parent 550ba9ebb4
commit a7e1a51fdf
4 changed files with 24 additions and 2 deletions

17
tests/remote-store.sh Normal file
View file

@ -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