mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
cd3908f4dc
Using copy to overwrite data in the destination file is perfectly valid, so let's make sure this case works as expected. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
18 lines
751 B
Plaintext
18 lines
751 B
Plaintext
QA output created by 432
|
|
Create the original file and then copy
|
|
Original md5sums:
|
|
e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-432/file
|
|
e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-432/copy
|
|
Swap beginning and end of original file
|
|
md5sums after swapping beginning and end:
|
|
e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-432/file
|
|
5f4e111811dd9a810143c9db9bec6d80 TEST_DIR/test-432/copy
|
|
Swap middle parts of original file
|
|
md5sums after swapping middle:
|
|
e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-432/file
|
|
8c81889a5a50b311197110bcf769a695 TEST_DIR/test-432/copy
|
|
Copy tail of original file onto copy
|
|
md5sums after copying tail:
|
|
e11fbace556cba26bf0076e74cab90a3 TEST_DIR/test-432/file
|
|
e5fbacd993eaa5e80ebc2b14b969887d TEST_DIR/test-432/copy
|