From a69733f3860f71b29ec2d4aefa02a609aac2e142 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 08 Apr 2008 17:16:00 +0000
Subject: [PATCH] do not check RC when trying to stopping remaining instance
---
opendj-sdk/opends/tests/system-tests/phases/installation/installation_opends.xml | 1 +
opendj-sdk/opends/tests/system-tests/phases/shared/functions/opendsadm.xml | 7 +++++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/tests/system-tests/phases/installation/installation_opends.xml b/opendj-sdk/opends/tests/system-tests/phases/installation/installation_opends.xml
index 8a01e4e..8711102 100755
--- a/opendj-sdk/opends/tests/system-tests/phases/installation/installation_opends.xml
+++ b/opendj-sdk/opends/tests/system-tests/phases/installation/installation_opends.xml
@@ -176,6 +176,7 @@
{
'location' : host ,
'dsPath' : instanceInstallDir,
+ 'expectedRC': 'noCheck',
'fileFd' : fileFd
}
</call>
diff --git a/opendj-sdk/opends/tests/system-tests/phases/shared/functions/opendsadm.xml b/opendj-sdk/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
index 59a9a54..617465f 100755
--- a/opendj-sdk/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
+++ b/opendj-sdk/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
@@ -455,6 +455,12 @@
</function-arg-description>
<function-arg-property name="type" value="option"/>
</function-arg-def>
+ <function-arg-def name="expectedRC" type="optional" default="0">
+ <function-arg-description>
+ Expected return code value. Default value is 0.
+ Wildcard 'noCheck' to not check the RC
+ </function-arg-description>
+ </function-arg-def>
<function-arg-def name="fileFd" type="optional" default="''">
<function-arg-description>
file descriptor to write message in if needed
@@ -543,6 +549,7 @@
'command' : STAFCmd,
'arguments' : STAFCmdParams,
'path' : dsBinPath,
+ 'expectedRC': expectedRC,
'fileFd' : fileFd
}
</call>
--
Gitblit v1.10.0