From patchwork Tue Nov 27 03:12:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Rue X-Patchwork-Id: 10699617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 36C8A14D6 for ; Tue, 27 Nov 2018 03:12:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25DC52A896 for ; Tue, 27 Nov 2018 03:12:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1704A2A8A4; Tue, 27 Nov 2018 03:12:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86FB62A896 for ; Tue, 27 Nov 2018 03:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728384AbeK0OJP (ORCPT ); Tue, 27 Nov 2018 09:09:15 -0500 Received: from mail-it1-f171.google.com ([209.85.166.171]:37245 "EHLO mail-it1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbeK0OJP (ORCPT ); Tue, 27 Nov 2018 09:09:15 -0500 Received: by mail-it1-f171.google.com with SMTP id b5so31555645iti.2 for ; Mon, 26 Nov 2018 19:12:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NNAWz4bNphCZgg4Do+WXUyrCjrYbs6eXG7DZYC1W2d4=; b=gC7lSGDCGEN8/WqM/VK/CqRkeQVGS2AygTDQSo4I/IG0lIsRW3W6sPGkDV5009qhn1 oQyzdfGKi7sJCGMqL2iSRl5PqWJ9AUZUwG5c377OCkmZboCT1m0uC3QXnKRAC+c2uv35 0faL5kMre9wg74fk0DWQt1kesfKMebUJco2fo= 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:mime-version :content-transfer-encoding; bh=NNAWz4bNphCZgg4Do+WXUyrCjrYbs6eXG7DZYC1W2d4=; b=AZd7qcphYIXsZ+3/nmPw5sTlEUi0DQTr/qDnjTHVpRms9afuY+QVC/tqFLuxS/MIgr Ssfm0kMP9zhVqnEggTogt43DNRxPE8Kn1QmrV4Q2JKH0KItW0TK8hgM+5HKHd6FtRVdf 7nkVy0tMuQgoxWlMRURyhoISS8TUc4dDBBWThtrzCSiCc7L6u4u27rIRc12Peoq0agaS HFsmUIN8LqwB2XNPjDGKvhj2JK19EUj3DMOzhZVdaitF4sPOWBcN5kh9Pof3u4hxYcwe gBHuAnreT45/9g/DY1obDJJz43FsBPHHF4IR3+OKxHv0nWEuoUjHaVeaTKJ13fL3LB3N K6Tw== X-Gm-Message-State: AGRZ1gLfqXXFQ74SxsbbilssEl1FPLz0VpoYO72oEzS2Gb7HQBfHIaCo /SH4kkF0V5NhFUJhCd5JdP+vCQ== X-Google-Smtp-Source: AJdET5cFPL811Xw2oQt+4K+fjuyrrZjFKNo+AqTNpnDbX428gIekDUiqC8zLAqA6R2/n6XVzMSyfOw== X-Received: by 2002:a24:e38f:: with SMTP id d137mr24740403ith.69.1543288372071; Mon, 26 Nov 2018 19:12:52 -0800 (PST) Received: from localhost (c-107-2-67-121.hsd1.mn.comcast.net. [107.2.67.121]) by smtp.gmail.com with ESMTPSA id m11sm3702045itb.24.2018.11.26.19.12.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 19:12:51 -0800 (PST) From: Dan Rue To: linux-kernel@vger.kernel.org Cc: Dan Rue , Shuah Khan , Greg Kroah-Hartman , Kees Cook , "Luis R. Rodriguez" , linux-kselftest@vger.kernel.org Subject: [PATCH 0/2] selftests: firmware: fw_filesystem fix for busybox Date: Mon, 26 Nov 2018 21:12:14 -0600 Message-Id: <20181127031218.24419-1-dan.rue@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix fw_filesystem.sh to run in an automated environment under busybox. After this change, fw_run_tests.sh still fails at some point in fw_fallback.sh, with error "usermode helper disabled so ignoring test". This is coming from fw_lib.sh:verify_reqs() because $HAS_FW_LOADER_USER_HELPER is set to no. Dan Rue (2): selftests: firmware: remove use of non-standard diff -Z option selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config tools/testing/selftests/firmware/config | 1 + tools/testing/selftests/firmware/fw_filesystem.sh | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-)