From 201635de7bf3a79f8677cdd43a016c0d26bc5d01 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 16 Feb 2020 12:06:42 -0500 Subject: [PATCH] run-and-email message tweak --- test/run-and-email.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/run-and-email.sh b/test/run-and-email.sh index 902d19f2..e9b460d7 100755 --- a/test/run-and-email.sh +++ b/test/run-and-email.sh @@ -98,10 +98,10 @@ for VERSION in $PYVERSIONS ; do SUBJECT_PREFIX="pyenv weak verify (max $MAX_TESTS) for" if ((rc == 0)); then - mailbody_line="Python $VERSION ok; ran in $time_diff" + mailbody_line="Python $VERSION ok; ran in $time_diff seconds" tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX $VERSION ok" ${USER}@localhost else - mailbody_line="Python $VERSION failed; ran in $time_diff" + mailbody_line="Python $VERSION failed; ran in $time_diff seconds" actual_versions="$actual_versions failed;" tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX $VERSION not ok" ${USER}@localhost tail -v $LOGFILE | mail -s "$HOST $SUBJECT_PREFIX $VERSION not ok" ${EMAIL}