about summary refs log tree commit diff
path: root/tests/check-reqs.sh
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-04-16T23·58-0400
committerDan Peebles <pumpkin@me.com>2016-04-16T23·58-0400
commit608b0265e104b4a97f51e5745b1a32078770f3cf (patch)
tree49954dfd00ad973e646fddab37b4ee6d67333be8 /tests/check-reqs.sh
parent04237870866faaf7dce7c21332b47fef5d79ce65 (diff)
Print out all bad references/requisites at once
Also updates tests to check for new information. Fixes #799
Diffstat (limited to 'tests/check-reqs.sh')
-rw-r--r--tests/check-reqs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check-reqs.sh b/tests/check-reqs.sh
index 8b2454915a52..77689215def1 100644
--- a/tests/check-reqs.sh
+++ b/tests/check-reqs.sh
@@ -6,7 +6,8 @@ nix-build -o $RESULT check-reqs.nix -A test1
 
 (! nix-build -o $RESULT check-reqs.nix -A test2)
 (! nix-build -o $RESULT check-reqs.nix -A test3)
-(! nix-build -o $RESULT check-reqs.nix -A test4)
+(! nix-build -o $RESULT check-reqs.nix -A test4) 2>&1 | grep -q 'check-reqs-dep1'
+(! nix-build -o $RESULT check-reqs.nix -A test4) 2>&1 | grep -q 'check-reqs-dep2'
 (! nix-build -o $RESULT check-reqs.nix -A test5)
 (! nix-build -o $RESULT check-reqs.nix -A test6)