summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount
diff options
context:
space:
mode:
authorRuediger Meier2015-04-22 08:05:47 +0200
committerRuediger Meier2015-04-22 09:01:18 +0200
commitaac448a80b28f22b42793faf326b1fb68611ec8c (patch)
treef0b019874520bc4046fa45176f9a4f3e66ae25ba /tests/ts/libmount
parentsfdisk: don't use BLKRRPART to check loopdev usage (diff)
downloadkernel-qcow2-util-linux-aac448a80b28f22b42793faf326b1fb68611ec8c.tar.gz
kernel-qcow2-util-linux-aac448a80b28f22b42793faf326b1fb68611ec8c.tar.xz
kernel-qcow2-util-linux-aac448a80b28f22b42793faf326b1fb68611ec8c.zip
tests: config.h lives in build directory
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/libmount')
-rwxr-xr-xtests/ts/libmount/context2
-rwxr-xr-xtests/ts/libmount/context-py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context
index 6de160bea..15693d1c6 100755
--- a/tests/ts/libmount/context
+++ b/tests/ts/libmount/context
@@ -34,7 +34,7 @@ umount $MOUNTPOINT &> /dev/null
ts_scsi_debug_init dev_size_mb=100
DEVNAME=$(basename $TS_DEVICE)
-grep -q '#define USE_LIBMOUNT_FORCE_MOUNTINFO' ${TS_TOPDIR}/../config.h
+grep -q '#define USE_LIBMOUNT_FORCE_MOUNTINFO' ${top_builddir}/config.h
if [ $? == 0 ]; then
MOUNTINFO_ONLY=yes
fi
diff --git a/tests/ts/libmount/context-py b/tests/ts/libmount/context-py
index 4db2ac12d..f2190ce8a 100755
--- a/tests/ts/libmount/context-py
+++ b/tests/ts/libmount/context-py
@@ -36,7 +36,7 @@ umount $MOUNTPOINT &> /dev/null
ts_scsi_debug_init dev_size_mb=100
DEVNAME=$(basename $TS_DEVICE)
-grep -q '#define USE_LIBMOUNT_FORCE_MOUNTINFO' ${TS_TOPDIR}/../config.h
+grep -q '#define USE_LIBMOUNT_FORCE_MOUNTINFO' ${top_builddir}/config.h
if [ $? == 0 ]; then
MOUNTINFO_ONLY=yes
fi