From nobody Thu Feb 01 21:44:45 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TQsrF74F3z58kVF; Thu, 1 Feb 2024 21:44:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TQsrF6Y0Cz4jPX; Thu, 1 Feb 2024 21:44:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hQgQV9V0NTTEnpOW/U97UagjiKMWRJp2D0/aRNfBwJ8=; b=w6jP1lExxe94DD+lJeGAE1JgoXrB/7v6SY04ZPJl+tTzDHXHWbJtmq+9js+SpscCUzf3Gz smCG+gZnlrkSPkgbUU2sJB7Nz/ZxhiYvR6huc7WT6nIE2VA7NBV6l0929JYTDq25WyQJi0 KGwTWDDdTxRAonEncSUyTuZIyfg2wFovqwZ3RDQ1QWk4buMvZ0mdtuHhRqpqaF2pE1DLM7 bEIBNkLn3bh4l1lA9aZNIq7t9EanHCQFlrjXaQK9LZJ2Qs32TlpaqTfcdC6YyZMpINvhKl lVlLfSLHbW7AXO+8KCqCI9+CmqGOmFwNEJk6knz00kWzQUKk0aocKlKcJoVcUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hQgQV9V0NTTEnpOW/U97UagjiKMWRJp2D0/aRNfBwJ8=; b=IQjeDYEjGoLm9B8tMs33ZnIQh+EBnBRFZlof7t3JqA7mbibuKNNbgSQFIDRoThn26WuAme yB9EtW5EMQyEJKhdLzBsmXCyHEeeheCepVtbX6aRkjHjklTTpeDZ+GN7Hl2Us98iY5dUFo NoV1JZKiM8xRBXbl/0/F1CFCp4JIkLOfZvgr4CP4jIaIZjYU5QVy5E7KEc1ucRuTnCAor4 Ca7Hp7RsHj0riHMvShH+ebzIzv4IYL0aQxkgi9kMPWLrys6rvrdhHw4/sS2hM+LxlUlo7s 9SwFKVZKVekTca1UZIX+v7tCAvJTHL301HOY5XrpEUJ8O+Q1G+M8dInKzuNSvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706823885; a=rsa-sha256; cv=none; b=H8ufAWEU/dFfbBAhEDw0sm18wKRFMF/+u2bhRA2SiL9Cmg1OdObWfZLqpiTScHe1KyC+eV vN6FJE0Hf+wZtMkqMKXKRRvWDRwmwA4wxbRiI79mB+yH+x/h6TJhBFwqwngw/p3PJIhhaS 6QlgNwRFIfbDM7VynIbFCavmekjiU58N7jVV3FcYI/h+nP6yPDSly07ohLpF8NaoGBJbRG CKZdczWHbvzeM8Zz2lkJxM4jSnd8liIuKbmU76/hyFpVdoO5S2TSBj/pwpFrgldzgqtMO9 kEB1eajgLQPIm6qCCdhaxmDUhBo8mvEByRmbzvjCAzn3yBGbrQQCcvtucfNdeg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TQsrF5d12z1JYN; Thu, 1 Feb 2024 21:44:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 411Lijh7004684; Thu, 1 Feb 2024 21:44:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LijGq004681; Thu, 1 Feb 2024 21:44:45 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:44:45 GMT Message-Id: <202402012144.411LijGq004681@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 702c48184718 - main - socket tests: improve error message List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 702c481847181005c9717ad04ec79efb32627089 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=702c481847181005c9717ad04ec79efb32627089 commit 702c481847181005c9717ad04ec79efb32627089 Author: Gleb Smirnoff AuthorDate: 2024-02-01 21:37:26 +0000 Commit: Gleb Smirnoff CommitDate: 2024-02-01 21:37:26 +0000 socket tests: improve error message --- tests/sys/kern/socket_msg_waitall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/socket_msg_waitall.c b/tests/sys/kern/socket_msg_waitall.c index e1e10a4c7886..4ad26b7419ba 100644 --- a/tests/sys/kern/socket_msg_waitall.c +++ b/tests/sys/kern/socket_msg_waitall.c @@ -50,7 +50,7 @@ close_test_client(void *arg) n = recv(s, buf, buflen, MSG_WAITALL); ATF_REQUIRE_MSG(n == (ssize_t)p->msglen, - "recv: %s", strerror(errno)); + "recv: got %zd expected %zd", n, (ssize_t)p->msglen); ATF_REQUIRE(close(s) == 0); }