From 80a5ba2d34af2deb5c9512d804dc46a926b09dee Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Thu, 16 Feb 2012 18:22:34 +0000 Subject: [PATCH] make script download source files of canl examples --- org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh | 2 -- org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh b/org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh index 42a3e20..1a577b9 100755 --- a/org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh +++ b/org.glite.testsuites.ctb/CANL-C/tests/canl-common.sh @@ -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 } diff --git a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh index 59bf364..4ac7673 100755 --- a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh +++ b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh @@ -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" -- 1.8.2.3