1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: fix test warning

We cannot print TEST WARNING within test shell script
(since it's running in debug mode and thus always prints it)

Use 'should false' trick let the string printed in this case.
So 'non cluster cases' should now end properly.
This commit is contained in:
Zdenek Kabelac 2015-04-02 12:37:56 +02:00
parent 536f5fa0a3
commit ee65528547

View File

@ -58,7 +58,7 @@ lvremove -ff $vg
if test -e LOCAL_CLVMD ; then if test -e LOCAL_CLVMD ; then
#FIXME these tests currently fail end require cmirrord #FIXME these tests currently fail end require cmirrord
echo "TEST WARNING, FIXME!!! pvmove in clustered VG not fully supported!" echo "$(should false)FIXME!!! pvmove in clustered VG not fully supported!"
else else
# Testing pvmove of mirror LV # Testing pvmove of mirror LV