From 5794261206323072ec38477f09296e81c314f78e Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Tue, 14 Aug 2007 12:52:29 +0000
Subject: [PATCH] generate block name with neither the command full path nor the command file extension to avoid STAXMonitor issues in the graphical representation.
---
opends/tests/functional-tests/shared/functions/utils.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/tests/functional-tests/shared/functions/utils.xml b/opends/tests/functional-tests/shared/functions/utils.xml
index 6cd0302..9dacc44 100755
--- a/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opends/tests/functional-tests/shared/functions/utils.xml
@@ -1194,7 +1194,7 @@
'%s: Running command:\n %s %s\nenv: %s\nworkdir: %s' % (_id,command,arguments,env,path)
</message>
- <block name="'%s:Wrapper for %s' % (_id,command)">
+ <block name="'%s:Wrapper for %s' % (_id,re.compile('\..*$').sub('',os.path.basename(command)))">
<process name="name">
<location>location</location>
<command>command</command>
--
Gitblit v1.10.0