From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- app-shells/fish/files/3.3.1-drop-some-tests.patch | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app-shells/fish/files/3.3.1-drop-some-tests.patch (limited to 'app-shells/fish/files') diff --git a/app-shells/fish/files/3.3.1-drop-some-tests.patch b/app-shells/fish/files/3.3.1-drop-some-tests.patch new file mode 100644 index 000000000000..4c4081d77cfa --- /dev/null +++ b/app-shells/fish/files/3.3.1-drop-some-tests.patch @@ -0,0 +1,26 @@ +From ec8844d834cc9fe626e9fc326c6f5410341d532a Mon Sep 17 00:00:00 2001 +From: Fabian Homborg +Date: Thu, 14 Oct 2021 18:18:51 +0200 +Subject: [PATCH] Drop tests with resetting match start inside lookaround + +This seems to be of little use + +Fixes #8353 +--- + src/fish_tests.cpp | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp +index 3d71877de81..04058b47ba7 100644 +--- a/src/fish_tests.cpp ++++ b/src/fish_tests.cpp +@@ -5723,9 +5723,6 @@ static void test_string() { + {{L"string", L"match", L"-r", L"-a", L"a*", L"b", 0}, STATUS_CMD_OK, L"\n\n"}, + {{L"string", L"match", L"-r", L"foo\\Kbar", L"foobar", 0}, STATUS_CMD_OK, L"bar\n"}, + {{L"string", L"match", L"-r", L"(foo)\\Kbar", L"foobar", 0}, STATUS_CMD_OK, L"bar\nfoo\n"}, +- {{L"string", L"match", L"-r", L"(?=ab\\K)", L"ab", 0}, STATUS_CMD_OK, L"\n"}, +- {{L"string", L"match", L"-r", L"(?=ab\\K)..(?=cd\\K)", L"abcd", 0}, STATUS_CMD_OK, L"\n"}, +- + {{L"string", L"replace", 0}, STATUS_INVALID_ARGS, L""}, + {{L"string", L"replace", L"", 0}, STATUS_INVALID_ARGS, L""}, + {{L"string", L"replace", L"", L"", 0}, STATUS_CMD_ERROR, L""}, -- cgit v1.2.3