summaryrefslogtreecommitdiff
path: root/test/shell/000-basic.sh
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2014-09-15 00:19:53 +0200
committerPetr Rockai <prockai@redhat.com>2015-02-05 13:47:21 +0100
commitbd0806e1f53f4b978cf298885e1d98365011ec3e (patch)
tree23d8236e508bdc68fb3dcf5b60e3b59324ce3441 /test/shell/000-basic.sh
parentc6f9c4622378a312f0195ab968f8744b881d10b5 (diff)
downloadlvm2-bd0806e1f53f4b978cf298885e1d98365011ec3e.tar.gz
test: Fix failures due to undefined abs_top_builddir.
Diffstat (limited to 'test/shell/000-basic.sh')
-rw-r--r--test/shell/000-basic.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/shell/000-basic.sh b/test/shell/000-basic.sh
index 7ad4d9f05..027969e36 100644
--- a/test/shell/000-basic.sh
+++ b/test/shell/000-basic.sh
@@ -13,6 +13,8 @@
lvm version
+test -n "$abs_top_builddir" || skip
+
v=$abs_top_builddir/lib/misc/lvm-version.h
sed -n "/#define LVM_VERSION ./s///p" "$v" | sed "s/ .*//" > expected