Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp591919pxb; Wed, 27 Jan 2021 16:05:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4vkLVCnEhIz8y6PMtPYN11wFOOEmn5aM2I9shO3NOQQ4rJJOT4QtGwjeBwIqP2EhoJJ00 X-Received: by 2002:a05:6402:212:: with SMTP id t18mr11368011edv.37.1611792355830; Wed, 27 Jan 2021 16:05:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792355; cv=none; d=google.com; s=arc-20160816; b=rrZ+4FbhycDhMNSdlMhzC+2Lebmv76+ns//6Rk4vcNbh65ZaG78U3NvWNhDlJothV7 fvM2rOR+Nu9rYAOKb3/98kLtG42827Iu//xTNg5WAjBewH3bTtvXP81drkzjp1fIEkcA VMXT3gkg77Jh06FEYsI5M99wwndg2Yu2s5PCc1xLMXa+SPpcMPcgTOAeJEJGJhaEoGTu m7Xx88vo6FysrSupmfHMmtWgZ0MD5Wa/AIsjmzhr6DhxmG8LcaI44BS1H8hbJQCGswQ3 45UD2rQXEhxgS2eekaXDY7VtVXh400kI7+lWHfVlG21rRVLBs5dhKmwhRb/sAHEbBUxj G2YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=UvTfRiQ2JjY5CtTa/lkE68mwvgx0vEA/U4oZ/eb1TWk=; b=DfVpaiFc9C39kNf9QJLRtoTiudQXNjkcbkq28BQWFTKdEwtV17lS77hSXGlcsAWuS3 Rgswz602MTGxkgvbZshDqiJYr7j/okUp3/to7mrv+0Nbo3WixN/7gpzJGTArWv8wwkQn ENpa5PlcKp7VHfEwF4dlwyUCJbxWUtNLrSbkUsqDMtGSfGqdePb0q4Levz0ePIlucJNi RRR0ZlhJ/rx7FRsORpGGd3fN1luo38bpYAFybCc3gWvPVBcJiyDNa6iJU2v2wmviMmmY 2R5FVaVpfHqJ34PU+wRSyVDM1IECO88AXy9SsUI/qH00kjim0lPg4YmQoOMdVSvqU2AU 5ECA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 33si1764625edq.416.2021.01.27.16.05.32; Wed, 27 Jan 2021 16:05:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236161AbhA0Pu4 (ORCPT + 99 others); Wed, 27 Jan 2021 10:50:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:50374 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235953AbhA0PuW (ORCPT ); Wed, 27 Jan 2021 10:50:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DE9F2AE76; Wed, 27 Jan 2021 15:49:40 +0000 (UTC) From: Takashi Iwai To: Luis Chamberlain Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org Subject: [PATCH RFC 3/4] selftest: firmware: Fix the request_firmware_into_buf() test for XZ format Date: Wed, 27 Jan 2021 16:49:38 +0100 Message-Id: <20210127154939.13288-4-tiwai@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210127154939.13288-1-tiwai@suse.de> References: <20210127154939.13288-1-tiwai@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The test uses a different firmware name, and we forgot to adapt for the XZ compressed file tests. Signed-off-by: Takashi Iwai --- tools/testing/selftests/firmware/fw_filesystem.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/firmware/fw_filesystem.sh b/tools/testing/selftests/firmware/fw_filesystem.sh index 2424a97da65b..f1976e650672 100755 --- a/tools/testing/selftests/firmware/fw_filesystem.sh +++ b/tools/testing/selftests/firmware/fw_filesystem.sh @@ -492,6 +492,7 @@ test "$HAS_FW_LOADER_COMPRESS" != "yes" && exit 0 # test with both files present xz -9 -C crc32 -k $FW +xz -9 -C crc32 -k $FW_INTO_BUF config_set_name $NAME echo echo "Testing with both plain and xz files present..." @@ -499,6 +500,7 @@ do_tests both # test with only xz file present mv "$FW" "${FW}-orig" +mv "$FW_INTO_BUF" "${FW_INTO_BUF}-orig" echo echo "Testing with only xz file present..." do_tests xzonly -- 2.26.2