]> sourceware.org Git - lvm2.git/commitdiff
Avoid spurious test failure when compiled with readline support.
authorJim Meyering <jim@meyering.net>
Wed, 5 Dec 2007 09:49:08 +0000 (09:49 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 5 Dec 2007 09:49:08 +0000 (09:49 +0000)
* test/t-000-basic.sh: Invoke initial test of lvm with its "version"
argument, so that the behavior of the tool doesn't depend on whether
readline was enabled at configure time.

Author: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Committer: Jim Meyering <meyering@redhat.com>

test/t-000-basic.sh

index af5d73c95f33fb9279316ba75f2bae22804c52fd..7f92216d510777390152ae2bf85876fd95e91ea8 100755 (executable)
@@ -13,8 +13,8 @@ test_description='Basics: see if tools are built, etc.'
 
 . ./test-lib.sh
 
-lvm >/dev/null 2>&1
-if test $? != 3; then
+lvm version >/dev/null 2>&1
+if test $? != 0; then
     echo >&2 'You do not seem to have built lvm yet.'
     exit 1
 fi
This page took 0.066196 seconds and 5 git commands to generate.