1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

If clvmd is not started, die test instead of skipping it

This commit is contained in:
Zdenek Kabelac 2012-01-26 18:25:46 +00:00
parent 3d0906496b
commit 21fc2af47e

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (C) 2011 Red Hat, Inc. All rights reserved.
# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
@ -34,8 +34,8 @@ prepare_clvmd() {
# check that it is really running now
sleep .1
ps $LOCAL_CLVMD || skip
echo "$LOCAL_CLVMD" > LOCAL_CLVMD
ps $LOCAL_CLVMD || die
echo "$LOCAL_CLVMD" > LOCAL_CLVMD
}
prepare_dmeventd() {