[lvm-devel] master - NIX: Avoid a spurious failure when all tests pass.
Petr Rockai
mornfall at fedoraproject.org
Thu Feb 5 13:43:00 UTC 2015
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=734a183c5658c1f305a375da02bb24cccad566df
Commit: 734a183c5658c1f305a375da02bb24cccad566df
Parent: bd0806e1f53f4b978cf298885e1d98365011ec3e
Author: Petr Rockai <prockai at redhat.com>
AuthorDate: Tue Sep 30 11:01:48 2014 +0200
Committer: Petr Rockai <prockai at redhat.com>
CommitterDate: Thu Feb 5 13:47:21 2015 +0100
NIX: Avoid a spurious failure when all tests pass.
---
nix/default.nix | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/nix/default.nix b/nix/default.nix
index 445b0a7..734fb3b 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -22,7 +22,7 @@ let
cp $i/test-results'/'*.txt $out/test-results/ || true
done
mkdir -p $out/nix-support
- grep '\<failed\>' $out/test-results/list && touch $out/nix-support/failed
+ grep '\<failed\>' $out/test-results/list && touch $out/nix-support/failed || true
'';
buildInputs = map (x: runTest (args // { flavour = x; }))
More information about the lvm-devel
mailing list