Files
apfstests/tests/btrfs/027.out
T
Koen De Wit 890bc11974 btrfs: sparse copy of a directory tree on btrfs
Tests file clone functionality of btrfs ("reflinks") on directory trees.
   - Create directory and subdirectory, each having one file
   - Create 2 recursive reflinked copies of the tree
   - Modify the original files
   - Modify one of the copies

[sandeen: mostly cosmetic changes]

Signed-off-by: Koen De Wit <koen.de.wit@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2014-01-20 13:56:36 +11:00

26 lines
1.4 KiB
Plaintext

QA output created by 027
Create the original files and reflink dirs
Original md5sums:
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/original/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/original/subdir/file2
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy1/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy1/subdir/file2
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2
Overwrite original/file1 and original/subdir/file2 with new data
md5sums now:
260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-027/original/file1
b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-027/original/subdir/file2
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy1/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy1/subdir/file2
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2
Overwrite copy1/file1 and copy1/subdir/file2 with new data
md5sums now:
260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-027/original/file1
b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-027/original/subdir/file2
b20229a003e3985c4b0e6806abcd6642 TEST_DIR/test-027/copy1/file1
b815b24069db14e0a3a07169fd563e93 TEST_DIR/test-027/copy1/subdir/file2
42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2