Browse Source

Covered a mount umount routine with ne genext2f in tests, and removed some unecessary

verbosity which was basically just a repeat of itself.
master
freesource 23 years ago
parent
commit
b883f0e687
  1. 4
      BootRoot/Yard.pm

4
BootRoot/Yard.pm

@ -1196,7 +1196,7 @@ sub create_filesystem {
$copied{$devino} = $floppy_file; $copied{$devino} = $floppy_file;
} }
} }
info(1, "$file -> $floppy_file\n"); ##info(1, "$file -> $floppy_file\n");
copy_strip_file($file, $floppy_file, $obj_count, $strip_lib, copy_strip_file($file, $floppy_file, $obj_count, $strip_lib,
$strip_bin, $strip_module); $strip_bin, $strip_module);
@ -2165,9 +2165,11 @@ sub which_tests {
# This goes first so we define %Termcap for use in children # This goes first so we define %Termcap for use in children
## This now checks for ncurse setups, too. ## This now checks for ncurse setups, too.
if ( $fs_type ne "genext2fs" ) {
return "ERROR" if errm(mount_device($device,$mount_point)) == 2; return "ERROR" if errm(mount_device($device,$mount_point)) == 2;
check_termcap(); check_termcap();
return "ERROR" if errum(sys("umount $mount_point")) == 2; return "ERROR" if errum(sys("umount $mount_point")) == 2;
}
##### Here are the tests. ##### Here are the tests.
my $t_fstab = $chosen_tests->{30}{test_fstab}; my $t_fstab = $chosen_tests->{30}{test_fstab};

Loading…
Cancel
Save