patch 9.1.1420: tests: could need some more tests for shebang lines

Commit: 
https://github.com/vim/vim/commit/54a09e7e861f314965cb1492ee6754c6d5daf653
Author: Eisuke Kawashima <e-k...@users.noreply.github.com>
Date:   Sat May 31 12:30:59 2025 +0200

    patch 9.1.1420: tests: could need some more tests for shebang lines
    
    Problem:  tests: could need some more tests for shebang lines
    Solution: add more shebang patterns to test_filetype.vim
              (Eisuke Kawashima)
    
    closes: #17409
    
    Signed-off-by: Eisuke Kawashima <e-k...@users.noreply.github.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 7cac3d0aa..2b6e436f0 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -1075,9 +1075,14 @@ def s:GetScriptEnvChecks(): dict<list<list<string>>>
     perl: [['#!/usr/bin/env VAR=val perl']],
     scala: [['#!/usr/bin/env VAR=val VVAR=vval scala']],
     awk: [['#!/usr/bin/env --split-string=VAR= awk -vFS="," -f']],
+    ruby: [['#!/usr/bin/env --split-string=ruby --debug']],
+    sed: [['#!/usr/bin/env -iS sed -f']],
+    zsh: [['#!/usr/bin/env -iS VAR=val zsh -l']],
     execline: [['#!/usr/bin/env execlineb']],
     scheme: [['#!/usr/bin/env VAR=val --ignore-environment scheme']],
+    sh: [['#!/usr/bin/env -S --ignore-environment VAR= sh -u']],
     python: [['#!/usr/bin/env -S -i VAR=val python -B -u']],
+    csh: [['#!/usr/bin/env -S VAR= csh -f']],
     wml: [['#!/usr/bin/env VAR=val --split-string wml']],
     nix: [['#!/usr/bin/env nix-shell']],
   }
diff --git a/src/version.c b/src/version.c
index 6c7a2abdd..2316def10 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1420,
 /**/
     1419,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uLJi2-008xjJ-Rg%40256bit.org.

Raspunde prin e-mail lui