]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(syntax-tests): tests: sh_10 fails on MacOS runners
authorChristian Brabandt <cb@256bit.org>
Fri, 16 Jan 2026 18:56:28 +0000 (18:56 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 16 Jan 2026 18:56:28 +0000 (18:56 +0000)
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 <cb@256bit.org>
runtime/syntax/testdir/dumps/sh_10_00.dump
runtime/syntax/testdir/input/sh_10.sh

index 3bb7314e62b91aa2e8fee62c34a63cd35ee2ff31..68be86918784328cf3c076c585296fd213b17218 100644 (file)
@@ -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| 
index 74c1ce6c23266731498ed27ed36e0ba3238546de..70059b5cd6267feccf3284cd13ed1a4c1e997360 100644 (file)
@@ -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