From d00c9550da1801a0eaff5cedf4312e24691b31ea Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 8 May 2018 14:17:29 -0700 Subject: New upstream release. --- tests/common | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/common') diff --git a/tests/common b/tests/common index fae30f1d..4b266c5b 100644 --- a/tests/common +++ b/tests/common @@ -54,6 +54,13 @@ _log() echo "$*" | tee -a "$RESULTS" } +# copy stdout to log and pass to stdout, eg. another stdout consumer, commands +# should redirect stderr to stdout if this is consmed by further commands +_log_stdout() +{ + tee -a "$RESULTS" +} + _not_run() { echo " [NOTRUN] $*" -- cgit v1.2.3