From 6e9c8bef5133bd07f362be1641105aedcdafac21 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 22 Apr 2015 08:05:47 +0200 Subject: [PATCH] tests: config.h lives in build directory Signed-off-by: Ruediger Meier --- tests/ts/libmount/context | 2 +- tests/ts/libmount/context-py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index 5037c72eb5..9424fef90b 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 21bbbe63ca..0f8398f6ef 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 -- 2.47.2