From 373eb76018105a63d39e74856b8d19ed206c43ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 17 Feb 2018 19:53:53 -0500 Subject: [PATCH] tests: test picnit MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- tests/picnit.args | 4 ++++ tests/sav/picnit.res | 12 ++++++++++++ tests/sav/picnit_args2.res | 1 + tests/sav/picnit_args3.res | 1 + tests/sav/picnit_args4.res | 1 + tests/sav/picnit_args5.res | 1 + 6 files changed, 20 insertions(+) create mode 100644 tests/picnit.args create mode 100644 tests/sav/picnit.res create mode 100644 tests/sav/picnit_args2.res create mode 100644 tests/sav/picnit_args3.res create mode 100644 tests/sav/picnit_args4.res create mode 100644 tests/sav/picnit_args5.res diff --git a/tests/picnit.args b/tests/picnit.args new file mode 100644 index 0000000..35da5ee --- /dev/null +++ b/tests/picnit.args @@ -0,0 +1,4 @@ +install https://gitlab.com/xymus/hello_picnit.git +install hello_picnit +list +upgrade hello_picnit diff --git a/tests/sav/picnit.res b/tests/sav/picnit.res new file mode 100644 index 0000000..952c1c1 --- /dev/null +++ b/tests/sav/picnit.res @@ -0,0 +1,12 @@ +usage: picnit [options] + +commands: + install Install a package by its name or from a git-repository + list List installed packages + upgrade Upgrade a package + uninstall Uninstall a package + help Show general help message or the help for a command + +options: + --help, -h Show this help message + --verbose, -v Print more information diff --git a/tests/sav/picnit_args2.res b/tests/sav/picnit_args2.res new file mode 100644 index 0000000..8fba0b7 --- /dev/null +++ b/tests/sav/picnit_args2.res @@ -0,0 +1 @@ +Already installed diff --git a/tests/sav/picnit_args3.res b/tests/sav/picnit_args3.res new file mode 100644 index 0000000..81eb1a2 --- /dev/null +++ b/tests/sav/picnit_args3.res @@ -0,0 +1 @@ +hello_picnit example diff --git a/tests/sav/picnit_args4.res b/tests/sav/picnit_args4.res new file mode 100644 index 0000000..2a7bfed --- /dev/null +++ b/tests/sav/picnit_args4.res @@ -0,0 +1 @@ +Already up-to-date. diff --git a/tests/sav/picnit_args5.res b/tests/sav/picnit_args5.res new file mode 100644 index 0000000..2a7bfed --- /dev/null +++ b/tests/sav/picnit_args5.res @@ -0,0 +1 @@ +Already up-to-date. -- 1.7.9.5