From: Zdeněk Šustr Date: Mon, 14 Nov 2011 13:38:28 +0000 (+0000) Subject: Pass proxy lifetime if set X-Git-Tag: merge_30_head_take2_dst~35 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=288657d5ced29f8ab3f5ec55b560e05f1183a250;p=jra1mw.git Pass proxy lifetime if set --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common.sh b/org.glite.testsuites.ctb/LB/tests/lb-common.sh index 4dfc806..3733007 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common.sh @@ -132,7 +132,12 @@ function check_credentials_and_generate_proxy() { check_credentials if [ $? != 0 ]; then - ./lb-generate-fake-proxy.sh + if [ "$1" != "" ]; then + PROXYLIFE=" --hours $1" + else + PROXYLIFE="" + fi + ./lb-generate-fake-proxy.sh $PROXYLIFE if [ $? != 0 ]; then test_failed print_error "Proxy not created - process failed"