mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
18 lines
324 B
Bash
18 lines
324 B
Bash
source common.sh
|
|
|
|
export FORCE_NIX_REMOTE=1
|
|
|
|
echo '*** testing slave mode ***'
|
|
clearStore
|
|
clearManifests
|
|
NIX_REMOTE=slave $SHELL ./user-envs.sh
|
|
|
|
echo '*** testing daemon mode ***'
|
|
clearStore
|
|
clearManifests
|
|
$nixworker --daemon &
|
|
pidDaemon=$!
|
|
NIX_REMOTE=daemon $SHELL ./user-envs.sh
|
|
kill -9 $pidDaemon
|
|
wait $pidDaemon || true
|