Project

General

Profile

« Previous | Next » 

Revision 332d1e52

Added by katei (Yuta Saito) almost 4 years ago

btest: assign $stderr = STDOUT instead of IO#reopen to be more portable

IO#reopen internally uses dup syscall but some platforms don't support
the syscall. re-assigning $stderr is enough to capture the interpreter's
errors and warnings.