1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/tests/remote-store.sh

18 lines
324 B
Bash
Raw Normal View History

2007-08-13 10:56:40 -04:00
source common.sh
export FORCE_NIX_REMOTE=1
echo '*** testing slave mode ***'
clearStore
clearManifests
NIX_REMOTE=slave $SHELL ./user-envs.sh
2007-08-13 10:56:40 -04:00
echo '*** testing daemon mode ***'
clearStore
clearManifests
$nixworker --daemon &
pidDaemon=$!
NIX_REMOTE=daemon $SHELL ./user-envs.sh
2007-08-13 10:56:40 -04:00
kill -9 $pidDaemon
wait $pidDaemon || true