From patchwork Fri Oct 17 16:35:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 5098341 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 162BE9F38C for ; Fri, 17 Oct 2014 16:35:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FC642015D for ; Fri, 17 Oct 2014 16:35:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FD0E20154 for ; Fri, 17 Oct 2014 16:35:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281AbaJQQfv (ORCPT ); Fri, 17 Oct 2014 12:35:51 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49233 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752472AbaJQQfu (ORCPT ); Fri, 17 Oct 2014 12:35:50 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34D50AAF3 for ; Fri, 17 Oct 2014 16:35:49 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D4008DA8DD; Fri, 17 Oct 2014 18:35:48 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH] btrfs-progs: run fsck image tests in filename order Date: Fri, 17 Oct 2014 18:35:48 +0200 Message-Id: <1413563748-19925-1-git-send-email-dsterba@suse.cz> X-Mailer: git-send-email 2.1.1 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: David Sterba --- Based on "Btrfs-progs: check, ability to detect and fix outdated snapshot root items" tests/fsck-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fsck-tests.sh b/tests/fsck-tests.sh index 3f04626eda8c..8987d0442a6b 100644 --- a/tests/fsck-tests.sh +++ b/tests/fsck-tests.sh @@ -32,7 +32,7 @@ run_check make btrfs-corrupt-block # image (the backing file of a loop device, as a sparse file). The reason for # keeping some as tarballs of raw images is that for these cases btrfs-image # isn't able to preserve all the (bad) filesystem structure for some reason. -for i in $(find $here/tests/fsck-tests -name '*.img' -o -name '*.tar.xz') +for i in $(find $here/tests/fsck-tests -name '*.img' -o -name '*.tar.xz' | sort) do echo " [TEST] $(basename $i)" echo "testing image $i" >> $RESULT