generic/013: encapsulate remount during cleanup
authorPavel Shilovsky <pshilovsky@samba.org>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
commitcf02f80a95569db6b6aaffb47b0c38d5b4f64c5e
tree41d86ed0ed3d9c8f99e30ca52bcb73f39b055c3c
parent29b679e7ebaba8df7d2503e62a2f0b4acef03af8
generic/013: encapsulate remount during cleanup

The existing code calls remount for $TEST_DEV with constantly defined
mount options. This can fail if a user specifies different mount options.
Fix this by using new _test_remount() call that remounts $TEST_DEV.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Reviewed-by: Steve French <smfrench@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/generic/013