blob: 4a31312f58bf09f11672050fd0ccfad0999194fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|