summaryrefslogtreecommitdiff
path: root/test/utils/shippable/timing.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/shippable/timing.sh')
-rwxr-xr-xtest/utils/shippable/timing.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/utils/shippable/timing.sh b/test/utils/shippable/timing.sh
new file mode 100755
index 0000000000..bbae07d7b8
--- /dev/null
+++ b/test/utils/shippable/timing.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -eux
+
+set -o pipefail
+
+"$1" 2>&1 | gawk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'