mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: do not unmount tmpfs during remount
Several tests unmount then re-mount the scratch filesystem, to check that the content is unchanged; but unmounting a tmpfs is designed to lose its content, which causes such tests to fail unnecessarily. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Junho Ryu <jayr@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
@@ -5,15 +5,13 @@ wrote 5120/5120 bytes at offset 0
|
||||
wrote 5120/5120 bytes at offset 5120
|
||||
wrote 5120/5120 bytes at offset 10240
|
||||
stat.size = 15360
|
||||
# unmounting scratch
|
||||
# mounting scratch
|
||||
# remounting scratch
|
||||
# stating file to confirm correct size
|
||||
stat.size = 15360
|
||||
# appending 10 bytes to new file, sync at 5 bytes
|
||||
wrote 5/5 bytes at offset 0
|
||||
wrote 5/5 bytes at offset 5
|
||||
stat.size = 10
|
||||
# unmounting scratch
|
||||
# mounting scratch
|
||||
# remounting scratch
|
||||
# stating file to confirm correct size
|
||||
stat.size = 10
|
||||
|
||||
Reference in New Issue
Block a user