mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
b655fc4f5e
Of course, ReactOS' cmd doesn't work at all with the framework at the moment :-) Some tests were taken from "seta_test.cmd" by Royce. (see file headers) svn path=/trunk/; revision=33560
20 lines
618 B
Batchfile
20 lines
618 B
Batchfile
::
|
|
:: PROJECT: ReactOS CMD Testing Suite
|
|
:: LICENSE: GPL v2 or any later version
|
|
:: FILE: tests/at.cmd
|
|
:: PURPOSE: Tests for the correct parsing of the "@" character
|
|
:: COPYRIGHT: Copyright 2008 Colin Finck <mail@colinfinck.de>
|
|
::
|
|
|
|
:: Calling a command should work with any number of "@" characters prepended
|
|
call :_test "@echo Test >nul"
|
|
call :_test "@@echo Test >nul"
|
|
|
|
:: Files with an "@" sign at the beginning should work as well
|
|
echo @^@echo Test > "temp\@file.cmd"
|
|
call :_test "call temp\@file.cmd >nul"
|
|
|
|
echo ^@echo Test > "temp\@file.cmd"
|
|
call :_test "call temp\@file.cmd >nul"
|
|
|
|
goto :EOF
|