btrfs-progs: tests: Introduce subvolume sync test
authorZhao Lei <zhaolei@cn.fujitsu.com>
Fri, 28 Aug 2015 03:42:11 +0000 (11:42 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:14 +0000 (19:25 +0200)
commitf7ad593ca0561c799c2c3cb25f4ecc1c99913440
treea9d0a9009f7a30dd97e870a60e96a8570a739e92
parent657e520a111601918feff9ce957ea19d9b18d0dd
btrfs-progs: tests: Introduce subvolume sync test

Current code have following bug for subvolume sync:
1: If there are more than 1 subvolume to sync, the program will
   infinitely loop.
2: return !0 in exit

This patch add misc-tests/007-subvolume-sync for above case.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/misc-tests/007-subvolume-sync/test.sh [new file with mode: 0755]