mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
System test on pulling latest version by default. #67
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Dependencies would be pulled into snapshot:
|
||||
[empty]: Created as empty
|
||||
from snapshot:
|
||||
[sensu]: Snapshot from mirror [sensu]: http://repos.sensuapp.org/apt/ sensu
|
||||
and result would be saved as new snapshot destination.
|
||||
Loading packages (154)...
|
||||
Building indexes...
|
||||
[+] sensu_0.12.6-5_amd64 added
|
||||
[+] sensu_0.12.6-5_i386 added
|
||||
|
||||
Snapshot destination successfully created.
|
||||
You can run 'aptly publish snapshot destination' to publish snapshot as Debian repository.
|
||||
@@ -195,3 +195,15 @@ class PullSnapshot11Test(BaseTest):
|
||||
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly snapshot show -with-packages snap3", "snapshot_show", match_prepare=remove_created_at)
|
||||
|
||||
|
||||
class PullSnapshot12Test(BaseTest):
|
||||
"""
|
||||
pull snapshot: latest version is pulled by default
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create empty empty",
|
||||
"aptly snapshot create sensu from mirror sensu",
|
||||
]
|
||||
runCmd = "aptly snapshot pull -architectures=amd64,i386 empty sensu destination sensu"
|
||||
|
||||
Reference in New Issue
Block a user