]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Darwin regtest: make new version of scripts shell test
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 26 Mar 2026 19:28:14 +0000 (20:28 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 26 Mar 2026 19:37:39 +0000 (20:37 +0100)
commite0b2fbb3df8dad9d4ee30ec3b8fac074960273c4
treee616529fe8666ed60484f3eb26caa5e583087bd5
parentb3830b82f455f06ed8a0bf59990b5a2b0b0bbcfd
Darwin regtest: make new version of scripts shell test

The behaviour of /bin/sh changed with macOS 10.15. When trying to
exec a new process that will fail the child process still gets
created. On older versions of macOS execve fails like it does on
Linux and FreeBSD.

On Darwin, the shell test now gets run twice, once normally and
once with --trace-children=yes.
none/tests/scripts/Makefile.am
none/tests/scripts/shell.vgtest
none/tests/scripts/shell2.stderr.exp [new file with mode: 0644]
none/tests/scripts/shell2.stderr.exp-darwin19 [new file with mode: 0644]
none/tests/scripts/shell2.stdout.exp [new file with mode: 0644]
none/tests/scripts/shell2.vgtest [new file with mode: 0644]
none/tests/scripts/shell3.stderr.exp [new file with mode: 0644]
none/tests/scripts/shell3.stdout.exp [new file with mode: 0644]
none/tests/scripts/shell3.vgtest [new file with mode: 0644]