summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorPhilippe Lafoucrière <plafoucriere@gitlab.com>2019-04-02 20:08:46 -0400
committerPhilippe Lafoucrière <plafoucriere@gitlab.com>2019-04-02 20:18:57 -0400
commit7eaab683aec5f52ce2bdd71f4d0629af9a0fbdba (patch)
tree5d1278ca07b9d9e063943f5f95a5793d51dbe70f /test/test.sh
parentfcb86eb43980c3cf7dc66cdd78b67b83e8666c82 (diff)
Fix java-maven expectations
- The commit used doesn't exist anymore. - The expectations file was outdated. - The test script was silently failing when the `git checkout` command failed.
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 40c29f0..ed4d8e9 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -13,7 +13,7 @@ git clone "$url" "/code/$project"
# Run license management on it.
echo "Running license management on the $project with ref $ref"
cd "/code/$project"
-git checkout "$ref" 2> /dev/null
+git checkout "$ref" 1> /dev/null
/run.sh analyze .
# In order to upload the artifact to check it manually