mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Remove -dry-run flag for aptly snapshot filter, as it is useless. #82
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
Loading packages (4742)...
|
||||
Building indexes...
|
||||
|
||||
Not creating snapshot, as dry run was requested.
|
||||
@@ -1,4 +0,0 @@
|
||||
List of snapshots:
|
||||
* [snap1]: Snapshot from mirror [wheezy-backports]: http://mirror.yandex.ru/debian/ wheezy-backports
|
||||
|
||||
To get more information about snapshot, run `aptly snapshot show <name>`.
|
||||
@@ -56,21 +56,6 @@ class FilterSnapshot3Test(BaseTest):
|
||||
self.check_cmd_output("aptly snapshot show -with-packages snap2", "snapshot_show", match_prepare=remove_created_at)
|
||||
|
||||
|
||||
class FilterSnapshot4Test(BaseTest):
|
||||
"""
|
||||
filter snapshot: dry-run
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror wheezy-backports",
|
||||
]
|
||||
runCmd = "aptly snapshot filter -dry-run snap1 snap2 'rsyslog (>= 7.4.4)'"
|
||||
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly snapshot list", "snapshot_list")
|
||||
|
||||
|
||||
class FilterSnapshot5Test(BaseTest):
|
||||
"""
|
||||
filter snapshot: no such snapshot
|
||||
|
||||
Reference in New Issue
Block a user