Skip to content

Commit

Permalink
Use a better sleep command on Windows
Browse files Browse the repository at this point in the history
Works in GitHub Actions
  • Loading branch information
Cyberboss committed Feb 21, 2024
1 parent a91cb62 commit bab8f93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/DMAPI/BasicOperation/test_event-qwer.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
echo "Running test_event script"

rem mingw has their own /usr/bin/timeout
C:\Windows\system32\timeout.exe /t 5
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "Start-Sleep -Seconds 5"
cd %1
cd tests\DMAPI\BasicOperation
echo %2 > test_event_output.txt

0 comments on commit bab8f93

Please sign in to comment.