Imported Upstream version 1.0.1

This commit is contained in:
Sébastien Delafond committed 2017-07-18 11:45:29 +02:00
1 parent 1ee35b841d
commit 4f12259bc0
5531 files changed
+1834599 -742844

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
from lib import BaseTest
class RunTask1Test(BaseTest):
"""
task run: simple commands, 1-word command
"""
gold_processor = BaseTest.expand_environ
runCmd = "aptly task run repo list, repo create local, repo drop local, version"
class RunTask2Test(BaseTest):
"""
task run: commands with args
"""
runCmd = "aptly task run -- repo list -raw, repo create local, repo list"
class RunTask3Test(BaseTest):
"""
task run: failure
"""
expectedCode = 1
runCmd = "aptly task run -- repo show a, repo create local, repo list"
class RunTask4Test(BaseTest):
"""
task run: from file
"""
runCmd = "aptly task run -filename=${testfiles}/task"
class RunTask5Test(BaseTest):
"""
task run: from file not found
"""
expectedCode = 1
runCmd = "aptly task run -filename=not_found"