From patchwork Sat Oct 19 15:34:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11200265 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1A88B17EE for ; Sat, 19 Oct 2019 15:38:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E50172082C for ; Sat, 19 Oct 2019 15:38:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VbTWNm05" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E50172082C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:56980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLqoj-0001yn-Ge for patchwork-qemu-devel@patchwork.kernel.org; Sat, 19 Oct 2019 11:38:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47411) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLqkf-000574-KQ for qemu-devel@nongnu.org; Sat, 19 Oct 2019 11:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLqke-0002rP-Kl for qemu-devel@nongnu.org; Sat, 19 Oct 2019 11:34:45 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:37052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLqke-0002qp-Fb for qemu-devel@nongnu.org; Sat, 19 Oct 2019 11:34:44 -0400 Received: by mail-wm1-x331.google.com with SMTP id f22so8753614wmc.2 for ; Sat, 19 Oct 2019 08:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L17Gkpekc5/KDSlV7uWJjFxc0f5cH+nD4BY7UX0P8ME=; b=VbTWNm05GGkKArp4LyU8HhBqRSYshuND0h/tYWWOaIjlduqCpKuT2IUsXog4FnzL99 V30OCecJAZcENWPydi53HJxNlyfKfOJmpmkWZabu840F9p0wxDRkndXAGyZPz4seuWCf sM94HiFCm9iJ0Z+epzzGB/aVH3q/hFPXS20hOLRSuqrz1D1RCV/ni3eDmQ4/XqAw3XjH BI+Oz69jAHHYTXz8qGNzy7gUg+msOP1kJLyYT+SDSC5cOIV0Zy9JyY43GQosK2I8r7j5 5dlyT0KSW9MuUV0k3ifrUYky3bS0Bw4OpVwmeHksMk4wP/pWaOiPIfUqoE5G/NLBiXEF VaQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=L17Gkpekc5/KDSlV7uWJjFxc0f5cH+nD4BY7UX0P8ME=; b=Nwt2E5gYlA+QP3glKt7RulyrweEZEIUuPvEBJ7657gdLEyNa51Hx7b2QCx+TlZYK+o Z13znp14EQBZCtAWugKRa3yna3zjQMN9kF9E41KONZA2/Bek3vgrU/GyCk/LkXMITYG4 Tg+cWz4+PX8oClzyn/QIarX6ShH24W7eaZbxr3eryzdLHTY9s+zVOcOH+defefH55CT7 ZiRwb/97lCG5+nDyZ8Mo08SIS+7+MaWGXNxvlIU2iRCXWYvnlfYg55FaKJqUsC+65eQO Pr/q2eazpl7DA+sORMHh2UD9AN44PyMqM3svI3GLslpp1AoBsa6UEHRp79sV/h8KdJ2K iVnw== X-Gm-Message-State: APjAAAVO3bTfikvxfwufaCABgeuE/XJgTaGmVtcipgMdeu9uslJxW7u7 scCjI+iCI8yDA6qAwffJQgiiaHdD X-Google-Smtp-Source: APXvYqzYa7pnmv62Bdo1K0pV/nZLzv+TqHN89ETx0czpXxYGJeTnD52UVxty1+nM8PYr5tm9KZOUYQ== X-Received: by 2002:a1c:99d5:: with SMTP id b204mr7051001wme.64.1571499283337; Sat, 19 Oct 2019 08:34:43 -0700 (PDT) Received: from x1w.redhat.com (14.red-88-21-201.staticip.rima-tde.net. [88.21.201.14]) by smtp.gmail.com with ESMTPSA id j19sm15245605wre.0.2019.10.19.08.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2019 08:34:42 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 03/11] tests/acceptance: Send on serial lines Date: Sat, 19 Oct 2019 17:34:29 +0200 Message-Id: <20191019153437.9820-4-f4bug@amsat.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191019153437.9820-1-f4bug@amsat.org> References: <20191019153437.9820-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Aleksandar Markovic , Cleber Rosa , Aleksandar Rikalo , Aurelien Jarno Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Some firmwares don't parse the control character and expect a . Signed-off-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 8897e0c253..497faa4f7f 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -34,7 +34,7 @@ class BootLinuxConsole(Test): failure_message='Kernel panic - not syncing') def exec_command_and_wait_for_pattern(self, command, success_message): - command += '\n' + command += '\r\n' self.vm.console_socket.sendall(command.encode()) wait_for_console_pattern(self, success_message)