diff --git a/system/t10_task/RunTask1Test_gold b/system/t10_task/RunTask1Test_gold new file mode 100644 index 00000000..3134ad6b --- /dev/null +++ b/system/t10_task/RunTask1Test_gold @@ -0,0 +1,34 @@ +1) [Running]: repo list + +Begin command output: ---------------------------- +  +No local repositories found, create one with `aptly repo create ...`. + +End command output: ------------------------------ +  +2) [Running]: repo create local + +Begin command output: ---------------------------- +  + +Local repo [local] successfully added. +You can run 'aptly repo add local ...' to add packages to repository. + +End command output: ------------------------------ +  +3) [Running]: repo drop local + +Begin command output: ---------------------------- +  +Local repo `local` has been removed. + +End command output: ------------------------------ +  +4) [Running]: version + +Begin command output: ---------------------------- +  +aptly version: 0.8~dev + +End command output: ------------------------------ +  diff --git a/system/t10_task/__init__.py b/system/t10_task/__init__.py new file mode 100644 index 00000000..00d32dc8 --- /dev/null +++ b/system/t10_task/__init__.py @@ -0,0 +1,5 @@ +""" +Test aptly task run +""" + +from .run import * diff --git a/system/t10_task/run.py b/system/t10_task/run.py new file mode 100644 index 00000000..0633ff15 --- /dev/null +++ b/system/t10_task/run.py @@ -0,0 +1,9 @@ +from lib import BaseTest + + +class RunTask1Test(BaseTest): + """ + output should match + """ + + runCmd = "aptly task run repo list, repo create local, repo drop local, version"