mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
Merge pull request #1889 from Doug-Lyons/find_regression_test
Add Regression test for "find" using BAT with Conditionals "&&" and "||"
This commit is contained in:
parent
b54a38b8c0
commit
79d67dc846
|
@ -26,5 +26,17 @@ for %%i in (M,
|
|||
N,
|
||||
O
|
||||
) do echo %%j
|
||||
echo ------------ Testing Amp-Amp ---------
|
||||
echo --- test for something that is TRUE
|
||||
ver | find "Ver" > NUL && Echo TRUE Amp-Amp
|
||||
echo ------------ Testing Amp-Amp ---------
|
||||
echo --- test for something that is FALSE
|
||||
ver | find "1234" > NUL && Echo FALSE Amp-Amp
|
||||
echo ------------ Testing Pipe-Pipe -------
|
||||
echo --- test for something that is TRUE
|
||||
ver | find "Ver" > NUL || Echo TRUE Pipe-Pipe
|
||||
echo ------------ Testing Pipe-Pipe -------
|
||||
echo --- test for something that is FALSE
|
||||
ver | find "1234" > NUL || Echo FALSE Pipe-Pipe
|
||||
echo ------------ End of Testing ------------
|
||||
echo --- Testing ends here
|
||||
|
|
|
@ -23,5 +23,15 @@ I
|
|||
%j
|
||||
%j
|
||||
%j
|
||||
------------ Testing Amp-Amp ---------
|
||||
--- test for something that is TRUE
|
||||
TRUE Amp-Amp
|
||||
------------ Testing Amp-Amp ---------
|
||||
--- test for something that is FALSE
|
||||
------------ Testing Pipe-Pipe -------
|
||||
--- test for something that is TRUE
|
||||
------------ Testing Pipe-Pipe -------
|
||||
--- test for something that is FALSE
|
||||
FALSE Pipe-Pipe
|
||||
------------ End of Testing ------------
|
||||
--- Testing ends here
|
||||
|
|
Loading…
Reference in a new issue