mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
add test: snapshot empty mirror
This commit is contained in:
3
system/t05_snapshot/CreateSnapshot10Test_gold
Normal file
3
system/t05_snapshot/CreateSnapshot10Test_gold
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
Snapshot oh-snap successfully created.
|
||||||
|
You can run 'aptly publish snapshot oh-snap' to publish snapshot as Debian repository.
|
||||||
@@ -106,3 +106,14 @@ class CreateSnapshot9Test(BaseTest):
|
|||||||
"aptly repo create local-repo",
|
"aptly repo create local-repo",
|
||||||
]
|
]
|
||||||
runCmd = "aptly snapshot create snap9 from repo local-repo"
|
runCmd = "aptly snapshot create snap9 from repo local-repo"
|
||||||
|
|
||||||
|
|
||||||
|
class CreateSnapshot10Test(BaseTest):
|
||||||
|
"""
|
||||||
|
create snapshot: from empty mirror
|
||||||
|
"""
|
||||||
|
fixtureCmds = [
|
||||||
|
"aptly mirror create -ignore-signatures non-free http://repo.aptly.info/system-tests/security.debian.org/debian-security bookworm-security updates/non-free",
|
||||||
|
"aptly mirror update -ignore-signatures non-free"
|
||||||
|
]
|
||||||
|
runCmd = "aptly snapshot create oh-snap from mirror non-free"
|
||||||
|
|||||||
Reference in New Issue
Block a user