From: Bram Moolenaar Date: Thu, 23 Jul 2020 12:51:02 +0000 (+0200) Subject: patch 8.2.1276: MS-Windows: system test may fail if more.exe is installed X-Git-Tag: v8.2.1276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cc45a367363f7754dedd280cd7a065b7a220394;p=vim patch 8.2.1276: MS-Windows: system test may fail if more.exe is installed Problem: MS-Windows: system test may fail if more.exe is installed. Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517) --- diff --git a/src/testdir/test_system.vim b/src/testdir/test_system.vim index d59787389..9e63f5186 100644 --- a/src/testdir/test_system.vim +++ b/src/testdir/test_system.vim @@ -13,9 +13,9 @@ func Test_System() else call assert_equal("123\n", system('echo 123')) call assert_equal(["123\r"], systemlist('echo 123')) - call assert_equal("123\n", system('more', '123')) - call assert_equal(["123\r"], systemlist('more', '123')) - call assert_equal(["as\r", "df\r"], systemlist('more', ["as\df"])) + call assert_equal("123\n", system('more.com', '123')) + call assert_equal(["123\r"], systemlist('more.com', '123')) + call assert_equal(["as\r", "df\r"], systemlist('more.com', ["as\df"])) endif new Xdummy @@ -42,7 +42,7 @@ func Test_System() let out = systemlist('cat', bufnr('%')) call assert_equal(['asdf', "pw\er", 'xxxx'], out) else - let out = systemlist('more', bufnr('%')) + let out = systemlist('more.com', bufnr('%')) call assert_equal(["asdf\r", "pw\r", "er\r", "xxxx\r"], out) endif bwipe! diff --git a/src/version.c b/src/version.c index 3489c45ba..e0115c649 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 */ +/**/ + 1276, /**/ 1275, /**/