Changeset 2606
- Timestamp:
- Mar 10, 2006, 1:36:34 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/coreutils/tests/mk-script
r2581 r2606 137 137 push (@maint_gen_file, $maint_gen_file); 138 138 open (F, ">$srcdir/$maint_gen_file") || die "$0: $maint_gen_file: $!\n"; 139 if (defined $Test::binmode_tests{$test_name}) { 140 binmode F; 141 } 139 if (defined $Test::binmode_tests{$test_name}) 140 { 141 my $TYPE = uc $type; 142 $TYPE = 'INPUT_BINARY' if ($TYPE eq ".I"); 143 $TYPE = 'OUTPUT_BINARY' if ($TYPE eq ".O"); 144 $TYPE = 'EXPECT_BINARY' if ($TYPE eq ".X"); 145 binmode F if ($Test::binmode_tests{$test_name}{ALL_BINARY} 146 or $Test::binmode_tests{$test_name}{$TYPE}); 147 } 142 148 print F $file_contents; 143 149 close (F) || die "$0: $maint_gen_file: $!\n";
Note:
See TracChangeset
for help on using the changeset viewer.