diff --git a/tests/test_DeleteAndRestitution.cmd b/tests/test_DeleteAndRestitution.cmd index 83e3e24..6c5d6c9 100644 --- a/tests/test_DeleteAndRestitution.cmd +++ b/tests/test_DeleteAndRestitution.cmd @@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q IF EXIST %testDir%.B rmdir %testDir%.B /S /Q IF EXIST %testDir%.txt del %testDir%.txt -echo:Start> %testDir%.txt +echo:Test %testName% started> %testDir%.txt +echo:Test %testName% started IF NOT EXIST tmp md tmp md %testDir%.A md %testDir%.B @@ -20,7 +21,7 @@ echo:Dos> %testDir%.A\Dos.txt del %testDir%.A\Uno.txt ..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt -ping 127.0.0.1 -n 6 > nul +ping 127.0.0.1 -n 2 > nul echo:UnoRepuesto> %testDir%.A\Uno.txt ..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt diff --git a/tests/test_MoveToSubdir.cmd b/tests/test_MoveToSubdir.cmd index 74b9d0c..a4829a7 100644 --- a/tests/test_MoveToSubdir.cmd +++ b/tests/test_MoveToSubdir.cmd @@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q IF EXIST %testDir%.B rmdir %testDir%.B /S /Q IF EXIST %testDir%.txt del %testDir%.txt -echo:Start> %testDir%.txt +echo:Test %testName% started> %testDir%.txt +echo:Test %testName% started IF NOT EXIST tmp md tmp md %testDir%.A md %testDir%.B diff --git a/tests/test_MoveToSubdirAndRestore.cmd b/tests/test_MoveToSubdirAndRestore.cmd index 441cf89..b6103c9 100644 --- a/tests/test_MoveToSubdirAndRestore.cmd +++ b/tests/test_MoveToSubdirAndRestore.cmd @@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q IF EXIST %testDir%.B rmdir %testDir%.B /S /Q IF EXIST %testDir%.txt del %testDir%.txt -echo:Start> %testDir%.txt +echo:Test %testName% started> %testDir%.txt +echo:Test %testName% started IF NOT EXIST tmp md tmp md %testDir%.A md %testDir%.B @@ -17,11 +18,17 @@ echo:Uno> %testDir%.A\Uno.txt echo:Dos> %testDir%.A\Dos.txt ..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt +..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt +..\filesync.exe read %testDir%.B/nodesFile.fs >> %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 -ping 127.0.0.1 -n 6 > nul +..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt +..\filesync.exe read %testDir%.B/nodesFile.fs >> %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 diff --git a/tests/test_UpdateFile.cmd b/tests/test_UpdateFile.cmd index fe2b436..eb6def1 100644 --- a/tests/test_UpdateFile.cmd +++ b/tests/test_UpdateFile.cmd @@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q IF EXIST %testDir%.B rmdir %testDir%.B /S /Q IF EXIST %testDir%.txt del %testDir%.txt -echo:Start> %testDir%.txt +echo:Test %testName% started> %testDir%.txt +echo:Test %testName% started IF NOT EXIST tmp md tmp md %testDir%.A md %testDir%.B @@ -17,7 +18,7 @@ echo:Uno> %testDir%.A\Uno.txt echo:Dos> %testDir%.A\Dos.txt ..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt -ping 127.0.0.1 -n 6 > nul +ping 127.0.0.1 -n 2 > nul echo:Updated>> %testDir%.A\Uno.txt ..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt