2 if "%XSRC%" == "" set XSRC=.
\r
3 test -f %XSRC%/tests/stateful-check.org
\r
4 if errorlevel 1 update %XSRC%/tests/stateful-check %XSRC%/tests/stateful-check.org
\r
5 sed -f %XSRC%/djgpp/stateful-check.sed %XSRC%/tests/stateful-check.org > stateful-check
\r
6 if errorlevel 1 goto SedError
\r
7 update ./stateful-check %XSRC%/tests/stateful-check
\r
8 rm -f ./stateful-check
\r
10 test -f %XSRC%/tests/stateless-check.org
\r
11 if errorlevel 1 update %XSRC%/tests/stateless-check %XSRC%/tests/stateless-check.org
\r
12 sed -f %XSRC%/djgpp/stateless-check.sed %XSRC%/tests/stateless-check.org > stateless-check
\r
13 if errorlevel 1 goto SedError
\r
14 update ./stateless-check %XSRC%/tests/stateless-check
\r
15 rm -f ./stateless-check
\r
17 test -f %XSRC%/tests/failuretranslit-check.org
\r
18 if errorlevel 1 update %XSRC%/tests/failuretranslit-check %XSRC%/tests/failuretranslit-check.org
\r
19 sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/failuretranslit-check.org > failuretranslit-check
\r
20 if errorlevel 1 goto SedError
\r
21 update ./failuretranslit-check %XSRC%/tests/failuretranslit-check
\r
22 rm -f ./failuretranslit-check
\r
24 test -f %XSRC%/tests/translit-check.org
\r
25 if errorlevel 1 update %XSRC%/tests/translit-check %XSRC%/tests/translit-check.org
\r
26 sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/translit-check.org > translit-check
\r
27 if errorlevel 1 goto SedError
\r
28 update ./translit-check %XSRC%/tests/translit-check
\r
29 rm -f ./translit-check
\r
33 echo test script editing failed!
\r