summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount/context
diff options
context:
space:
mode:
authorKarel Zak2017-03-31 14:00:24 +0200
committerKarel Zak2017-03-31 14:00:24 +0200
commiteff2c9a42621b4cba81a81bc78f431b00e8a2968 (patch)
tree6ff934876b0e1a2a8fc57974c495c1677c3bd695 /tests/ts/libmount/context
parentutmpdump: remove unnecessary variable (diff)
downloadkernel-qcow2-util-linux-eff2c9a42621b4cba81a81bc78f431b00e8a2968.tar.gz
kernel-qcow2-util-linux-eff2c9a42621b4cba81a81bc78f431b00e8a2968.tar.xz
kernel-qcow2-util-linux-eff2c9a42621b4cba81a81bc78f431b00e8a2968.zip
tests: add --mountpoint to findmnt calls
... if necessary to make things more robust. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libmount/context')
-rwxr-xr-xtests/ts/libmount/context4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context
index 2d85dbb59..1bd42dc5f 100755
--- a/tests/ts/libmount/context
+++ b/tests/ts/libmount/context
@@ -119,11 +119,11 @@ ts_finalize_subtest
ts_init_subtest "mount-flags"
mkdir -p $MOUNTPOINT &> /dev/null
ts_valgrind $TESTPROG --mount -o ro,noexec,nosuid,strictatime $DEVICE $MOUNTPOINT >> $TS_OUTPUT 2>&1
-$TS_CMD_FINDMNT --kernel $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1
+$TS_CMD_FINDMNT --kernel --mountpoint $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1
is_mounted $DEVICE || echo "$DEVICE not mounted" >> $TS_OUTPUT 2>&1
ts_valgrind $TESTPROG --mount -o remount,rw $MOUNTPOINT >> $TS_OUTPUT 2>&1
-$TS_CMD_FINDMNT --kernel $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1
+$TS_CMD_FINDMNT --kernel --mountpoint $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1
ts_valgrind $TESTPROG --umount $MOUNTPOINT >> $TS_OUTPUT 2>&1
is_mounted $DEVICE && echo "$DEVICE still mounted" >> $TS_OUTPUT 2>&1