Skip to content

Commit

Permalink
Adds actual redirection to stderr.new file
Browse files Browse the repository at this point in the history
  • Loading branch information
glenns-omrf committed Aug 31, 2014
1 parent 02bab81 commit a6c37a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/regressiontest/cli_exec.rb
Expand Up @@ -27,7 +27,7 @@ def CliExec::exec command, testname, options = {}
std_err = FilePair.new(basefn + "-stderr.new", basefn + "-stderr.ref")
files = [std_out,std_err]
# ---- Create .new file
cmd = command + " > #{outfn}"
cmd = command + " > #{std_out.outfn} 2>#{std_err.outfn}"
$stderr.print cmd,"\n"
if Kernel.system(cmd) == false
$stderr.print cmd," returned an error\n"
Expand Down

0 comments on commit a6c37a8

Please sign in to comment.