patch 9.2.0165: tests: perleval fails in the sandbox
Commit:
https://github.com/vim/vim/commit/3f89324b3a7a7c88be19136227fbc9e1137cdb69
Author: Christian Brabandt <[email protected]>
Date: Sat Mar 14 17:23:04 2026 +0000
patch 9.2.0165: tests: perleval fails in the sandbox
Problem: tests: perleval fails in the sandbox
(after v9.2.0156)
Solution: Update tests and assert that it fails
related: #19676
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_perl.vim b/src/testdir/test_perl.vim
index cededb2e4..52243b5a1 100644
--- a/src/testdir/test_perl.vim
+++ b/src/testdir/test_perl.vim
@@ -163,7 +163,11 @@ func Test_perleval()
call assert_equal(-2, perleval('-2'))
call assert_equal(2.5, perleval('2.5'))
- sandbox call assert_equal(2, perleval('2'))
+ try
+ sandbox call perleval('2')
+ call assert_report('perleval did not fail in the sandbox')
+ catch /^Vim\%((\S\+)\)\=:E48:/
+ endtry
call assert_equal('abc', perleval('"abc"'))
call assert_equal("abc
def", perleval('"abc
diff --git a/src/version.c b/src/version.c
index 67f31cfba..b3d68918b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 165,
/**/
164,
/**/
--
--
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/E1w1T2x-005I9h-De%40256bit.org.