]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added testcase
authorArvin Schnell <aschnell@suse.de>
Sat, 9 Feb 2013 11:48:03 +0000 (06:48 -0500)
committerArvin Schnell <aschnell@suse.de>
Sat, 9 Feb 2013 11:48:03 +0000 (06:48 -0500)
testsuite-cmp/run-all
testsuite-cmp/setup

index 24db137a7eae6c3f3b5a5da0482ce208ca058b0c..8c5bd7c08b64f46f93d95a769062578d982b8269 100755 (executable)
@@ -21,3 +21,6 @@
 ./cmp btrfs /testsuite 13 14
 ./cmp btrfs /testsuite 14 13
 
+./cmp btrfs /testsuite 15 16
+./cmp btrfs /testsuite 16 15
+
index 6b6d7a95900a19a26af57bb0ce474ffb8616ffec..dd25bb4bd8976ee118705360f9a86de1593e73f7 100755 (executable)
@@ -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