summaryrefslogtreecommitdiffstats
path: root/test/shell
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2011-12-10 14:55:31 +0000
committerPetr Rockai <prockai@redhat.com>2011-12-10 14:55:31 +0000
commit8d21033e5270dd083efb5795378cee9570d016d8 (patch)
tree7ae4b893d5380114fab6b0c83424e0335cf5354e /test/shell
parent289ed221d057fb60737aae4555e99f56d51e625e (diff)
downloadlvm2-8d21033e5270dd083efb5795378cee9570d016d8.tar.gz
lvm2-8d21033e5270dd083efb5795378cee9570d016d8.tar.xz
lvm2-8d21033e5270dd083efb5795378cee9570d016d8.zip
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.
Diffstat (limited to 'test/shell')
-rw-r--r--test/shell/000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/000-basic.sh b/test/shell/000-basic.sh
index 0b54d952..aabe82c1 100644
--- a/test/shell/000-basic.sh
+++ b/test/shell/000-basic.sh
@@ -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