From patchwork Mon Jul 4 22:48:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Lu=C3=ADs_Henriques?= X-Patchwork-Id: 9213213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA8A360752 for ; Mon, 4 Jul 2016 23:27:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A97128737 for ; Mon, 4 Jul 2016 23:27:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F095287D9; Mon, 4 Jul 2016 23:27:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11D11287AE for ; Mon, 4 Jul 2016 23:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753639AbcGDX1Y (ORCPT ); Mon, 4 Jul 2016 19:27:24 -0400 Received: from balrog.mythic-beasts.com ([46.235.227.24]:51005 "EHLO balrog.mythic-beasts.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753366AbcGDX1M (ORCPT ); Mon, 4 Jul 2016 19:27:12 -0400 X-Greylist: delayed 2300 seconds by postgrey-1.27 at vger.kernel.org; Mon, 04 Jul 2016 19:27:12 EDT Received: from [217.129.130.179] (port=55695 helo=localhost) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bKCfc-0005Z5-SU; Mon, 04 Jul 2016 23:48:54 +0100 Date: Mon, 4 Jul 2016 23:48:47 +0100 From: Luis Henriques To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH] btrfs-progs: tests: 006-image-on-missing-device: fix btrfs tool path Message-ID: <20160704224838.GA18686@charon> MIME-Version: 1.0 Content-Disposition: inline X-BlackCat-Spam-Score: -28 X-Mythic-Debug: Threshold = On = 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 If btrfs isn't in the path, this test will fail with: [TEST/misc] 006-image-on-missing-device failed: btrfs fi show /dev/loop0 test failed for case 006-image-on-missing-device Makefile:226: recipe for target 'test-misc' failed make: *** [test-misc] Error 1 Fix the test script by adding $TOP to the path. Signed-off-by: Luis Henriques --- tests/misc-tests/006-image-on-missing-device/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" 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/misc-tests/006-image-on-missing-device/test.sh b/tests/misc-tests/006-image-on-missing-device/test.sh index 8680a707afbb..dd02d93e5fdd 100755 --- a/tests/misc-tests/006-image-on-missing-device/test.sh +++ b/tests/misc-tests/006-image-on-missing-device/test.sh @@ -61,12 +61,12 @@ test_run() run_check $SUDO_HELPER umount $TEST_MNT test_image_dump - run_check btrfs fi show $dev1 + run_check $TOP/btrfs fi show $dev1 # create a degraded raid1 filesystem, check must succeed # btrfs-image must not loop run_mayfail wipefs -a $dev2 run_check $SUDO_HELPER losetup -d $dev2 - run_check btrfs fi show $dev1 + run_check $TOP/btrfs fi show $dev1 test_image_dump }