From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id D52EA38515C5; Sat, 17 Sep 2022 15:43:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D52EA38515C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663429393; bh=V9v1ZAZatzXfHVLyd35C9BMWcc1hx/ZOR/xMb71Qtqg=; h=From:To:Subject:Date:From; b=c9mOaCBgsJFuSASiwu5pYsBitBLLs8oZ8yuXPsyPown5wSKQgjIfPSKAsruOtX2HE m+6nGKpLSS8qHXEMqz6AzZo7Ubm4ZLyaOjcU3uNRZjPYsi0uPqaTc2KCmPxT5RsYfa XHBWFO2kpxv8RrUOvmw4gm6GSaLteme9GLhe9j1w= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] tst-sprintf-errno: Update Hurd message length X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: 22c96052acf78c5f4644117bece38715fc7210cf X-Git-Newrev: 6841aed6c4abde1aa7015348496c86cadc227a1f Message-Id: <20220917154313.D52EA38515C5@sourceware.org> Date: Sat, 17 Sep 2022 15:43:13 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6841aed6c4abde1aa7015348496c86cadc227a1f commit 6841aed6c4abde1aa7015348496c86cadc227a1f Author: Samuel Thibault Date: Sat Sep 17 17:42:42 2022 +0200 tst-sprintf-errno: Update Hurd message length 03ad444e8e08 ("mach: Fix incoherency between perror and strerror") fixesd the output of error messages, but tst-sprintf-errno.c was still checking the old (erroneous) format length. This updates the expected output length according to the 03ad444e8e08 fix. Diff: --- stdio-common/tst-sprintf-errno.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio-common/tst-sprintf-errno.c b/stdio-common/tst-sprintf-errno.c index 91b1f142fb..13e7ed28f0 100644 --- a/stdio-common/tst-sprintf-errno.c +++ b/stdio-common/tst-sprintf-errno.c @@ -49,7 +49,7 @@ do_test (void) errno = -1; #ifdef __GNU__ - TEST_COMPARE (sprintf (buf, "%m"), 35); + TEST_COMPARE (sprintf (buf, "%m"), 39); TEST_COMPARE_STRING (buf, "Error in unknown error system: FFFFFFFF"); #else TEST_COMPARE (sprintf (buf, "%m"), 16);