summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/libptxdisttest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh
index e15246157..fc7a07a12 100644
--- a/tests/libptxdisttest.sh
+++ b/tests/libptxdisttest.sh
@@ -190,10 +190,11 @@ remote() {
host() {
echo "${1}" >> "$LOGFILE"
reportwrite host "${1}"
- local stdout=$(${1}) 2>> "$LOGFILE"
+ local stdout=$(eval ${1}) 2>> "$LOGFILE"
local retval=$?
reportwrite stdout "${stdout}"
reportwrite exitstatus ${retval}
+ echo "$stdout"
return ${retval}
}