btrfs: add test for btrfs send with long paths
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 27 May 2014 02:07:03 +0000 (12:07 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 27 May 2014 02:07:03 +0000 (12:07 +1000)
commite7dd9f1ce02478cefe439db0f1a66d2f8aa5cfff
tree189ad8475fd6d35965c4a7f70dc512eebfa2add0
parent9b7f704ca31a3324b685749f7a733ca2111f0db8
btrfs: add test for btrfs send with long paths

Regression test for btrfs send where long paths (exceeding 230 characters)
made send produce paths with random characters from a memory buffer returned
by kmalloc, as send forgot to populate the new buffer with the path string.

This issue is fixed by the following linux kernel btrfs patch:

   Btrfs: send, fix corrupted path strings for long paths

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/051 [new file with mode: 0755]
tests/btrfs/051.out [new file with mode: 0644]
tests/btrfs/group