Skip to contentSkip to conversation

master - NIX: Existence of results list no longer indicates that the suite has finished.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0abad40f416a3831c9e4b44924468bd7b591a4fa
Commit:        0abad40f416a3831c9e4b44924468bd7b591a4fa
Parent:        e3ac180ab37a5cfe39ac739d48b9176c0e4f6003
Author:        Petr Rockai <[email protected]>
AuthorDate:    Sat Jun 28 12:51:18 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:47:19 2015 +0100

NIX: Existence of results list no longer indicates that the suite has finished.

---
 nix/default.nix |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
nix/default.nix +8 -11
index 8de3eba..55ad8e1 100644
@@ -27,17 +27,14 @@ let
          dmsetup targets
 
          export LVM_TEST_BACKING_DEVICE=/dev/vdb
-         if ! test -e /tmp/xchg/results-ndev/list; then
-             lvm2-testsuite --batch --outdir /tmp/xchg/results-ndev --continue \
-                 --flavours ndev-vanilla,ndev-cluster,ndev-lvmetad
-         fi
-
-         if ! test -e /tmp/xchg/results-udev/list; then
-             (/usr/lib/systemd/systemd-udevd || /usr/lib/udev/udevd || /sbin/udevd || \
-                 find / -xdev -name \*udevd) &
-             lvm2-testsuite --batch --outdir /tmp/xchg/results-udev --continue \
-                 --flavours udev-vanilla,udev-cluster,udev-lvmetad
-         fi
+
+         lvm2-testsuite --batch --outdir /tmp/xchg/results-ndev --continue \
+             --flavours ndev-vanilla,ndev-cluster,ndev-lvmetad
+
+         (/usr/lib/systemd/systemd-udevd || /usr/lib/udev/udevd || /sbin/udevd || \
+             find / -xdev -name \*udevd) >& /tmp/udevd.log &
+         lvm2-testsuite --batch --outdir /tmp/xchg/results-udev --continue \
+             --flavours udev-vanilla,udev-cluster,udev-lvmetad --watch /tmp/udevd.log
 
          # if we made it this far, all test results are in