From patchwork Mon Feb 12 14:06:50 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: 1897768 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=W7TtR1K4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4TYR9B2w0Sz20RF for ; Tue, 13 Feb 2024 01:07:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 65D453858C2A for ; Mon, 12 Feb 2024 14:07:08 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 3B5763858D37 for ; Mon, 12 Feb 2024 14:06:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B5763858D37 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 3B5763858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::433 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707746815; cv=none; b=p/mINydnAitPgrNwf8/Z4HAw6od4ob/n9prSAXUi6PrDfvgmMtj27nPhGhoV1RNROCuupnaCqydV11pKTkAE7PqnjUF0rZ2xUXk5IHz8CZ6gO8v0rFVMEa1ru+JXJ3wyvigjCfj2+5Z8ysObh8hUOMDn1lzGCogYcbqBqevyOuw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707746815; c=relaxed/simple; bh=AUh/mb32spfOFg5iNRiI6a3s2nGYR7hMdUnahKLD7eA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=sT9K0B0ovnAcKVI+h4vl3V4E/+2RmzGb6Xy2P91JfqbP6ZrrVkPDsPPqR0JLKHXZ2Pzncw6T3OYOkt+V5ELTmIun5sTpsjBMYWFKltzD4/qHkmbb/P14uN/3IPs1TGEh6x6FxR5u+oQ7kN/gAPCZG9aKlz7sWldRgaeQ9F2Ho1w= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6e0ac91e1e9so882072b3a.3 for ; Mon, 12 Feb 2024 06:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707746812; x=1708351612; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=4tBC+ZIDk9IxaAbYUX1k8sGbPRC3tzebNi0aft8Lz78=; b=W7TtR1K4pp2L9E8YZgEcQYDt7KuWZq6vE4q0tDEnOA30/Unm6b6NO8I3bINT5oyxJw kFCGrQYlzuvBRzjNDv9H8+aD0J6pwhHODcyV2itVc+6mdlbSdFUQKFWxy2FIrgIrjN0E 6mHqhc+Y+g3BEZsF5tTxrszfpMyeWbTno0xHazsKfWWxpCGVUcYTxIhw/VHMucgB9MBK d7c+eGnCA0KqmiUbtpo4SgcdLt2d+6m71oJzkvUfTRG0HOC0/jK9DjavJqbFFrlwSWC/ E+UOpXGpCRcPZMJims/JAtwpIL0kJGfdDGjZi9uyBYCeCmYYyjZgQ+7lGHpTcz15BolZ L8gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707746812; x=1708351612; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4tBC+ZIDk9IxaAbYUX1k8sGbPRC3tzebNi0aft8Lz78=; b=OCDmwR2n7xi3o9Q+cD+ZYuM+XS06rU/eQS+03APW9V35/9S8fqaNMrz8s7sRZOjVCo h21PNIBhB01MCPWHFjVZJLm3kMwnQcVTlsvyXPln5i0j44fOKgG7MhHu1ZWQ4msq/jHy 3qbcsRZqs2NjFvW1/0iLRJl3yC0mRqRzTun8h9wbnqJGMbCs/lZwdgbVgduapBwx89ni BvEhSFqvO176mzEIaMmmMxCgBZa9qKZ0ztYS+zw3cnfF1fe1Ry/6sX8ydHK1cD3nlo55 6B/sWLVOibM8M0bplMqHYYblOJFRwAm3Jef1DC5u+6w5AFLea3xROrRQ6cH+ZAPZYcKb kMqQ== X-Gm-Message-State: AOJu0Yw9n1WAT8Vui4lGHAAvUTRQcHKCRuk2x+ZPc0QW9yBZGXqLU0xY v5chcgOgmPghhgY8PxFVNldyxph9jyjIkpi1RIDKWcPG1zqZhujd6MpVObSm X-Google-Smtp-Source: AGHT+IFx0tVlWEjVm7734HGNcDuqj898eI4yHhRtpE3twzAxtItKm/L5nnBq6v1MkE05j7SlwEjcOg== X-Received: by 2002:aa7:98db:0:b0:6df:fa71:f044 with SMTP id e27-20020aa798db000000b006dffa71f044mr6233158pfm.0.1707746811664; Mon, 12 Feb 2024 06:06:51 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.168.224]) by smtp.gmail.com with ESMTPSA id z18-20020aa79e52000000b006e05e812011sm5487588pfq.181.2024.02.12.06.06.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 06:06:51 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 561ED7400AC for ; Mon, 12 Feb 2024 06:06:50 -0800 (PST) From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [PATCH v2] test_printers_common.py: Remove invalid escape sequence Date: Mon, 12 Feb 2024 06:06:50 -0800 Message-ID: <20240212140650.908586-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3020.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, 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 Change "\(" and "\)" to "\\(" and "\\)" in test_printers_common.py. This fixes the test warning: .../scripts/test_printers_common.py:101: SyntaxWarning: invalid escape sequence '\(' Reviewed-by: Florian Weimer --- scripts/test_printers_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index bf700966ac..5c0d936fed 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -98,7 +98,7 @@ try: # If everything's ok, spawn the gdb process we'll use for testing. gdb = pexpect.spawn(gdb_invocation, echo=False, timeout=timeout, encoding=encoding) - gdb_prompt = u'\(gdb\)' + gdb_prompt = u'\\(gdb\\)' gdb.expect(gdb_prompt) except pexpect.ExceptionPexpect as exception: