v22-0002-TEST-Fixup-for-test-driver.patch

text/plain

Filename: v22-0002-TEST-Fixup-for-test-driver.patch
Type: text/plain
Part: 1
Message: Re: Index AM API cleanup

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v22-0002
Subject: [TEST] Fixup for test driver
File+
src/tools/clone_tests.pl 1 1
From d7bc107d28ee12ad510ee01e76450dcf6915b30e Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Wed, 19 Mar 2025 19:59:35 +0100
Subject: [PATCH v22 02/10] [TEST] Fixup for test driver

---
 src/tools/clone_tests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/clone_tests.pl b/src/tools/clone_tests.pl
index bb86c9c2e43..e92eadce590 100644
--- a/src/tools/clone_tests.pl
+++ b/src/tools/clone_tests.pl
@@ -380,7 +380,7 @@ sub convert_expected_output
 			  {ERROR:  access method "$dstam" does not support included columns}g;
 
 	# Convert \d table output that embeds the index AM name in the output
-	$code =~ s{("$unqualifiednamere")(?: UNIQUE,)? $srcam(?= \($balancedre\))}{$1 $dstam}g;
+	$code =~ s{("$unqualifiednamere")( UNIQUE,)? $srcam(?= \($balancedre\))}{$1$2 $dstam}g;
 
 	return $code;
 }
-- 
2.49.0