about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-06-15T13·28+0200
committerDaiderd Jordan <daiderd@gmail.com>2019-07-01T22·12+0200
commita52c331edba6e8c67469f53dda0be2903d18fa8c (patch)
tree55e835606fe910a205a71b47208794ebdaaeed2c /tests
parent1ac399dd115d5c86629389e0cdfefa0d654fc90a (diff)
build: replace 100 offset for build exit codes
Diffstat (limited to 'tests')
-rw-r--r--tests/check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check.sh b/tests/check.sh
index aa1e5cd26f8a..bc23a6634ca0 100644
--- a/tests/check.sh
+++ b/tests/check.sh
@@ -7,8 +7,8 @@ nix-build dependencies.nix --no-out-link --check
 
 nix-build check.nix -A nondeterministic --no-out-link
 nix-build check.nix -A nondeterministic --no-out-link --check 2> $TEST_ROOT/log || status=$?
-[ "$status" = "104" ]
 grep 'may not be deterministic' $TEST_ROOT/log
+[ "$status" = "104" ]
 
 clearStore
 
@@ -44,4 +44,4 @@ nix-build check.nix -A hashmismatch --no-out-link --check --hashed-mirrors '' ||
 # Multiple failures with --keep-going
 nix-build check.nix -A nondeterministic --no-out-link
 nix-build check.nix -A nondeterministic -A hashmismatch --no-out-link --check --keep-going --hashed-mirrors '' || status=$?
-[ "$status" = "106" ]
+[ "$status" = "110" ]