From patchwork Wed Jun 26 23:09:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 254915 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E04F92C0087 for ; Thu, 27 Jun 2013 09:09:24 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753015Ab3FZXJY (ORCPT ); Wed, 26 Jun 2013 19:09:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50115 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752953Ab3FZXJX (ORCPT ); Wed, 26 Jun 2013 19:09:23 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5QN9NXe027904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Jun 2013 19:09:23 -0400 Received: from Liberator-563.local (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5QN9MR4010912 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 26 Jun 2013 19:09:23 -0400 Message-ID: <51CB74A2.3020807@redhat.com> Date: Wed, 26 Jun 2013 19:09:22 -0400 From: Eric Sandeen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: ext4 development Subject: [PATCH V2] e2fsprogs: fix tests/f_extent_oobounds References: <51CB41AA.5040605@redhat.com> In-Reply-To: <51CB41AA.5040605@redhat.com> X-Enigmail-Version: 1.5.1 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Use $DEBUGFS and $MKE2FS to get the in-tree executables for this test. (Build machines which run make check shouldn't need to have e2fsprogs installed, and we should be testing just-built versions of the tools anyway) Signed-off-by: Eric Sandeen --- V2: need to fix mke2fs as well as debugfs -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/f_extent_oobounds/script b/tests/f_extent_oobounds/script index 31ac6c9..b00b031 100644 --- a/tests/f_extent_oobounds/script +++ b/tests/f_extent_oobounds/script @@ -4,8 +4,8 @@ SKIP_GUNZIP="true" TEST_DATA="$test_name.tmp" dd if=/dev/zero of=$TMPFILE bs=1k count=256 > /dev/null 2>&1 -mke2fs -Ft ext4 $TMPFILE > /dev/null 2>&1 -debugfs -w $TMPFILE << EOF > /dev/null 2>&1 +$MKE2FS -Ft ext4 $TMPFILE > /dev/null 2>&1 +$DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1 write /dev/null testfile extent_open testfile insert_node 0 15 100