xfstests: determine path of logger

The path of the syslog writer utility 'logger' is hardcoded and not
always correct, use set_prog_path.

Signed-off-by: David Sterba <dsterba@suse.cz>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
David Sterba
2013-03-11 23:36:52 +00:00
committed by Rich Johnston
parent 06166c2dba
commit 9958693bdb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ do
start=`_wallclock`
$timestamp && echo -n " ["`date "+%T"`"]"
[ ! -x $seq ] && chmod u+x $seq # ensure we can run it
[ -x /usr/bin/logger ] && /usr/bin/logger "run xfstest $seq"
$LOGGER_PROG "run xfstest $seq"
./$seq >$tmp.rawout 2>&1
sts=$?
$timestamp && _timestamp