diff options
| author | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-05 20:21:44 +0000 |
|---|---|---|
| committer | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-05 20:21:44 +0000 |
| commit | f21e2f545ea81cda9d6691d87000e247189b9dbf (patch) | |
| tree | 29e24a0e612573f34999628f2f6f161e8586011d /run.sh | |
| parent | 50e15d06701014530e8a6379b3172edd85d011ed (diff) | |
| parent | 094281bd8b2a6ca9d4bb5aec720f165694ee472e (diff) | |
Merge branch 'leipert-add-more-tests' into 'master'
Add more tests
See merge request gitlab-org/security-products/license-management!12
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ $(basename "$0") [-h] $(basename "$0") analyze PROJECT_PATH -$(basename "$0") test +$(basename "$0") test PROJECT_NAME PROJECT_REF where: -h show this help text @@ -60,7 +60,7 @@ if [ "$COMMAND" = "analyze" -a $# -ne 1 ] ; then exit 1 fi -if [ "$COMMAND" = "test" -a $# -ne 0 ] ; then +if [ "$COMMAND" = "test" -a $# -ne 2 ] ; then echo "$usage" exit 1 fi @@ -69,7 +69,7 @@ fi case "$COMMAND" in test) # Run integration tests. - exec /test/test.sh + exec /test/test.sh $1 $2 ;; analyze) |
