Rename _test_mount to _test_cycle_mount
authorTheodore Ts'o <tytso@mit.edu>
Thu, 18 Feb 2016 23:45:04 +0000 (10:45 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:45:04 +0000 (10:45 +1100)
commitdddae984bc9cb32f491d412890d60a3048d1f31a
tree235df50578c011bd0c691f252fe7f3e59f3619f0
parent76c21d68150dc6a726997edebefeb477ea07cc78
Rename _test_mount to _test_cycle_mount

This makes it clear when we are using "mount ; umount" versus "mount
-o remount" for most file systems.  The reason for this distinction is
(a) tests may want to test the difference between what happens on the
remount versus the munt paths, (b) with tmpfs, "mount ; umount" will
cause the contents of all of the files to disappear which makes many
tests sad, and (c) some mount options may not be changed using "mount
-o remount".

Currently _test_mount performs "_test_mount ; _test_umount"
so mechnically rename this function to _test_cycle_mount.  This was
done mechnically using the script fragment:

git grep -E "_test_remount" | \
awk -F: '{print $1}' | sort -u | grep -v tests/xfs/189 \
xargs sed -i 's/_test_remount/_test_cycle_mount/g'

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
37 files changed:
common/rc
tests/generic/013
tests/generic/116
tests/generic/118
tests/generic/119
tests/generic/121
tests/generic/122
tests/generic/134
tests/generic/136
tests/generic/137
tests/generic/138
tests/generic/139
tests/generic/140
tests/generic/142
tests/generic/143
tests/generic/144
tests/generic/145
tests/generic/146
tests/generic/147
tests/generic/148
tests/generic/149
tests/generic/150
tests/generic/151
tests/generic/152
tests/generic/153
tests/generic/154
tests/generic/155
tests/generic/156
tests/generic/178
tests/generic/179
tests/generic/180
tests/generic/181
tests/generic/182
tests/generic/303
tests/generic/304
tests/xfs/128
tests/xfs/132