From patchwork Tue Feb 6 12:42:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1895691 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Wy5Xz8uM; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TTjZJ0WVGz23g2 for ; Tue, 6 Feb 2024 23:42:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F05D33858D35 for ; Tue, 6 Feb 2024 12:42:27 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id D28153858D33 for ; Tue, 6 Feb 2024 12:42:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D28153858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D28153858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1029 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707223333; cv=none; b=j+JU/dgi8C+IUrvAIX/uhWb+QnRToTj+NT3q5/apHVqfPlxR0Dwggd7R1XzOHu6E3IwQi6loAZuhkUFGrxEnMG0OEJUGzJAozxzM69BSMF9nHxvnYytBwtjejjR/N3ylRWRq8fSh9Hwi3zYG/jKp5ekReAbM82MrXX5c3Rvh+6c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707223333; c=relaxed/simple; bh=9j+rwQViYrhBztNJMP7fY2d3Ga69ueOuCL23zpAl9kI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=H1gdmJ0JpHivc39FwW12CrmuLhgJSo3v4NCDWMVbpF6yx8qoSHAdlai/PLkjWGvoCOIwCvVv/2LLDU0m4dUWZjXFQYHCRbDFyBQr/I7Gdi+erbavN4LZmTqvtaGgHFJO8aLDWSAUJZrq4nu+TDvSX0ETyESFlRwanKzhPjjm4/Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-296a5863237so423051a91.0 for ; Tue, 06 Feb 2024 04:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707223331; x=1707828131; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=z+ALy9KfsVOxXOXDYhklPBcb5+Xxk6lwv7PXuGaJPd0=; b=Wy5Xz8uMmoJfDcbTnPAxOP06cWnHaxq4O7xd1xwK87XutmSFoBJMtf13CQaei/YEFs UEu94a0bMjLbqpzjuNlInSk9OP9xbe+k3EEeUZDW+h5gw/0ZkB99h/Ao+dB9NbNHoKd8 1Tr+Elk9GsTjFknVM5zT0v/3iu4LVy52MiXTQkuDLoyaRI3zfO0sf6YWEp5ubpwioHhn lIiibwhW7wIX5L+Gd2VVvf0AbjJ9+5RpvccP3hRcTXxKEvDQ+Tg8iEBGrgJR/yXUh81b qew8Bw5PPllK26gBYowQhYv0IGV/kr16eteTX7/AzXTgdUOm59o1YBbfP8dKuzik2xDz fg9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707223331; x=1707828131; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z+ALy9KfsVOxXOXDYhklPBcb5+Xxk6lwv7PXuGaJPd0=; b=e1V3o2CLNZ3SAiBtIFzGoucagQ3PCaugOglp3RcKRo5HF4Jn9lLrD3PO0x3x/JEIu+ KSavK/tWf8+bFynWqP/P9PPx4FcU9D1CM4PN/9aPAZ4pDOdEdhnDlN6c8nyA+pn5aO2A OKmX4fK3z9f4zVaA+T4xrWMaWaRQFl1Us1skBe/0MliYqkTYByMWcyvzt6BqfbnIdbxS q/2yY6dqyS4Vq/Xlti3iLC224I/kjAUJazyr56j/iGH0Dpy27TU/DEQSQlg1ovbQ1TVL k7c3GgLy64Ie7sKhA1QSRjRxUMU0OEULWzcZrg+UilYlhh95NWlEtxq1B42FEBTK9A9w hzWg== X-Gm-Message-State: AOJu0Yw0NAbeQnvxdH7Yq65zBgPCTolixOOGQ2wb2zCICAqnGKUF6usQ imvf+ZAr6ZgbklgMcHDrdwrQvc5dgFY/RHINOQXOTmuxdDOLrkHS0q8dIi7u X-Google-Smtp-Source: AGHT+IGpbQJZ9jCLJ88LKADUP7ojejNlTfG8bO8mkXcb/riCS+pg76tqyKe9Q7eZNNYU4kBi3VOMNQ== X-Received: by 2002:a05:6a20:2d14:b0:19e:9aef:ea18 with SMTP id g20-20020a056a202d1400b0019e9aefea18mr1132381pzl.30.1707223330706; Tue, 06 Feb 2024 04:42:10 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.168.224]) by smtp.gmail.com with ESMTPSA id hy9-20020a056a006a0900b006e04022e8f0sm1766785pfb.208.2024.02.06.04.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:42:10 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 004AA740098; Tue, 6 Feb 2024 04:42:08 -0800 (PST) From: "H.J. Lu" To: libc-alpha@sourceware.org Cc: jakub@redhat.com Subject: [PATCH] tst-tls6.sh: Replace space with ':' in LD_PRELOAD Date: Tue, 6 Feb 2024 04:42:08 -0800 Message-ID: <20240206124208.2428029-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3023.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Replace space with ':' in LD_PRELOAD. This fixes [BZ #31344]. --- nptl/tst-tls6.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh index 450ee7870a..9dbb9495c1 100755 --- a/nptl/tst-tls6.sh +++ b/nptl/tst-tls6.sh @@ -38,7 +38,8 @@ for aligned in a e f; do ${test_wrapper_env} \ ${run_program_env} \ LD_PRELOAD="`echo ${common_objpfx}nptl/tst-tls5mod{$aligned,b,c,d}.so \ - | sed 's/:$//;s/: /:/g'`" ${tst_tls5} >> $logfile || fail=1 + | sed 's/:$//;s/: /:/g;s/ /:/g'`" ${tst_tls5} >> $logfile \ + || fail=1 echo >> $logfile echo "preload tst-tls5mod{b,$aligned,c,d}.so" >> $logfile @@ -46,7 +47,8 @@ for aligned in a e f; do ${test_wrapper_env} \ ${run_program_env} \ LD_PRELOAD="`echo ${common_objpfx}nptl/tst-tls5mod{b,$aligned,c,d}.so \ - | sed 's/:$//;s/: /:/g'`" ${tst_tls5} >> $logfile || fail=1 + | sed 's/:$//;s/: /:/g;s/ /:/g'`" ${tst_tls5} >> $logfile \ + || fail=1 echo >> $logfile echo "preload tst-tls5mod{b,c,d,$aligned}.so" >> $logfile @@ -54,7 +56,8 @@ for aligned in a e f; do ${test_wrapper_env} \ ${run_program_env} \ LD_PRELOAD="`echo ${common_objpfx}nptl/tst-tls5mod{b,c,d,$aligned}.so \ - | sed 's/:$//;s/: /:/g'`" ${tst_tls5} >> $logfile || fail=1 + | sed 's/:$//;s/: /:/g;s/ /:/g'`" ${tst_tls5} >> $logfile \ + || fail=1 echo >> $logfile done @@ -63,7 +66,8 @@ echo "===============" >> $logfile ${test_wrapper_env} \ ${run_program_env} \ LD_PRELOAD="`echo ${common_objpfx}nptl/tst-tls5mod{d,a,b,c,e}.so \ - | sed 's/:$//;s/: /:/g'`" ${tst_tls5} >> $logfile || fail=1 + | sed 's/:$//;s/: /:/g;s/ /:/g'`" ${tst_tls5} >> $logfile \ +|| fail=1 echo >> $logfile echo "preload tst-tls5mod{d,a,b,e,f}" >> $logfile @@ -71,7 +75,8 @@ echo "===============" >> $logfile ${test_wrapper_env} \ ${run_program_env} \ LD_PRELOAD="`echo ${common_objpfx}nptl/tst-tls5mod{d,a,b,e,f}.so \ - | sed 's/:$//;s/: /:/g'`" ${tst_tls5} >> $logfile || fail=1 + | sed 's/:$//;s/: /:/g;s/ /:/g'`" ${tst_tls5} >> $logfile \ +|| fail=1 echo >> $logfile exit $fail