]> sourceware.org Git - lvm2.git/commitdiff
Fix a couple of bugs in the new (test/lib/)aux.sh.
authorPetr Rockai <prockai@redhat.com>
Wed, 5 Jan 2011 00:25:07 +0000 (00:25 +0000)
committerPetr Rockai <prockai@redhat.com>
Wed, 5 Jan 2011 00:25:07 +0000 (00:25 +0000)
test/lib/aux.sh

index 812b8f9c837f47b389a7aa7a748d7cc338769a33..b9b10be55f358206ed1773e7374273aa624cd124 100644 (file)
@@ -43,7 +43,10 @@ prepare_dmeventd() {
        fi
 
        # skip if we don't have our own dmeventd...
-       (which dmeventd | grep $abs_builddir) || exit 200
+       (which dmeventd | grep $abs_builddir) || {
+            touch SKIP_THIS_TEST
+            exit 1
+        }
 
        dmeventd -f &
        echo "$!" > LOCAL_DMEVENTD
@@ -219,6 +222,7 @@ prepare_devs() {
        fi
 
        local size=$(($loopsz/$n))
+        devs=
 
        init_udev_transaction
        for i in `seq 1 $n`; do
This page took 0.039905 seconds and 5 git commands to generate.