diff options
| author | Fabien Catteau <fcatteau@gitlab.com> | 2019-06-12 15:27:49 +0000 |
|---|---|---|
| committer | Olivier Gonzalez <ogonzalez@gitlab.com> | 2019-06-12 15:27:49 +0000 |
| commit | 738801c4253c0076183153ebba1f33dd0d2a576f (patch) | |
| tree | ddcc18ee0fb2e376e770657b68c827548c9326c7 /test/test.sh | |
| parent | c1eff826603590c83778ff8c2e8aa018df5c0e73 (diff) | |
Add Python 3 project to QA
Diffstat (limited to 'test/test.sh')
| -rwxr-xr-x | test/test.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index ed4d8e9..042adc3 100755 --- a/test/test.sh +++ b/test/test.sh @@ -3,7 +3,8 @@ set -e project=$1 -ref=$2 +results=$2 +ref=$3 url="https://gitlab.com/gitlab-org/security-products/tests/$project.git" # Clone the test repository. @@ -21,4 +22,4 @@ mkdir -p /results/ cp "/code/$project/gl-license-management-report.json" "/results/$project-gl-license-management-report.json" # Compare results with expected results. -diff -u "/code/$project/gl-license-management-report.json" "/test/results/$project.json" +diff -u "/code/$project/gl-license-management-report.json" "/test/results/$results.json" |
