aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-backend.sh
diff options
context:
space:
mode:
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: