1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 16:41:47 +02:00

build: replace 100 offset for build exit codes

This commit is contained in:
Daiderd Jordan 2019-06-15 15:28:32 +02:00
parent 1ac399dd11
commit a52c331edb
No known key found for this signature in database
GPG key ID: D02435D05B810C96
3 changed files with 30 additions and 9 deletions

View file

@ -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" ]