fixed playTests.sh for minGW
On Windows, the equivalent of `/dev/null` is `NUL`. When tests are run under msys2/minGW, the environment identifies itself as Windows, hence the script uses `NUL` instead of `/dev/null` but the environment will consider `NUL` to be a regular file name. Consequently, `NUL` will be overwritten during tests, triggering an error. This patch uses flag `-f` to force such overwrite passing the test.
This commit is contained in:
1 parent
1fdba696ca
commit
ae1d6bd48e
3 files changed
+6
-6
No files matched your search
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user