mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-19 19:28:22 +00:00
Cleanup after local repo.
This commit is contained in:
7
system/t08_db/CleanupDB8Test_gold
Normal file
7
system/t08_db/CleanupDB8Test_gold
Normal file
@@ -0,0 +1,7 @@
|
||||
Loading mirrors, local repos and snapshots...
|
||||
Loading list of all packages...
|
||||
Deleting unreferenced packages (3)...
|
||||
Building list of files referenced by packages...
|
||||
Building list of files in package pool...
|
||||
Deleting unreferenced files (5)...
|
||||
Disk space freed: 0.00 GiB...
|
||||
@@ -81,14 +81,14 @@ class CleanupDB7Test(BaseTest):
|
||||
]
|
||||
runCmd = "aptly db cleanup"
|
||||
|
||||
# TODO: when repo drop is added
|
||||
# class CleanupDB8Test(BaseTest):
|
||||
# """
|
||||
# cleanup db: local repos dropped
|
||||
# """
|
||||
# fixtureCmds = [
|
||||
# "aptly repo create local-repo",
|
||||
# "aptly repo add local-repo ${files}",
|
||||
# "aptly repo drop local-repo",
|
||||
# ]
|
||||
# runCmd = "aptly db cleanup"
|
||||
|
||||
class CleanupDB8Test(BaseTest):
|
||||
"""
|
||||
cleanup db: local repos dropped
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly repo create local-repo",
|
||||
"aptly repo add local-repo ${files}",
|
||||
"aptly repo drop local-repo",
|
||||
]
|
||||
runCmd = "aptly db cleanup"
|
||||
|
||||
Reference in New Issue
Block a user