Fix system test, use ${HOME}. #80

This commit is contained in:
Andrey Smirnov
2014-08-29 00:46:10 +04:00
parent 839763c0b9
commit b29d42d023
2 changed files with 2 additions and 1 deletions

View File

@@ -20,5 +20,5 @@ Source: nginx
Tag: network::server, protocol::http, role::program
Files in the pool:
/Users/smira/.aptly/pool/58/6a/nginx-full_1.2.1-2.2+wheezy2_amd64.deb
${HOME}/.aptly/pool/58/6a/nginx-full_1.2.1-2.2+wheezy2_amd64.deb

View File

@@ -32,6 +32,7 @@ class ShowPackage4Test(BaseTest):
"""
fixtureDB = True
outputMatchPrepare = lambda _, s: "\n".join(sorted(s.split("\n")))
gold_processor = BaseTest.expand_environ
runCmd = "aptly package show -with-files nginx-full_1.2.1-2.2+wheezy2_amd64"