forked from lix-project/lix
* Be sure to clean up the daemon if the test fails.
This commit is contained in:
parent
d91dc086bb
commit
67958f21df
|
@ -12,6 +12,8 @@ clearStore
|
|||
clearManifests
|
||||
$nixworker --daemon &
|
||||
pidDaemon=$!
|
||||
trap "kill -9 $pidDaemon" EXIT
|
||||
NIX_REMOTE=daemon $SHELL ./user-envs.sh
|
||||
kill -9 $pidDaemon
|
||||
wait $pidDaemon || true
|
||||
trap "" EXIT
|
||||
|
|
Loading…
Reference in a new issue