Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f0d34f383df7a0090... Commit: f0d34f383df7a00902e8d0512a815fd764ee05a9 Parent: 9ff2f1a3dbaa6f77b1693b7a9cf540a902cf618d Author: Zdenek Kabelac zkabelac@redhat.com AuthorDate: Tue Oct 9 10:37:37 2012 +0200 Committer: Zdenek Kabelac zkabelac@redhat.com CommitterDate: Tue Oct 9 10:37:37 2012 +0200
test: ignore modprobe failure
If the system doesn't have modprobe but happens to have modules loaded, allow version testing. --- test/lib/aux.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 107afc1..6cfd6db 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -506,7 +506,7 @@ wait_for_sync() { target_at_least() { case "$1" in - dm-*) modprobe "$1" ;; + dm-*) modprobe "$1" || true ;; esac
local version=$(dmsetup targets 2>/dev/null | grep "${1##dm-} " 2>/dev/null)
lvm2-commits@lists.fedorahosted.org