Rework parameter parsing with ParameterOperation functions.
This commit is contained in:
@@ -16,20 +16,20 @@ md %testDir%.B
|
||||
|
||||
echo:Uno> %testDir%.A\Uno.txt
|
||||
echo:Dos> %testDir%.A\Dos.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
del %testDir%.A\Uno.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
ping 127.0.0.1 -n 2 > nul
|
||||
|
||||
echo:UnoRepuesto> %testDir%.A\Uno.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
|
||||
:: Check test results
|
||||
|
||||
|
||||
@@ -16,16 +16,16 @@ md %testDir%.B
|
||||
|
||||
echo:Uno> %testDir%.A\Uno.txt
|
||||
echo:Dos> %testDir%.A\Dos.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
md %testDir%.A\dirUno
|
||||
move %testDir%.A\Uno.txt %testDir%.A\dirUno\Uno.txt >NUL
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
|
||||
:: Check test results
|
||||
|
||||
|
||||
@@ -16,22 +16,22 @@ md %testDir%.B
|
||||
|
||||
echo:Uno> %testDir%.A\Uno.txt
|
||||
echo:Dos> %testDir%.A\Dos.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
md %testDir%.A\dirUno
|
||||
move %testDir%.A\Uno.txt %testDir%.A\dirUno\Uno.txt >NUL
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
ping 127.0.0.1 -n 2 > nul
|
||||
|
||||
move %testDir%.A\dirUno\Uno.txt %testDir%.A\Uno.txt >NUL
|
||||
rd %testDir%.A\dirUno
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
|
||||
:: Check test results
|
||||
|
||||
|
||||
@@ -16,17 +16,17 @@ md %testDir%.B
|
||||
|
||||
echo:Uno> %testDir%.A\Uno.txt
|
||||
echo:Dos> %testDir%.A\Dos.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
ping 127.0.0.1 -n 2 > nul
|
||||
|
||||
echo:Updated>> %testDir%.A\Uno.txt
|
||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||
..\filesync.exe -sync -dir %testDir%.A -dir %testDir%.B >> %testDir%.txt
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.A/nodesFile.fs >> %testDir%.txt
|
||||
..\filesync.exe -read %testDir%.B/nodesFile.fs >> %testDir%.txt
|
||||
|
||||
:: Check test results
|
||||
|
||||
|
||||
Reference in New Issue
Block a user