From ec0b80be6b69bc743fe09c76c85c93ada16e5efa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Dec 2007 09:49:08 +0000 Subject: [PATCH] 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 --- test/t-000-basic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/t-000-basic.sh b/test/t-000-basic.sh index af5d73c95..7f92216d5 100755 --- a/test/t-000-basic.sh +++ b/test/t-000-basic.sh @@ -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 -- 2.43.5