From ef46e7b4dd6ad6b8b934ba8062b906f4e20bf314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Fri, 17 Feb 2012 10:23:14 +0000 Subject: [PATCH] Check stats output for file location warning. --- org.glite.testsuites.ctb/LB/tests/lb-test-https.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 1.8.2.3