summaryrefslogtreecommitdiff
path: root/test/test-backend.sh
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-02-23 21:19:44 +0000
committerBill Meier <wmeier@newsguy.com>2008-02-23 21:19:44 +0000
commit0deb0a6555cbaba735128820c6d443d6a6d51a58 (patch)
treea437413f09dc547e506a5745b4a3ae6b490911bf /test/test-backend.sh
parent8d4f01eea70c59acb0ef18acbc4f5254d4149e9f (diff)
downloadwireshark-0deb0a6555cbaba735128820c6d443d6a6d51a58.tar.gz
Add some debug info to help in diagnosing buildbot 'run tests' failures
svn path=/trunk/; revision=24447
Diffstat (limited to 'test/test-backend.sh')
-rwxr-xr-xtest/test-backend.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/test-backend.sh b/test/test-backend.sh
index 49762a724d..324a49d153 100755
--- a/test/test-backend.sh
+++ b/test/test-backend.sh
@@ -322,3 +322,23 @@ test_step_skipped() {
$color_reset
}
+test_step_output_print() {
+ wait
+ printf "\n"
+ for f in "$@"; do
+ if [[ -f "$f" ]]; then
+ printf " --> $f\n"
+ cat "$f"
+ printf " <--\n"
+ else
+ printf " --> $f: doesn't exist (or isn't a file)\n"
+ fi
+ done
+}
+
+## Emacs
+## Local Variables:
+## tab-width: 8
+## indent-tabs-mode: t
+## sh-basic-offset: 8
+## End: