make script download source files of canl examples
authorMarcel Poul <marcel.poul@cern.ch>
Thu, 16 Feb 2012 18:22:34 +0000 (18:22 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Thu, 16 Feb 2012 18:22:34 +0000 (18:22 +0000)
org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh
org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh

index 42a3e20..1a577b9 100755 (executable)
@@ -116,8 +116,6 @@ function check_credentials_and_generate_proxy()
                        print_error "Credentials still not passing check"
                        return 2
                fi
-       else
-               test_done
        fi
        return 0
 }
index 59bf364..4ac7673 100755 (executable)
@@ -79,6 +79,12 @@ done
 
 {
 test_start
+printf "Downloading canl examples sources"
+wget -q -O canl_examples.tar.gz \
+       'http://jra1mw.cvs.cern.ch:8180/cgi-bin/jra1mw.cgi/emi.canl.canl-c/examples.tar.gz?view=tar' &> /dev/null || exit 1
+tar xzf canl_examples.tar.gz || exit 1
+test_done
+rm -rf canl_examples.tar.gz
 
 # check_binaries
 printf "Testing if all binaries are available"