ae1d6bd48e
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.
1.0 KiB
1.0 KiB