diff options
author | Karel Zak | 2011-07-25 15:54:28 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-25 15:54:28 +0200 |
commit | 94947a1971b5dbdf1414eb5356b9b554cdbf4ab5 (patch) | |
tree | 9bb61c3f154ddfab11f8aeb77d1d556ae9364de6 /tests/ts/libmount/context | |
parent | libmount: remove 'seclabel' on remount, improve for 2.6.39 (diff) | |
download | kernel-qcow2-util-linux-94947a1971b5dbdf1414eb5356b9b554cdbf4ab5.tar.gz kernel-qcow2-util-linux-94947a1971b5dbdf1414eb5356b9b554cdbf4ab5.tar.xz kernel-qcow2-util-linux-94947a1971b5dbdf1414eb5356b9b554cdbf4ab5.zip |
tests: add -o remount to libmount tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libmount/context')
-rwxr-xr-x | tests/ts/libmount/context | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index b63f8c55a..8119ceec7 100755 --- a/tests/ts/libmount/context +++ b/tests/ts/libmount/context @@ -106,6 +106,10 @@ $TESTPROG --mount -o ro,noexec,nosuid,strictatime $DEVICE $MOUNTPOINT >> $TS_OUT $TS_CMD_FINDMNT --kernel $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1 grep -q $DEVICE $LIBMOUNT_MTAB || \ echo "cannot found $DEVICE in $LIBMOUNT_MTAB" >> $TS_OUTPUT 2>&1 + +$TESTPROG --mount -o remount,rw $MOUNTPOINT >> $TS_OUTPUT 2>&1 +$TS_CMD_FINDMNT --kernel $MOUNTPOINT -o VFS-OPTIONS -n >> $TS_OUTPUT 2>&1 + $TESTPROG --umount $MOUNTPOINT >> $TS_OUTPUT 2>&1 grep -q $DEVICE $LIBMOUNT_MTAB && echo "umount failed: found $DEVICE in $LIBMOUNT_MTAB" >> $TS_OUTPUT 2>&1 |