summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount/context
diff options
context:
space:
mode:
authorKarel Zak2016-04-15 11:29:22 +0200
committerKarel Zak2016-04-15 11:29:22 +0200
commit3904d876368f049fc2cf8ffcb6db9e7493e9cfe5 (patch)
treee5e94cb32eb21f41dc12baa359a08b6b7cab3f37 /tests/ts/libmount/context
parentumount: add note about FS names differences to the man page (diff)
downloadkernel-qcow2-util-linux-3904d876368f049fc2cf8ffcb6db9e7493e9cfe5.tar.gz
kernel-qcow2-util-linux-3904d876368f049fc2cf8ffcb6db9e7493e9cfe5.tar.xz
kernel-qcow2-util-linux-3904d876368f049fc2cf8ffcb6db9e7493e9cfe5.zip
tests: remove USE_LIBMOUNT_FORCE_MOUNTINFO
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libmount/context')
-rwxr-xr-xtests/ts/libmount/context5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context
index d0d1c3d5f..2566ccb53 100755
--- a/tests/ts/libmount/context
+++ b/tests/ts/libmount/context
@@ -35,9 +35,10 @@ $TS_CMD_UMOUNT $MOUNTPOINT &> /dev/null
ts_scsi_debug_init dev_size_mb=100
DEVNAME=$(basename $TS_DEVICE)
-grep -q '#define USE_LIBMOUNT_FORCE_MOUNTINFO' ${top_builddir}/config.h
+MOUNTINFO_ONLY=yes
+grep -q '#define USE_LIBMOUNT_SUPPORT_MTAB' ${top_builddir}/config.h
if [ $? == 0 ]; then
- MOUNTINFO_ONLY=yes
+ MOUNTINFO_ONLY=no
fi
ts_log "Create partitions"