HomeFreeBSD

tests: fix posix_spawnp_enoexec_fallback_null_argv0

Description

tests: fix posix_spawnp_enoexec_fallback_null_argv0

This test was written because execvp was found to improperly handle the
argc == 0 case when it falls back from an ENOEXEC. We could probably
mostly revert it now, but let's just fix the test for the time being and
circle back later to decide if we want to simplify execvp. The test
will likely remain either way just to make sure execvp isn't working
around the newly enforced restriction with the fallback.

Fixes: 301cb491ea41 ("execvp: fix up the ENOEXEC fallback")
Reported by: jenkins via lwhsu@

Details

Provenance
kevansAuthored on Jan 27 2022, 5:22 PM
Parents
rG21c966a6b9f2: Fix test output when gzip is run with -tlv
Branches
Unknown
Tags
Unknown