LVM2/test t-000-basic.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: meyering at sourceware.org 2007-12-05 09:49:08
Modified files:
test : t-000-basic.sh
Log message:
Avoid spurious test failure when compiled with readline support.
* 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 <[email protected]>
Committer: Jim Meyering <[email protected]>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-000-basic.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2
test/t-000-basic.sh +2 -2
@@ -13,8 +13,8 @@ . ./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