From: Ruediger Meier Date: Wed, 22 Apr 2015 06:05:47 +0000 (+0200) Subject: tests: config.h lives in build directory X-Git-Tag: v2.26.2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e9c8bef5133bd07f362be1641105aedcdafac21;p=thirdparty%2Futil-linux.git tests: config.h lives in build directory Signed-off-by: Ruediger Meier --- 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