mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Nowadays, lvm-version.h is generated from lvm-version.h.in, and lives in the
build directory, not the source one -> fix test/shell/000-basic.sh.
This commit is contained in:
parent
289ed221d0
commit
8d21033e52
@ -12,7 +12,7 @@
|
||||
|
||||
lvm version
|
||||
|
||||
v=$abs_top_srcdir/lib/misc/lvm-version.h
|
||||
v=$abs_top_builddir/lib/misc/lvm-version.h
|
||||
sed -n "/#define LVM_VERSION ./s///p" "$v" | sed "s/ .*//" > expected
|
||||
|
||||
lvm pvmove --version|sed -n "1s/.*: *\([0-9][^ ]*\) .*/\1/p" > actual
|
||||
|
Loading…
Reference in New Issue
Block a user