tvl-depot/tests/remote-store.sh

18 lines
316 B
Bash
Raw Normal View History

2007-08-13 16:56:40 +02:00
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