diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-07-02T15·37+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02T15·37+0200 |
commit | 7e1c85c5fbf48811bb9a4969f9c32fce2a3e5fa7 (patch) | |
tree | 4b6d7b4f6ab4e6eaaa1201167ab37ae30ffa0959 /tests/check.nix | |
parent | db700f730ee4543d41974089b225b365ec427028 (diff) | |
parent | 68bdd83dc88ec55c6c51fa92e84e7d7d408c554a (diff) |
Merge pull request #2779 from LnL7/build-exit-codes
build: add exit code for hash and check mismatches
Diffstat (limited to 'tests/check.nix')
-rw-r--r-- | tests/check.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/check.nix b/tests/check.nix index 08aac2fb0a77..56c82e565a8f 100644 --- a/tests/check.nix +++ b/tests/check.nix @@ -10,6 +10,11 @@ with import ./config.nix; ''; }; + hashmismatch = import <nix/fetchurl.nix> { + url = "file://" + toString ./dummy; + sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73"; + }; + fetchurl = import <nix/fetchurl.nix> { url = "file://" + toString ./lang/eval-okay-xml.exp.xml; sha256 = "0kg4sla7ihm8ijr8cb3117fhl99zrc2bwy1jrngsfmkh8bav4m0v"; |