mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
4a5cda8102
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>
18 lines
496 B
Plaintext
18 lines
496 B
Plaintext
QA output created by 169
|
|
# creating new file for io
|
|
# appending 15k to new file, sync every 5k
|
|
wrote 5120/5120 bytes at offset 0
|
|
wrote 5120/5120 bytes at offset 5120
|
|
wrote 5120/5120 bytes at offset 10240
|
|
stat.size = 15360
|
|
# 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
|
|
# remounting scratch
|
|
# stating file to confirm correct size
|
|
stat.size = 10
|