patch 9.2.0613: tests: test_xxd_color2() checks for dash but uses sh
Commit:
https://github.com/vim/vim/commit/6c501f71eab5031043547ffdfa6b469250006933
Author: Christoffer Aasted <[email protected]>
Date: Wed Jun 10 19:39:24 2026 +0000
patch 9.2.0613: tests: test_xxd_color2() checks for dash but uses sh
Problem: tests: test_xxd_color2() checks for dash but uses sh
Solution: Use dash instead (Christoffer Aasted)
Test is already checking for dash executable, but failing on distros
not defaulting to /bin/sh as dash.
Explicit dash will make it portable and deterministic.
closes: #20473
Signed-off-by: Christoffer Aasted <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_xxd.vim b/src/testdir/test_xxd.vim
index 990683b17..fd23d38e1 100644
--- a/src/testdir/test_xxd.vim
+++ b/src/testdir/test_xxd.vim
@@ -712,7 +712,7 @@ func Test_xxd_color2()
let $PS1='$ '
" This needs dash, plain bashs sh does not seem to work :(
- let buf = RunVimInTerminal('', #{rows: 20, cmd: 'sh'})
+ let buf = RunVimInTerminal('', #{rows: 20, cmd: 'dash'})
call term_sendkeys(buf, s:xxd_cmd .. " -R never < XXDfile_colors\<cr>")
call TermWait(buf)
redraw
diff --git a/src/version.c b/src/version.c
index 7fa36a0f5..f32381821 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 613,
/**/
612,
/**/
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wXOrI-008PJ8-1w%40256bit.org.