mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Rich Johnston
parent
06166c2dba
commit
9958693bdb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user