From: Christian Brabandt Date: Sat, 14 Mar 2026 17:23:04 +0000 (+0000) Subject: patch 9.2.0165: tests: perleval fails in the sandbox X-Git-Tag: v9.2.0165^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f89324b3a7a7c88be19136227fbc9e1137cdb69;p=thirdparty%2Fvim.git 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 --- diff --git a/src/testdir/test_perl.vim b/src/testdir/test_perl.vim index cededb2e4b..52243b5a13 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\ndef", perleval('"abc\0def"')) diff --git a/src/version.c b/src/version.c index 67f31cfbad..b3d68918b3 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, /**/