From: Arvin Schnell Date: Sat, 9 Feb 2013 11:48:03 +0000 (-0500) Subject: - added testcase X-Git-Tag: v0.1.3~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32c2ae878665f02bc6344e72619c5ce8ee777fff;p=thirdparty%2Fsnapper.git - added testcase --- diff --git a/testsuite-cmp/run-all b/testsuite-cmp/run-all index 24db137a..8c5bd7c0 100755 --- a/testsuite-cmp/run-all +++ b/testsuite-cmp/run-all @@ -21,3 +21,6 @@ ./cmp btrfs /testsuite 13 14 ./cmp btrfs /testsuite 14 13 +./cmp btrfs /testsuite 15 16 +./cmp btrfs /testsuite 16 15 + diff --git a/testsuite-cmp/setup b/testsuite-cmp/setup index 6b6d7a95..dd25bb4b 100755 --- a/testsuite-cmp/setup +++ b/testsuite-cmp/setup @@ -136,6 +136,21 @@ function test7() } +function test8() +{ + touch foo + + make_snapshot 15 + + rm foo + mkdir foo + + make_snapshot 16 + + rmdir foo +} + + btrfs subvolume create /testsuite btrfs subvolume create /testsuite/.snapshots @@ -148,4 +163,5 @@ test4 test5 test6 test7 +test8