From 05dfd6025227d5c77d13894271b6dda0e0e77b1e Mon Sep 17 00:00:00 2001
From: madiot <madiot@localhost>
Date: Wed, 30 Sep 2009 13:39:46 +0000
Subject: [PATCH] fixing wrong expected result as per RFC 4515

---
 opends/tests/staf-tests/functional-tests/shared/data/dsml/suites/03dsmlerrsuite/data/searchfilter_substringsnosubfilter.res |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/opends/tests/staf-tests/functional-tests/shared/data/dsml/suites/03dsmlerrsuite/data/searchfilter_substringsnosubfilter.res b/opends/tests/staf-tests/functional-tests/shared/data/dsml/suites/03dsmlerrsuite/data/searchfilter_substringsnosubfilter.res
index 019185e..9cd747b 100755
--- a/opends/tests/staf-tests/functional-tests/shared/data/dsml/suites/03dsmlerrsuite/data/searchfilter_substringsnosubfilter.res
+++ b/opends/tests/staf-tests/functional-tests/shared/data/dsml/suites/03dsmlerrsuite/data/searchfilter_substringsnosubfilter.res
@@ -1,19 +1,15 @@
-HTTP/1.1 200 OK
-X-Powered-By: Servlet/2.5
-Server: Sun Java System Application Server 9.1
+HTTP1.1 200 OK
+Date: Wed, 30 Sep 2009 07:55:55 GMT
+Server: Apache-Coyote/1.1
 Content-Type: text/xml
-Date: Fri, 30 Nov 2007 08:35:24 GMT
 Connection: close
 
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP-ENV:Body>
-<dsml:batchResponse xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core" requestID="[substrings] element has no subfilter [initial], [any], [final]">
-<dsml:searchResponse>
-<dsml:searchResultDone>
-<dsml:resultCode code="0"/>
-</dsml:searchResultDone>
-</dsml:searchResponse>
-</dsml:batchResponse>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2:0:core" requestID="[substrings] element has no subfilter [initial], [any], [final]">
+<errorResponse type="Unknown error">
+<message>org.opends.server.types.LDAPException: Cannot decode the provided ASN.1 element as an LDAP search filter because the element was null</message>
+</errorResponse>
+</batchResponse>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>
-

--
Gitblit v1.10.0