From: Zdeněk Šustr Date: Tue, 11 Oct 2011 11:31:42 +0000 (+0000) Subject: Extended to regression-test bug #86772 X-Git-Tag: before_mechglue_support~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=52271181571424f349ea60926423d36732f52ebf;p=jra1mw.git Extended to regression-test bug #86772 --- 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 d1e82dc..59ea11b 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh @@ -168,6 +168,17 @@ else $SYS_RM $$_notifications.txt + #Regress #86772 + printf "Trying to drop invalid NotiID (regression test for bug #86772)..." + ${LBNOTIFY} drop ${jobid} 2>&1 | ${SYS_GREP} "Invalid" > /dev/null + if [ $? = 0 ]; then + printf " EINVAL" + test_done + else + printf " no error reported!" + test_failed + fi + #Drop notification printf "Dropping the test notification (${notifid})" dropresult=`${LBNOTIFY} drop ${notifid} 2>&1`