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