]> sourceware.org Git - lvm2.git/commitdiff
tests: fix last commit
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 17 Oct 2013 14:59:30 +0000 (16:59 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 17 Oct 2013 14:59:30 +0000 (16:59 +0200)
It must not fail here during execution, so always check in a way
that '||' is used for call of settle.

test/lib/utils.sh

index 8311c4ca20d2db1f4b2dd404d75e6076003943ff..c3bd53306c2199baf9d084236772f466ae36f5f2 100644 (file)
@@ -215,4 +215,4 @@ esac
 
 test -z "$PREFIX" || prepare_test_vars
 
-test -e /sbin/udevsettle && pidof udevd >/dev/null && /sbin/udevsettle
+test ! -e /sbin/udevsettle || if pidof udevd >/dev/null; then /sbin/udevsettle ; fi
This page took 0.039334 seconds and 5 git commands to generate.