]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin regtest: add an expected for none empty-exe
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 26 Mar 2026 20:12:48 +0000 (21:12 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 26 Mar 2026 20:12:48 +0000 (21:12 +0100)
A bit like the previous commit, the bahaviour of /bin/sh
has changed with macOS 10.15.

Up to and including 10.14 (and other OSes) the shell just reads
the empty file and does nothing.

With macOS 10.15, the shell reads the empty file and then starts
a subshell which does nothing.

The result is a missing carriage return on stderr.

none/tests/Makefile.am
none/tests/empty-exe.stderr.exp-darwin19 [new file with mode: 0644]

index 59af8ba1f5cd1e4d7614ba6a66cde594531d23ad..1a09ee52c8d49aef9f6231658b436780804884d0 100644 (file)
@@ -137,6 +137,7 @@ EXTRA_DIST = \
        double_close_range_xml.vgtest \
        double_close_range_sup.stderr.exp double_close_range_sup.vgtest \
        empty-exe.vgtest empty-exe.stderr.exp \
+       empty-exe.stderr.exp-darwin19 \
        exec-sigmask.vgtest exec-sigmask.stdout.exp \
        exec-sigmask.stdout.exp2 exec-sigmask.stdout.exp3 \
        exec-sigmask.stdout.exp-solaris exec-sigmask.stderr.exp \
diff --git a/none/tests/empty-exe.stderr.exp-darwin19 b/none/tests/empty-exe.stderr.exp-darwin19
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+