mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
9890a9a98f
Related to http://oss.sgi.com/bugzilla/show_bug.cgi?id=801 Latest patch posted on that bug makes this testcase pass... first 2 tests are simple buffred writ tests making sure stale data isn't exposed, and hole-blocks aren't mapped. 2nd 2 tests are more related to the above bug, tricky testcase uncovered by fsx on ppc64 which actually re-maps a block which should be a hole, bringing stale data back into existence. V2, don't use non-posix awk extensions Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>
60 lines
981 B
Plaintext
60 lines
981 B
Plaintext
QA output created by 194
|
|
== Test 1 ==
|
|
SCRATCH_MNT/testfile1:
|
|
EXT: TYPE TOTAL
|
|
0: blocks 1
|
|
1: hole 7
|
|
1111 1111 1111 1111 1111 1111 1111 1111
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
|
|
== Test 2 ==
|
|
SCRATCH_MNT/testfile2:
|
|
EXT: TYPE TOTAL
|
|
0: blocks 1
|
|
1: hole 3
|
|
2: blocks 1
|
|
3: hole 3
|
|
1111 1111 1111 1111 1111 1111 1111 1111
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
2222 2222 2222 2222 2222 2222 2222 2222
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
|
|
== Test 3 ==
|
|
SCRATCH_MNT/testfile3:
|
|
EXT: TYPE TOTAL
|
|
0: blocks 1
|
|
1: hole 3
|
|
2: blocks 1
|
|
1111 1111 1111 1111 1111 1111 1111 1111
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
2222 2222 2222 2222 2222 2222 2222 2222
|
|
*
|
|
|
|
== Test 4 ==
|
|
SCRATCH_MNT/testfile4:
|
|
EXT: TYPE TOTAL
|
|
0: blocks 1
|
|
1: hole 1
|
|
2: blocks 1
|
|
3: hole 1
|
|
4: blocks 1
|
|
1111 1111 1111 1111 1111 1111 1111 1111
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
3333 3333 3333 3333 3333 3333 3333 3333
|
|
*
|
|
0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
2222 2222 2222 2222 2222 2222 2222 2222
|
|
*
|
|
|