SPEC-4816: Fix upload in agl-extend-test.sh
[src/qa-testdefinitions.git] / common / scripts / agl-screenshot-test.sh
index 01d8231..6d3762c 100755 (executable)
@@ -117,9 +117,10 @@ if [ "${REF_IMAGE_SHA1SUM}" == "${IMAGE_SHA1SUM}" ]; then
 else
        echo "Screenshot does not match the reference image"
        FINALRET=127
-       for i in agl-screenshot-*.png ; do
+       for i in /home/agl-driver/agl-screenshot-*.png ; do
                if [ -x ./artiproxy-upload.sh ];then
-                       ./artiproxy-upload.sh $i dumpjournal
+                       echo "DEBUG: upload screenshot $i"
+                       ./artiproxy-upload.sh $i $(basename $i)
                fi
        done
        echo "#########################"