The macOS lane (bash 3.2) still failed the errexit test cases. With SHELLOPTS exported,
3.2's `export -p` writes `declare -rx SHELLOPTS=...`; sourcing that line fails because the
variable is read-only, and the inherited errexit then ends every later command with rc 1 and
no output. Main has the same failure on bash 3.2: a replay of main's real wrapper scripts in
a bash:3.2 container returns rc 1 with empty output for every command.
The dump now runs `export -n SHELLOPTS BASHOPTS` inside its subshell before `export -p`:
shell options are not environment the next command needs, and the inherited option still
applies (`$-` shows errexit on both main and this branch). Replay on bash 3.2 and 5.2 now
prints each command's output with rc 0.