remote host names
This commit is contained in:
parent
90b2f93de6
commit
7daa85cd32
13
urchin
13
urchin
|
@ -353,6 +353,11 @@ report_outcome() {
|
||||||
start="${4}"
|
start="${4}"
|
||||||
finish="${5}"
|
finish="${5}"
|
||||||
|
|
||||||
|
host="${6}"
|
||||||
|
if test -n "${host}"; then
|
||||||
|
onhost=" on ${host}"
|
||||||
|
fi
|
||||||
|
|
||||||
escaped_root="$(fullpath "${root}" | sed 's/\//\\\//g')"
|
escaped_root="$(fullpath "${root}" | sed 's/\//\\\//g')"
|
||||||
elapsed=$(($finish - $start))
|
elapsed=$(($finish - $start))
|
||||||
|
|
||||||
|
@ -410,7 +415,7 @@ report_outcome() {
|
||||||
if { test "${result}" = not_ok && "${print_not_ok_stdout}"; } ||
|
if { test "${result}" = not_ok && "${print_not_ok_stdout}"; } ||
|
||||||
{ test "${result}" = ok && "${print_ok_stdout}"; }; then
|
{ test "${result}" = ok && "${print_ok_stdout}"; }; then
|
||||||
echo '# ------------ Begin output ------------'
|
echo '# ------------ Begin output ------------'
|
||||||
sed 's/^/# /' "$(stdout_file "${abspath}" "${the_shell}")"
|
sed 's/^/# /' "$(stdout_file "${abspath}" "${the_shell}${onhost}")"
|
||||||
echo '# ------------ End output ------------'
|
echo '# ------------ End output ------------'
|
||||||
fi
|
fi
|
||||||
echo "# Previous test took ${file_elapsed} seconds."
|
echo "# Previous test took ${file_elapsed} seconds."
|
||||||
|
@ -433,7 +438,7 @@ report_outcome() {
|
||||||
else
|
else
|
||||||
printf "${success_mark} "
|
printf "${success_mark} "
|
||||||
fi
|
fi
|
||||||
echo "${the_shell} ("${file_elapsed}" $(plural second $file_elapsed))"
|
echo "${the_shell}${onhost} (${file_elapsed} $(plural second $file_elapsed))"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
not_ok)
|
not_ok)
|
||||||
|
@ -444,7 +449,7 @@ report_outcome() {
|
||||||
else
|
else
|
||||||
printf "${fail_mark} "
|
printf "${fail_mark} "
|
||||||
fi
|
fi
|
||||||
echo "${the_shell} ("${file_elapsed}" $(plural second $file_elapsed))"
|
echo "${the_shell}${onhost} (${file_elapsed} $(plural second $file_elapsed))"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
skip)
|
skip)
|
||||||
|
@ -453,7 +458,7 @@ report_outcome() {
|
||||||
if test -z "${the_shell}"; then
|
if test -z "${the_shell}"; then
|
||||||
echo ' (File is not executable.)'
|
echo ' (File is not executable.)'
|
||||||
else
|
else
|
||||||
echo " ${the_shell} ("${file_elapsed}" $(plural second $file_elapsed))"
|
echo " ${the_shell}${onhost} (${file_elapsed} $(plural second $file_elapsed))"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue