test: add a simple abort check in windows
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
Working with @gireeshpunathil, I came up with this PR following @refack's suggestion in #12856 . Though associated with that, this test is logically independent of that PR, and does not need to co-exist with that one, and hence a separate one.
Make a simple assertion that Windows aborts with exit code 3.