From 52271181571424f349ea60926423d36732f52ebf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 11 Oct 2011 11:31:42 +0000 Subject: [PATCH] Extended to regression-test bug #86772 --- org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) 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` -- 1.8.2.3