From: Christian Brabandt Date: Fri, 16 Jan 2026 18:56:28 +0000 (+0000) Subject: runtime(syntax-tests): tests: sh_10 fails on MacOS runners X-Git-Tag: v9.1.2090~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8211f556dfef571f418f0597cbb6bf8556621814;p=thirdparty%2Fvim.git runtime(syntax-tests): tests: sh_10 fails on MacOS runners Problem: tests: sh_10 fails on MacOS runners (after 16c22790627f063) because dash does not exist on MacOS Solution: Force the test to use bash shebang line Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/testdir/dumps/sh_10_00.dump b/runtime/syntax/testdir/dumps/sh_10_00.dump index 3bb7314e62..68be869187 100644 --- a/runtime/syntax/testdir/dumps/sh_10_00.dump +++ b/runtime/syntax/testdir/dumps/sh_10_00.dump @@ -1,4 +1,6 @@ ->c+0&#ffffff0|u|r|l| |-+0#e000e06&@1|h|t@1|p|2| +0#0000000&|-+0#e000e06&@1|t|l|s|v|1|.|2| +0#0000000&|-+0#e000e06&|O| +0#0000000&|h|t@1|p|s|:|/@1|e|x|a|m|p|l|e|.|c|o|m|/|f|i|l|e|.|t|x|t| @20 +>#+0#0000e05#ffffff0|!|/|b|i|n|/|b|a|s|h| +0#0000000&@63 +@75 +|c|u|r|l| |-+0#e000e06&@1|h|t@1|p|2| +0#0000000&|-+0#e000e06&@1|t|l|s|v|1|.|2| +0#0000000&|-+0#e000e06&|O| +0#0000000&|h|t@1|p|s|:|/@1|e|x|a|m|p|l|e|.|c|o|m|/|f|i|l|e|.|t|x|t| @20 |w|g|e|t| |-+0#e000e06&@1|i|n|e|t|6|-|o|n|l|y| +0#0000000&|h|t@1|p|s|:|/@1|e|x|a|m|p|l|e|.|c|o|m|/|f|i|l|e|.|t|x|t| @28 |g|z|i|p| |-+0#e000002&|9| +0#0000000&|f|i|l|e| @62 |x|z| |-+0#e000e06&|T|0| +0#0000000&|f|i|l|e| @63 @@ -15,6 +17,4 @@ |~| @73 |~| @73 |~| @73 -|~| @73 -|~| @73 -|i+0#0000000&|s|_|d|a|s|h|:| |1|,| |i|s|_|p|o|s|i|x|:| |1|,| |i|s|_|s|h|:| |1|,| @22|1|,|1| @10|A|l@1| +|i+0#0000000&|s|_|b|a|s|h|:| |1|,| @45|1|,|1| @10|A|l@1| diff --git a/runtime/syntax/testdir/input/sh_10.sh b/runtime/syntax/testdir/input/sh_10.sh index 74c1ce6c23..70059b5cd6 100644 --- a/runtime/syntax/testdir/input/sh_10.sh +++ b/runtime/syntax/testdir/input/sh_10.sh @@ -1,3 +1,5 @@ +#!/bin/bash + curl --http2 --tlsv1.2 -O https://example.com/file.txt wget --inet6-only https://example.com/file.txt gzip -9 file