Tools: Add a timestamp to our fuzz test error header.

Print the UTC date and time.
This commit is contained in:
Gerald Combs 2022-04-29 16:13:47 -07:00
parent 7bccf9e2aa
commit 76660922e1
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,8 @@ function ws_exit_error() {
lsb_release -a 2> /dev/null
printf "\\n"
printf "Date and time: %s\\n" "$( date --utc )"
} > "$TMP_DIR/${ERR_FILE}.header"
# Trim the stderr output if needed