From: Theodore Ts'o Date: Mon, 29 Oct 2018 16:15:57 +0000 (-0400) Subject: Add use of logger so that syslog files show when each test starts X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b237a09477dfea4b7d36e4b1a2de92f51bacda7d;p=users%2Fsagi%2Fblktests.git Add use of logger so that syslog files show when each test starts Signed-off-by: Theodore Ts'o --- diff --git a/check b/check index f6c3537..ebd87c0 100755 --- a/check +++ b/check @@ -319,6 +319,7 @@ _call_test() { local dmesg_marker="" CHECK_DMESG=0 fi + $LOGGER_PROG "run blktests $TEST_NAME" trap _cleanup EXIT if ! TMPDIR="$(mktemp --tmpdir -p "$OUTPUT" -d "tmpdir.${TEST_NAME//\//.}.XXX")"; then @@ -578,6 +579,8 @@ fi eval set -- "$TEMP" unset TEMP +LOGGER_PROG="$(type -P logger)" || LOGGER_PROG=true + if [[ -r config ]]; then # shellcheck disable=SC1091 . config