@echo off
rem Change all unix-type text files to dos-type using utod.
cd tests\date
utod 1.X 2.X 3.X 4.X 5.X 6.X 7.X 8.X 9.X leap-1.X U95-1.X U95-2.X
utod U95-3.X U92-1.X U92-2.X U92-3.X V92-1.X V92-2.X V92-3.X W92-1.X W92-2.X
utod W92-3.X millen-1.X rel-0.X rel-1a.X rel-1b.X rel-2a.X rel-2b.X rel-2c.X
utod rel-2d.X rel-2e.X rel-2f.X rel-2g.X rel-3a.X next-s.X next-m.X next-h.X
utod next-d.X next-w.X next-mo.X next-y.X utc-0.X utc-0a.X utc-1.I utc-1.X
utod utc-1a.I utc-1a.X d2sec-0.X d2sec-0a.X d2sec-1.X sec2date-0.X
utod this-m.X this-h.X this-w.X this-mo.X this-y.X risks-1.X regress-1.X
utod datevtime-1.X rfc822-1.X relat-1.X relat-2.X
cd ..\..
rem
echo Editing the scripts in various subdirectories for DJGPP...
echo    tests/date...
sed -f djgpp/tscript.sed tests/date/date-tests > date-tests
update date-tests tests/date/date-tests
rm -f date-tests
echo    tests/test...
sed -f djgpp/tscript.sed tests/test/test-tests > test-tests
update test-tests tests/test/test-tests
rm -f test-tests
echo    missing...
sed -f djgpp/tscript.sed missing > missing.tmp
update missing.tmp missing
rm -f missing.tmp
rem
rem Edit the Perl scripts to get "make check" working.
sed -f djgpp/tscript.sed tests/basename/basic > basic
update basic tests/basename/basic
rm -f basic
rem
sed -f djgpp/tscript.sed tests/factor/basic > basic
update basic tests/factor/basic
rm -f basic
rem
sed -f djgpp/tscript.sed tests/seq/basic > basic
update basic tests/seq/basic
rm -f basic
rem
sed -f djgpp/tscript.sed tests/stty/basic-1 > basic-1
update basic-1 tests/stty/basic-1
rm -f basic-1
rem
sed -f djgpp/tscript.sed tests/stty/row-col-1 > row-col-1
update row-col-1 tests/stty/row-col-1
rm -f row-col-1
sed -f djgpp/tscript.sed tests/nice > nice
update nice tests/nice
rm -f nice
touch tests/stamp-test
