Test on snapshot listing with local repo.

This commit is contained in:
Andrey Smirnov
2014-02-27 17:48:32 +04:00
parent a08cbc2edc
commit a45d2f3ce9
2 changed files with 4 additions and 0 deletions
@@ -3,5 +3,6 @@ List of snapshots:
* [snap2]: Snapshot from mirror [wheezy-contrib]: http://mirror.yandex.ru/debian/ wheezy * [snap2]: Snapshot from mirror [wheezy-contrib]: http://mirror.yandex.ru/debian/ wheezy
* [snap3]: Merged from sources: 'snap1', 'snap2' * [snap3]: Merged from sources: 'snap1', 'snap2'
* [snap4]: Pulled into 'snap1' with 'snap2' as source, pull request was: 'mame unrar' * [snap4]: Pulled into 'snap1' with 'snap2' as source, pull request was: 'mame unrar'
* [snap5]: Snapshot from local repo [local-repo]
To get more information about snapshot, run `aptly snapshot show <name>`. To get more information about snapshot, run `aptly snapshot show <name>`.
+3
View File
@@ -11,6 +11,9 @@ class ListSnapshot1Test(BaseTest):
"aptly snapshot create snap2 from mirror wheezy-contrib", "aptly snapshot create snap2 from mirror wheezy-contrib",
"aptly snapshot merge snap3 snap1 snap2", "aptly snapshot merge snap3 snap1 snap2",
"aptly snapshot pull snap1 snap2 snap4 mame unrar", "aptly snapshot pull snap1 snap2 snap4 mame unrar",
"aptly repo create local-repo",
"aptly repo add local-repo ${files}",
"aptly snapshot create snap5 from repo local-repo",
] ]
runCmd = "aptly snapshot list" runCmd = "aptly snapshot list"