mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
0c58766aac
This testscript creates reflinks to files on different subvolumes, overwrites the original files and reflinks, and moves reflinked files between subvolumes. Signed-off-by: Koen De Wit <koen.de.wit@oracle.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Dave Chinner <david@fromorbit.com>
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
QA output created by 031
|
|
Create initial files
|
|
Create reflinks to the initial files on other subvolumes
|
|
Verify the reflinks
|
|
Verify the file contents:
|
|
file1:
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
file2:
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
file3:
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
---
|
|
Overwrite some files with new content
|
|
Verify that non-overwritten reflinks still have the same data blocks
|
|
Verify the file contents:
|
|
file1:
|
|
00d620f69f30327f0f8946b95c12de44
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
file2:
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
917619ae44b38bb9968af261c3c45440
|
|
file3:
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
b9f275cd638cb784c9e61def94c622a8
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
---
|
|
Shuffle files between directories
|
|
Verify the file contents:
|
|
file1:
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
e09c80c42fda55f9d992e59ca6b3307d
|
|
00d620f69f30327f0f8946b95c12de44
|
|
file2:
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
917619ae44b38bb9968af261c3c45440
|
|
d7402b46310fbbfbc5e466b1dccb043b
|
|
file3:
|
|
b9f275cd638cb784c9e61def94c622a8
|
|
5a95800e4c04b11117aa4e4de057721f
|
|
5a95800e4c04b11117aa4e4de057721f
|