[Object/COFF] Add coff_aux_weak_external.
[oota-llvm.git] / utils / test_debuginfo.pl
index a03a11706433a7b53d01c39f3a55d00414dc4b0b..0832a330f4a0e6383d47aaf8d9041c2dd4af1a7f 100755 (executable)
@@ -49,7 +49,7 @@ if (!$my_debugger) {
 my $debugger_options = "-q -batch -n -x";
 
 # run debugger and capture output.
-system("$my_debugger $debugger_options $debugger_script_file $executable_file >& $output_file");
+system("$my_debugger $debugger_options $debugger_script_file $executable_file > $output_file 2>&1");
 
 # validate output.
 system("FileCheck", "-input-file", "$output_file", "$testcase_file");