Message ID | 20190808231015.14330-2-ricardo.martincoski@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DBk25n6e"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 464PKH72YYz9sNk for <incoming-buildroot@patchwork.ozlabs.org>; Fri, 9 Aug 2019 09:12:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 66D612075B; Thu, 8 Aug 2019 23:12:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JMW4cN8UYN1w; Thu, 8 Aug 2019 23:12:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1DD3D204AF; Thu, 8 Aug 2019 23:12:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 92EC71BF383 for <buildroot@lists.busybox.net>; Thu, 8 Aug 2019 23:12:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E2FA85BCE for <buildroot@lists.busybox.net>; Thu, 8 Aug 2019 23:12:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yNiFFIlVefQc for <buildroot@lists.busybox.net>; Thu, 8 Aug 2019 23:12:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2F82085B7C for <buildroot@buildroot.org>; Thu, 8 Aug 2019 23:12:13 +0000 (UTC) Received: by mail-qk1-f196.google.com with SMTP id z16so451719qka.1 for <buildroot@buildroot.org>; Thu, 08 Aug 2019 16:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gJpYQP/mkJuwbsQ3/gFknouRZ9ZlmKUKS7bSuTNbxmk=; b=DBk25n6eTYxz2juk5pN7OJVmcjCqI8ODDpW15auEE5knqGRyyoM73zv6Vox4FmLMZm dOl7QpKMfcgBkdF9buzJWqfEvzGGgd/OIvlcAeCGxiLgNtB0fNad5kf6j9W2fWYpZ4WG eaUQ+skuCYxJBEzI0lCn83w7o+5/ITk4JM/qJOjyw3huZ8z07fg6x/e+Zwa2FavFUlrX Av0PwcYDUi+C1sCvMX9oTomQZ/E2z2yG+Txxa1cCWZna7JMqUsXiFd0AXuCGgpLeavHF ic6D8SLhbW1zGMNDrgg+mw5gTbaJC6DJ19KGWJtnT+VvxZGSs2dxZWs0yIxc683RZoJh 6OOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gJpYQP/mkJuwbsQ3/gFknouRZ9ZlmKUKS7bSuTNbxmk=; b=tsaDmKysad1c+Lw2Y5x0NI+aU8xqWZFP9AbPiYxdff7a1EGtT1Hgj1EDTKYf07R8XT 1nGJlpbHTCVjg+QlDvnrI4O0qCvnvOkF2c77YCrBCA09C2gAFiL8PU34jtNqdmdn6lB9 KifSGumSqwJUQK6rlT9t9qmYqOCwZTviT3I9Yt2z/nOMyw2mCqJh8RF91hM7M3pzayOt GlqQadlyLy71lKDYswCaifa/Lp9OogC9Y3qGLYqSNvk/9a0AjEQtHPI3WZ71PqlopmGF 91hc8QdRAsHF8PIlE76j3oHi1WHH5afHjudEurDkLg6WfZiP0bT1YKkSuEcEbZmz2Qoh B4+Q== X-Gm-Message-State: APjAAAVnZnVIozIt7shu8vZJO21p6xiZZ2dpMa4Q/YPu861hcDS4KCU/ CBq25lIsdSiV4+teh79hkMGxb8UK X-Google-Smtp-Source: APXvYqzuDlz+djuoyOjj9bfLKISTiRyphkzlQMcNKefiZfLjPgORvPoiXaqUpzB140eqD0WUy6u3Ew== X-Received: by 2002:a37:dc42:: with SMTP id v63mr14959629qki.488.1565305932029; Thu, 08 Aug 2019 16:12:12 -0700 (PDT) Received: from ultri5.home (189.27.173.197.dynamic.adsl.gvt.net.br. [189.27.173.197]) by smtp.gmail.com with ESMTPSA id p59sm42473961qtd.75.2019.08.08.16.12.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 16:12:11 -0700 (PDT) From: Ricardo Martincoski <ricardo.martincoski@gmail.com> To: buildroot@buildroot.org Date: Thu, 8 Aug 2019 20:10:11 -0300 Message-Id: <20190808231015.14330-2-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190808231015.14330-1-ricardo.martincoski@gmail.com> References: <20190808231015.14330-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH 1/5] support/testing: check ubi image before booting X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
test infra using Python 3
|
expand
|
diff --git a/support/testing/tests/fs/test_ubi.py b/support/testing/tests/fs/test_ubi.py index 015d82f769..e024d417df 100644 --- a/support/testing/tests/fs/test_ubi.py +++ b/support/testing/tests/fs/test_ubi.py @@ -25,6 +25,7 @@ class TestUbi(infra.basetest.BRTest): cwd=self.builddir, env={"LANG": "C"}) out = out.splitlines() + self.assertIn("UBI image, version 1", out[0]) subprocess.call(["truncate", "-s 128M", img])
Do the same as other fs tests and minimally check the ubi image before booting. The call to 'file' was already there, but the output wasn't tested for some unknown reason. Add the assert for the output of the command. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> --- support/testing/tests/fs/test_ubi.py | 1 + 1 file changed, 1 insertion(+)