Skip to content

Commit

Permalink
14160 test-runner: UnicodeDecodeError when zfstest -l logfile is used
Browse files Browse the repository at this point in the history
Reviewed by: Andy Fiddaman <andy@omnios.org>
Approved by: Robert Mustacchi <rm@fingolfin.org>
  • Loading branch information
tsoome committed Oct 16, 2021
1 parent 8b891ae commit 4947898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/test/test-runner/cmd/run
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ def find_tests(testrun, options):

def filter_tests(testrun, options):
try:
fh = open(options.logfile, "r")
fh = open(options.logfile, "r", errors='replace')
except Exception as e:
fail('%s' % e)

Expand Down

0 comments on commit 4947898

Please sign in to comment.