From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D89B6FE35; Mon, 8 Apr 2024 13:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712582889; cv=none; b=c4/oT1xk8p940W/mDTSyzCoj8tguwZl33+IBr+KOmr2D0mT/H1AtQNDGyo/S1DtQTOuIdpmzK2zPLebeXEm5BgxQ7DQQLuOZxHisZIZ1ddG7R0WMXvxZkRr+SxL3fDZzhgsMs6qTYDjb4uvqMjF+/AtRX8SD+IPS3J3ZPmqDCeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712582889; c=relaxed/simple; bh=ksrmcZ0DHxpWWgwJO2q96J/dIw7GBWymFPKZFHVxM0Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gZ/ADZiuoqSVbdEyBGEhH2btL0R2Bi5RdAYDarzFZKNqOtKJeY0JeO5HDZno1C1iZgOGGnGlZIwgsIaZEGTSetKAxRbEFZSyWviaEZ9fyti7HSWzbToIlYqbgxVqoJO90a7uwYbMDaP3V3YDSzUViWFmWu0zHwJV9IH7VLyaxII= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rsOgBfYQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rsOgBfYQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3DA9C43390; Mon, 8 Apr 2024 13:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712582889; bh=ksrmcZ0DHxpWWgwJO2q96J/dIw7GBWymFPKZFHVxM0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rsOgBfYQy2DNXvzfE0bheAvT35VIwXIMz2cMcshqtdOXWopXqpsmoxR1lIQ8Wh4UW r0IiTZSZuS5Jx1NfoFUaS3rs6kFeWnQ2rp7iH6kaiDkr578RfhAT0QgU+T7RkOJFBC US9K/gVjHyF8+jPGFrO460kfFkZH82JjVHxmQpHQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Muhammad Usama Anjum , Jakub Kicinski Subject: [PATCH 6.8 114/273] selftests: reuseaddr_conflict: add missing new line at the end of the output Date: Mon, 8 Apr 2024 14:56:29 +0200 Message-ID: <20240408125312.842834870@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240408125309.280181634@linuxfoundation.org> References: <20240408125309.280181634@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.8-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jakub Kicinski commit 31974122cfdeaf56abc18d8ab740d580d9833e90 upstream. The netdev CI runs in a VM and captures serial, so stdout and stderr get combined. Because there's a missing new line in stderr the test ends up corrupting KTAP: # Successok 1 selftests: net: reuseaddr_conflict which should have been: # Success ok 1 selftests: net: reuseaddr_conflict Fixes: 422d8dc6fd3a ("selftest: add a reuseaddr test") Reviewed-by: Muhammad Usama Anjum Link: https://lore.kernel.org/r/20240329160559.249476-1-kuba@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/net/reuseaddr_conflict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/net/reuseaddr_conflict.c +++ b/tools/testing/selftests/net/reuseaddr_conflict.c @@ -109,6 +109,6 @@ int main(void) fd1 = open_port(0, 1); if (fd1 >= 0) error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with no ipv6"); - fprintf(stderr, "Success"); + fprintf(stderr, "Success\n"); return 0; }