ansible/test/utils/shippable/timing.sh

6 lines
109 B
Bash
Raw Normal View History

#!/bin/bash -eux
set -o pipefail
"$1" 2>&1 | gawk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'