t_doschar: Test harness that exercises check_dos_char()