From patchwork Wed Nov 18 16:07:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 7650711 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3D56F9F1C2 for ; Wed, 18 Nov 2015 16:08:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6883520620 for ; Wed, 18 Nov 2015 16:08:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 803CB20602 for ; Wed, 18 Nov 2015 16:08:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756141AbbKRQIJ (ORCPT ); Wed, 18 Nov 2015 11:08:09 -0500 Received: from mail.kernel.org ([198.145.29.136]:38690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755920AbbKRQII (ORCPT ); Wed, 18 Nov 2015 11:08:08 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8172720602; Wed, 18 Nov 2015 16:08:07 +0000 (UTC) Received: from debian3.lan (bl8-199-62.dsl.telepac.pt [85.241.199.62]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 132C42062A; Wed, 18 Nov 2015 16:08:05 +0000 (UTC) From: fdmanana@kernel.org To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, Filipe Manana Subject: [PATCH] fstests: fix btrfs/091 failure due to not found _require_cp_reflink Date: Wed, 18 Nov 2015 16:07:56 +0000 Message-Id: <1447862876-18701-1-git-send-email-fdmanana@kernel.org> X-Mailer: git-send-email 2.1.3 X-Spam-Status: No, score=-7.5 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 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Filipe Manana Commit 20d7bfad2d38 ("reflink: add test support routines to a separate file") moved the function _require_cp_reflink to the new file common/reflink but forgot to make btrfs/091 source that file, leading to the following failure: $ ./check btrfs/091 FSTYP -- btrfs PLATFORM -- Linux/x86_64 debian3 4.3.0-rc5-btrfs-next-17+ MKFS_OPTIONS -- /dev/sdc MOUNT_OPTIONS -- /dev/sdc /home/fdmanana/btrfs-tests/scratch_1 btrfs/091 1s ... - output mismatch (see .../results//btrfs/091.out.bad) --- tests/btrfs/091.out 2015-05-03 01:19:42.128976975 +0100 +++ .../results/btrfs/091.out.bad 2015-11-18 15:56:35.332745132 +0000 @@ -1,4 +1,5 @@ QA output created by 091 +./tests/btrfs/091: line 49: _require_cp_reflink: command not found wrote 262144/262144 bytes at offset 0 XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 65536 65536 ... (Run 'diff -u tests/btrfs/091.out .../results/btrfs/091.out.bad' \ to see the entire diff) So just make btrfs/091 source common/reflink in order to know the definition of _require_cp_reflink. Signed-off-by: Filipe Manana Reviewed-by: Eryu Guan --- tests/btrfs/091 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/btrfs/091 b/tests/btrfs/091 index dfbba81..feac551 100755 --- a/tests/btrfs/091 +++ b/tests/btrfs/091 @@ -39,6 +39,7 @@ _cleanup() # get standard environment, filters and checks . ./common/rc . ./common/filter +. ./common/reflink # real QA test starts here