From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25789 invoked by alias); 5 Dec 2007 09:49:08 -0000 Received: (qmail 25775 invoked by uid 9083); 5 Dec 2007 09:49:08 -0000 Date: Wed, 05 Dec 2007 09:49:00 -0000 Message-ID: <20071205094908.25773.qmail@sourceware.org> From: meyering@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-000-basic.sh Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00002.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: meyering@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 Committer: Jim Meyering Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-000-basic.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2 --- LVM2/test/t-000-basic.sh 2007/09/21 17:12:13 1.1 +++ LVM2/test/t-000-basic.sh 2007/12/05 09:49:08 1.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