Snapshot merge tests.

This commit is contained in:
Andrey Smirnov
2014-01-24 19:24:20 +04:00
parent 17f5afb494
commit 5a9e13265f
12 changed files with 114810 additions and 0 deletions
+12
View File
@@ -60,3 +60,15 @@ class DiffSnapshot5Test(BaseTest):
]
runCmd = "aptly snapshot diff -only-matching snap-no snap2"
expectedCode = 1
class DiffSnapshot6Test(BaseTest):
"""
diff two snapshots: identical snapshots
"""
fixtureDB = True
fixtureCmds = [
"aptly snapshot create snap1 from mirror wheezy-main",
"aptly snapshot create snap2 from mirror wheezy-main",
]
runCmd = "aptly snapshot diff snap1 snap2"