mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
System test on using complex query when importing.
This commit is contained in:
12
system/t09_repo/ImportRepo9Test_gold
Normal file
12
system/t09_repo/ImportRepo9Test_gold
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
Loading packages...
|
||||
[o] exim4_4.80-7_all imported
|
||||
[o] nginx-extras_1.2.1-2.2+wheezy2_amd64 imported
|
||||
[o] nginx-extras_1.2.1-2.2+wheezy2_i386 imported
|
||||
[o] nginx-full_1.2.1-2.2+wheezy2_amd64 imported
|
||||
[o] nginx-full_1.2.1-2.2+wheezy2_i386 imported
|
||||
[o] nginx-light_1.2.1-2.2+wheezy2_amd64 imported
|
||||
[o] nginx-light_1.2.1-2.2+wheezy2_i386 imported
|
||||
[o] nginx-naxsi-ui_1.2.1-2.2+wheezy2_all imported
|
||||
[o] nginx-naxsi_1.2.1-2.2+wheezy2_amd64 imported
|
||||
[o] nginx-naxsi_1.2.1-2.2+wheezy2_i386 imported
|
||||
@@ -119,3 +119,17 @@ class ImportRepo8Test(BaseTest):
|
||||
]
|
||||
runCmd = "aptly repo import wheezy-main repo1 pyspi"
|
||||
expectedCode = 1
|
||||
|
||||
|
||||
class ImportRepo9Test(BaseTest):
|
||||
"""
|
||||
import to local repo: import with complex query
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixtureCmds = [
|
||||
"aptly repo create -comment=Cool -distribution=squeeze repo1",
|
||||
]
|
||||
runCmd = "aptly repo import wheezy-main repo1 '(httpd, $$Source (=nginx)) | exim4'"
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
Reference in New Issue
Block a user