Commit: runtime(syntax-tests): tests: sh_10 fails on MacOS runners

1 view
Skip to first unread message

Christian Brabandt

unread,
2:01 PM (10 hours ago) 2:01 PM
to vim...@googlegroups.com
runtime(syntax-tests): tests: sh_10 fails on MacOS runners

Commit: https://github.com/vim/vim/commit/8211f556dfef571f418f0597cbb6bf8556621814
Author: Christian Brabandt <c...@256bit.org>
Date: Fri Jan 16 18:56:28 2026 +0000

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 <c...@256bit.org>

diff --git a/runtime/syntax/testdir/dumps/sh_10_00.dump b/runtime/syntax/testdir/dumps/sh_10_00.dump
index 3bb7314e6..68be86918 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 74c1ce6c2..70059b5cd 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
Reply all
Reply to author
Forward
0 new messages