forked from M-Labs/nix-scripts
windows tests: exit 0 on success, fix $FAIL escaping
This commit is contained in:
parent
3fa4f84958
commit
588f8fa594
|
@ -69,8 +69,11 @@ stdenv.mkDerivation {
|
||||||
${ssh "shutdown -p -f"}
|
${ssh "shutdown -p -f"}
|
||||||
wait
|
wait
|
||||||
|
|
||||||
[ "\\\$FAIL" = "y" ] && exit 1
|
if [ "\$FAIL" = "y" ]; then
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
EOF
|
EOF
|
||||||
chmod a+x $out/bin/run.sh
|
chmod a+x $out/bin/run.sh
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue