From: Zdeněk Šustr Date: Tue, 28 Feb 2012 15:23:42 +0000 (+0000) Subject: - No need to specify notify receive timout (enforced externally) X-Git-Tag: glite-px-myproxy-yaim_R_4_1_6_2~14 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=4d8178d3f4449353e59693e03ba9a7898af4957b;p=jra1mw.git - No need to specify notify receive timout (enforced externally) - Check for validity period in notification listings to distinguish from job listing --- 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 9a1b920..236041c 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-https.sh @@ -225,6 +225,16 @@ test_done test_done fi + printf "Checking for validity period (to distinguis from job listing)... " + $SYS_GREP -E "Valid until:[0-9 :-]+" https.$$.tmp > /dev/null 2> /dev/null + + if [ "$?" != "0" ]; then + test_failed + print_error "Validity period inot listed" + else + test_done + fi + $SYS_RM https.$$.tmp fi diff --git a/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh b/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh index a4ae748..44cbfd7 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh @@ -145,7 +145,7 @@ else test_done #Start listening for notifications - ${LBNOTIFY} receive -i 10 ${notifid} > $$_notifications.txt & + ${LBNOTIFY} receive ${notifid} > $$_notifications.txt & recpid=$! disown $recpid