Pádraig Brady <[email protected]> writes: > On 28/08/2026 04:23, Collin Funk wrote: >> * tests/misc/no-fork.sh: New file. >> * tests/local.mk (all_tests): Add the new test. >> * tests/misc/stdbuf.sh: Remove a test that is redundant with the new >> test. > Nicely implemented. > Though I'm not sure about the portability. > E.g. cygwin maps an exec() to CreateProcess() I think. > > So we should at least skip when: > > case $host_os in > mingw* | windows*) ;; > > Then we might add to that exception list in future.
Good point, I've pushed that with the addition of Cygwin to that case statement [1]. It passes because there isn't support for 'ulimit -n 0' there, but who knows if that will stay true forever. Collin [1] https://github.com/coreutils/coreutils/commit/29933e8a5c2be79760fd55f4143ce448d9317da1
