From 154d28dd99da6fd3aef2621ead327c09c0d87bb6 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Mon, 22 Feb 2016 14:59:57 +0800 Subject: [PATCH] btrfs-progs: misc-test: Add regression test for find-root gives empty result Add regression test for btrfs-find-root gives empty result even the fs is OK. Signed-off-by: Qu Wenruo [ enhanced test ] Signed-off-by: David Sterba --- .../first_meta_chunk.btrfs-image | Bin 0 -> 4096 bytes .../012-find-root-no-result/test.sh | 24 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/misc-tests/012-find-root-no-result/first_meta_chunk.btrfs-image create mode 100755 tests/misc-tests/012-find-root-no-result/test.sh diff --git a/tests/misc-tests/012-find-root-no-result/first_meta_chunk.btrfs-image b/tests/misc-tests/012-find-root-no-result/first_meta_chunk.btrfs-image new file mode 100644 index 0000000000000000000000000000000000000000..7bf6c50916f68ed00dae7627e848a91abf5455bb GIT binary patch literal 4096 zcmeH}doa}NAIGsQmda)AQE~}Ity*QRZLQcu=&WiZ6lHm`Zm zT3n2yw&wS*>oxV$eiHae;D3lf=vz4tvI6I_G|}vcg0qnKG;F%tzx=vT`LU|1Dwm&l zY#~&S$|xNUb(c-000fdb^0r&8Q5JKLui7G*TFq#n_)U;L@UhyJ+sKX4N}H3BiK-BI zDrdtrk7@#LFe&y|#|m>6UC%HQ~{*OZBlge z-LbiY;#jj&ovF$GF$dF!W4(-?XA#+ebabWZrc5i^VH2v|)HRZdF7YYt9r`|c+eH+k zApcb8LB1QfZ2Yv#ASQuJK zbCewXJOGlm&%~N98~6}aWNux>7>R@KaBc#FJH=a*g`+JRwkjz3p*J7r>@L#7&5-C4 zNAHIt<%etcS5E8Q9V4-Kwl#Pr58as&{jzq+{?!;oun808q}9qT+w1`tFmU)yK)km? zVF6zvwO$7S-+Gw`mn?Heipl2YjEO&yusO-wreN%sKBweZueh<8;@^vfh+}O=g=q^z z5wl+QFP?RNjv0*TcK2@+H1+gF3$P?*jd)BKmEF)jKEp(3gXfuf45m0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