tests/ntfsv/tet_longDnObject_notification.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Send additional notification with shortDn for notificationObject and
notifyingObject but having extended SaNameT in AdditionalInfo, to test
whether the unadapted consumer can receives this notification but can not
retreive the AdditionalInfo

diff --git a/tests/ntfsv/tet_longDnObject_notification.c 
b/tests/ntfsv/tet_longDnObject_notification.c
--- a/tests/ntfsv/tet_longDnObject_notification.c
+++ b/tests/ntfsv/tet_longDnObject_notification.c
@@ -457,6 +457,11 @@ void extFillHeader(SaNtfNotificationHead
        ok_ids.ids[ok_ids.length++] = 
*myAlarmNotification.notificationHeader.notificationId;
        poll_until_received(ntfHandle, 
*myAlarmNotification.notificationHeader.notificationId);
 
+       /* Resend notification with short dn object header */
+       saAisNameLend(DEFAULT_NOTIFICATION_OBJECT, head->notificationObject);
+       saAisNameLend(DEFAULT_NOTIFYING_OBJECT, head->notifyingObject);
+       
safassert(saNtfNotificationSend(myAlarmNotification.notificationHandle), 
SA_AIS_OK);
+
        if(ntfRecieved.alarmFilterHandle != 1 ||
                ntfRecieved.attributeChangeFilterHandle != 0 ||
                ntfRecieved.objectCreateDeleteFilterHandle !=0 ||

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to