From 0c91561cf64fd7d9d855ac25b059d80f9cf09260 Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Mon, 20 Aug 2007 14:34:12 +0000
Subject: [PATCH] fix bug
---
opends/tests/functional-tests/testcases/logging/logging_rotation.xml | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/logging/logging_rotation.xml b/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
index b1cfabb..c7ccf34 100755
--- a/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
+++ b/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
@@ -250,7 +250,20 @@
'optionsString' : '--remove rotation-policy-dn:"cn=my size Limit Rotation Policy,cn=Log Rotation Policies,cn=config"',
'expectedRC' : 0 }
</call>
-
+
+
+ <message>'-- delete a new size limit rotation policy --'</message>
+ <call function="'dsconfig'">
+ { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
+ 'subcommand' : 'delete-log-rotation-policy' ,
+ 'objectType' : 'policy-name' ,
+ 'objectName' : 'my size Limit Rotation Policy',
+ 'expectedRC' : 0 }
+ </call>
+
<call function="'testCase_Postamble'"/>
</sequence>
</testcase>
--
Gitblit v1.10.0