From: Zdeněk Šustr Date: Fri, 17 Feb 2012 10:23:14 +0000 (+0000) Subject: Check stats output for file location warning. X-Git-Tag: gridsite-core_R_1_7_17~82 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=ef46e7b4dd6ad6b8b934ba8062b906f4e20bf314;p=jra1mw.git Check stats output for file location warning. --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh b/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh index 35eeec6..9a1b920 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh @@ -337,6 +337,14 @@ test_done print_error "Value $item not returned" fi done + printf "Checking stat file location... " + grep -i -E "[ \t]*WARNING" https.$$.tmp > /dev/null + if [ $? -eq 0 ]; then + printf "Files are in tmp!" + test_warning + else + test_done + fi else test_failed print_error "Statistics not returned"