summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-861542.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-861542.t')
-rwxr-xr-xtests/bugs/bug-861542.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-861542.t b/tests/bugs/bug-861542.t
index 8aef8146ece..5fd08f12d02 100755
--- a/tests/bugs/bug-861542.t
+++ b/tests/bugs/bug-861542.t
@@ -28,7 +28,7 @@ function xml_port_field()
{
local vol=$1;
local opt=$2;
- $CLI --xml volume status $vol $opt | \
+ $CLI --xml volume status $vol $opt | tr -d '\n' |\
#Find the first occurrence of the string between <port> and </port>
sed -r 's/<port>/&\n/;s/<\/port>/\n&/;s/^.*\n(.*)\n.*$/\1/'| \
grep -v xml | tr -d '\n';