mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
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 <j-nomura@ce.jp.nec.com> Committer: Jim Meyering <meyering@redhat.com>
This commit is contained in:
parent
3303289137
commit
ec0b80be6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user