From: Alexis Laferrière Date: Sun, 18 Feb 2018 00:53:53 +0000 (-0500) Subject: tests: test picnit X-Git-Url: http://nitlanguage.org tests: test picnit Signed-off-by: Alexis Laferrière --- 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.