From patchwork Mon Feb 24 10:51:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ZhangZhen X-Patchwork-Id: 3708521 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 015B2BF13A for ; Mon, 24 Feb 2014 10:51:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 238A22013A for ; Mon, 24 Feb 2014 10:51:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0107B20149 for ; Mon, 24 Feb 2014 10:51:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751749AbaBXKvj (ORCPT ); Mon, 24 Feb 2014 05:51:39 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:59771 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbaBXKvi (ORCPT ); Mon, 24 Feb 2014 05:51:38 -0500 Received: from 172.24.2.119 (EHLO szxeml213-edg.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id ALA37478; Mon, 24 Feb 2014 18:51:36 +0800 (CST) Received: from SZXEML424-HUB.china.huawei.com (10.82.67.163) by szxeml213-edg.china.huawei.com (172.24.2.30) with Microsoft SMTP Server (TLS) id 14.3.158.1; Mon, 24 Feb 2014 18:51:12 +0800 Received: from [127.0.0.1] (10.111.69.77) by szxeml424-hub.china.huawei.com (10.82.67.163) with Microsoft SMTP Server id 14.3.158.1; Mon, 24 Feb 2014 18:51:05 +0800 Message-ID: <530B2418.20905@huawei.com> Date: Mon, 24 Feb 2014 18:51:04 +0800 From: ZhangZhen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: CC: Subject: [PATCH for xfstests] xfstests: fix to make tests/btrfs/013 really work References: <530AF3E3.9060202@huawei.com> In-Reply-To: <530AF3E3.9060202@huawei.com> X-Forwarded-Message-Id: <530AF3E3.9060202@huawei.com> X-Originating-IP: [10.111.69.77] X-CFilter-Loop: Reflected 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=ham 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 The test 013 couldn't work because here lacked "start". This patch fix it. Signed-off-by: Zhang Zhen --- tests/btrfs/013 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/btrfs/013 b/tests/btrfs/013 index 7620fcc..fb81663 100644 --- a/tests/btrfs/013 +++ b/tests/btrfs/013 @@ -72,7 +72,7 @@ _check_csum_error() } $XFS_IO_PROG -f -c "falloc 0 1M" -c "pwrite 16k 8k" -c "fsync" \ $SCRATCH_MNT/foo > $seqres.full 2>&1 -$BTRFS_UTIL_PROG filesystem balance $SCRATCH_MNT >> $seqres.full 2>&1 || \ +$BTRFS_UTIL_PROG filesystem balance start $SCRATCH_MNT >> $seqres.full 2>&1 || \ _fail "balance failed" _scratch_unmount _scratch_mount