From 3d298aaf5f040a720b1c32fe5c87a292a0950e20 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Wed, 15 Aug 2007 03:47:14 +0000
Subject: [PATCH] more fixes and refactoring for the backends suite. Some additional error checking in runCommand and some clean up in dsconfig.xml
---
opends/tests/functional-tests/shared/functions/utils.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/opends/tests/functional-tests/shared/functions/utils.xml b/opends/tests/functional-tests/shared/functions/utils.xml
index aa943d3..1529fdd 100755
--- a/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opends/tests/functional-tests/shared/functions/utils.xml
@@ -532,8 +532,11 @@
self.start=start
self.stop=stop
tmp=fullname.split(":")
- del tmp[0:2]
- self.name=''.join(tmp)
+ if len(tmp) > 2:
+ del tmp[0:2]
+ self.name=''.join(tmp)
+ else:
+ self.name=fullname
self.duration = 0
if failures == 0:
if successes == 0:
--
Gitblit v1.10.0