From patchwork Thu Apr 9 22:49:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 11482549 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 671671392 for ; Thu, 9 Apr 2020 22:49:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 34A772074F for ; Thu, 9 Apr 2020 22:49:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bbZSjyxw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbgDIWtd (ORCPT ); Thu, 9 Apr 2020 18:49:33 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:57173 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726896AbgDIWtd (ORCPT ); Thu, 9 Apr 2020 18:49:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586472572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=finsLH4ttpOJBavJ6vuqhGu9rIx5HVXtwvWclEiJqOk=; b=bbZSjyxwFWvnnxpFgl1Ab5PZUsdsvGeoMSxSxeUHvhP0klT/+5RAmfEmbdr6LVQyfnmLGw eBCQhyUJ/mrGk8T8/4cREmQ3iHN2Inxqn3moaJMIobdqCYXHgiI6dpqq96Xt18l+dIvkTr onZSsPKemNWi9DXbMST1YY3+6vuPxNY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-10-1g7ID4EoNCa1IYajsfEIsg-1; Thu, 09 Apr 2020 18:49:28 -0400 X-MC-Unique: 1g7ID4EoNCa1IYajsfEIsg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2F13213F8; Thu, 9 Apr 2020 22:49:27 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D84DE272A6; Thu, 9 Apr 2020 22:49:26 +0000 (UTC) Subject: [PATCH 1.1/2] fstests: rename _require_test_symlinks From: Eric Sandeen To: fstests Cc: Namjae Jeon References: <83a816c2-fa40-c63f-7709-35863d412ded@redhat.com> <5bc398a3-a62d-e67f-1597-98dfee96f2f1@redhat.com> Autocrypt: addr=sandeen@redhat.com; prefer-encrypt=mutual; keydata= mQINBE6x99QBEADMR+yNFBc1Y5avoUhzI/sdR9ANwznsNpiCtZlaO4pIWvqQJCjBzp96cpCs nQZV32nqJBYnDpBDITBqTa/EF+IrHx8gKq8TaSBLHUq2ju2gJJLfBoL7V3807PQcI18YzkF+ WL05ODFQ2cemDhx5uLghHEeOxuGj+1AI+kh/FCzMedHc6k87Yu2ZuaWF+Gh1W2ix6hikRJmQ vj5BEeAx7xKkyBhzdbNIbbjV/iGi9b26B/dNcyd5w2My2gxMtxaiP7q5b6GM2rsQklHP8FtW ZiYO7jsg/qIppR1C6Zr5jK1GQlMUIclYFeBbKggJ9mSwXJH7MIftilGQ8KDvNuV5AbkronGC sEEHj2khs7GfVv4pmUUHf1MRIvV0x3WJkpmhuZaYg8AdJlyGKgp+TQ7B+wCjNTdVqMI1vDk2 BS6Rg851ay7AypbCPx2w4d8jIkQEgNjACHVDU89PNKAjScK1aTnW+HNUqg9Bli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mtKNdGfn75S7LfoK+RyuO7OJIMb4kR7Eb FzNbA3ias5BaExPknJv7XwI74JbEl8dpheIsRbt0jUDKcviOOfhbQxKJelYNTD5+wE4+TpqH XQLj5HUlzt3JSwqSwx+++FFfWFMheG2HzkfXrvTpud5NrJkGGVn+ErXy6pNf6zSicb+bUXe9 i92UTina2zWaaLEwXspqM338TlFC2JICu8pNt+wHpPCjgy2Ei4u5/4zSYjiA+X1I+V99YJhU +FpT2jzfLUoVsP/6WHWmM/tsS79i50G/PsXYzKOHj/0ZQCKOsJM14NMMCC8gkONe4tek Message-ID: Date: Thu, 9 Apr 2020 17:49:26 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <5bc398a3-a62d-e67f-1597-98dfee96f2f1@redhat.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Generally these tests are not restricted to one device or the other; testing the test device will suffice to determine the capability but it doesn't need to be named that way. Signed-off-by: Eric Sandeen diff --git a/common/rc b/common/rc index 24a8f145..31361d0e 100644 --- a/common/rc +++ b/common/rc @@ -3481,7 +3481,7 @@ run_check() "$@" >> $seqres.full 2>&1 || _fail "failed: '$@'" } -_require_test_symlinks() +_require_symlinks() { local target=`mktemp -p $TEST_DIR` local link=`mktemp -p $TEST_DIR -u` diff --git a/tests/generic/005 b/tests/generic/005 index 118fca20..c49109e9 100755 --- a/tests/generic/005 +++ b/tests/generic/005 @@ -48,7 +48,7 @@ _touch() # real QA test starts here _supported_fs generic _require_test -_require_test_symlinks +_require_symlinks _supported_os Linux diff --git a/tests/generic/023 b/tests/generic/023 index ea40f3d2..1cfa25cd 100755 --- a/tests/generic/023 +++ b/tests/generic/023 @@ -30,7 +30,7 @@ _supported_os Linux _require_test _require_renameat2 -_require_test_symlinks +_require_symlinks # real QA test starts here diff --git a/tests/generic/024 b/tests/generic/024 index 531a515f..b6ac4182 100755 --- a/tests/generic/024 +++ b/tests/generic/024 @@ -30,7 +30,7 @@ _supported_os Linux _require_test _require_renameat2 noreplace -_require_test_symlinks +_require_symlinks # real QA test starts here diff --git a/tests/generic/025 b/tests/generic/025 index e69d655f..2eb3e5e8 100755 --- a/tests/generic/025 +++ b/tests/generic/025 @@ -30,7 +30,7 @@ _supported_os Linux _require_test _require_renameat2 exchange -_require_test_symlinks +_require_symlinks # real QA test starts here diff --git a/tests/generic/067 b/tests/generic/067 index bd72dc85..d4c710d2 100755 --- a/tests/generic/067 +++ b/tests/generic/067 @@ -37,7 +37,7 @@ _cleanup() # Modify as appropriate. _supported_fs generic _supported_os Linux -_require_test_symlinks +_require_symlinks _require_test _require_scratch _require_loop diff --git a/tests/generic/078 b/tests/generic/078 index a421a8ab..ce0201c9 100755 --- a/tests/generic/078 +++ b/tests/generic/078 @@ -30,7 +30,7 @@ _supported_os Linux _require_test _require_renameat2 whiteout -_require_test_symlinks +_require_symlinks # real QA test starts here From patchwork Thu Apr 9 22:50:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 11482551 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F8941392 for ; Thu, 9 Apr 2020 22:50:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0827D20784 for ; Thu, 9 Apr 2020 22:50:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="KXNUxG0Y" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726933AbgDIWuh (ORCPT ); Thu, 9 Apr 2020 18:50:37 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:20651 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726896AbgDIWug (ORCPT ); Thu, 9 Apr 2020 18:50:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586472636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=goA+3L6c/fClvq/1nWaDnxGHeuDGyrhHqz4Hc1FL+k0=; b=KXNUxG0YJbQlY2Yo48E0OKQGnqRAJqJ3T5dhTL6FN4EeOxA0clsQsoLczqyNpCGBKu1+2a Qif57NuCQ+S5oMM6+8KTp0m8tQeQXKAnyAqQyp00j1dGgzxRWN5uW90ujYPNopYh+EmAiw AXMLbW8OpKlGi/CqdtQKgwGg5n1ovIw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-65-PvhIrMeBPku8ZFzUnViSCg-1; Thu, 09 Apr 2020 18:50:34 -0400 X-MC-Unique: PvhIrMeBPku8ZFzUnViSCg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0F8E718AB2D3; Thu, 9 Apr 2020 22:50:33 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C76FB5E001; Thu, 9 Apr 2020 22:50:32 +0000 (UTC) Subject: [PATCH 1.2/2] fstests: use _require_symlinks on all necessary tests From: Eric Sandeen To: fstests Cc: Namjae Jeon References: <83a816c2-fa40-c63f-7709-35863d412ded@redhat.com> <5bc398a3-a62d-e67f-1597-98dfee96f2f1@redhat.com> Autocrypt: addr=sandeen@redhat.com; prefer-encrypt=mutual; keydata= mQINBE6x99QBEADMR+yNFBc1Y5avoUhzI/sdR9ANwznsNpiCtZlaO4pIWvqQJCjBzp96cpCs nQZV32nqJBYnDpBDITBqTa/EF+IrHx8gKq8TaSBLHUq2ju2gJJLfBoL7V3807PQcI18YzkF+ WL05ODFQ2cemDhx5uLghHEeOxuGj+1AI+kh/FCzMedHc6k87Yu2ZuaWF+Gh1W2ix6hikRJmQ vj5BEeAx7xKkyBhzdbNIbbjV/iGi9b26B/dNcyd5w2My2gxMtxaiP7q5b6GM2rsQklHP8FtW ZiYO7jsg/qIppR1C6Zr5jK1GQlMUIclYFeBbKggJ9mSwXJH7MIftilGQ8KDvNuV5AbkronGC sEEHj2khs7GfVv4pmUUHf1MRIvV0x3WJkpmhuZaYg8AdJlyGKgp+TQ7B+wCjNTdVqMI1vDk2 BS6Rg851ay7AypbCPx2w4d8jIkQEgNjACHVDU89PNKAjScK1aTnW+HNUqg9BliCvuX5g4z2j gJBs57loTWAGe2Ve3cMy3VoQ40Wt3yKK0Eno8jfgzgb48wyycINZgnseMRhxc2c8hd51tftK LKhPj4c7uqjnBjrgOVaVBupGUmvLiePlnW56zJZ51BR5igWnILeOJ1ZIcf7KsaHyE6B1mG+X dmYtjDhjf3NAcoBWJuj8euxMB6TcQN2MrSXy5wSKaw40evooGwARAQABtCRFcmljIFIuIFNh bmRlZW4gPHNhbmRlZW5AcmVkaGF0LmNvbT6JAjgEEwECACIFAk6yrl4CGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJECCuFpLhPd7gh2kP/A6CRmIF2MSttebyBk+6Ppx47ct+Kcmp YokwfI9iahSPiQ+LmmBZE+PMYesE+8+lsSiAvzz6YEXsfWMlGzHiqiE76d2xSOYVPO2rX7xl 4T2J98yZlYrjMDmQ6gpFe0ZBpVl45CFUYkBaeul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9BZZbR1DE/sc3CqY5ZgX/qb7WAr9jaBjeMBCexZOu7hFVNkacr AQ+Y4KlJS+xNFexUeCxYnvSp3TI5KNa6K/hvy+YPf5AWDK8IHE8x0/fGzE3l62F4sw6BHBak ufrI0Wr/G2Cz4QKAb6BHvzJdDIDuIKzm0WzY6sypXmO5IwaafSTElQARAQABiQIfBBgBAgAJ BQJOsffUAhsMAAoJECCuFpLhPd7gErAP/Rk46ZQ05kJI4sAyNnHea1i2NiB9Q0qLSSJg+94a hFZOpuKzxSK0+02sbhfGDMs6KNJ04TNDCR04in9CdmEY2ywx6MKeyW4rQZB35GQVVY2ZxBPv yEF4ZycQwBdkqrtuQgrO9zToYWaQxtf+ACXoOI0a/RQ0Bf7kViH65wIllLICnewD738sqPGd N51fRrKBcDquSlfRjQW83/11+bjv4sartYCoE7JhNTcTr/5nvZtmgb9wbsA0vFw+iiUs6tTj eioWcPxDBw3nrLhV8WPf+MMXYxffG7i/Y6OCVWMwRgdMLE/eanF6wYe6o6K38VH6YXQw/0kZ +PrH5uP/0kwG0JbVtj9o94x08ZMm9eMa05VhuUZmtKNdGfn75S7LfoK+RyuO7OJIMb4kR7Eb FzNbA3ias5BaExPknJv7XwI74JbEl8dpheIsRbt0jUDKcviOOfhbQxKJelYNTD5+wE4+TpqH XQLj5HUlzt3JSwqSwx+++FFfWFMheG2HzkfXrvTpud5NrJkGGVn+ErXy6pNf6zSicb+bUXe9 i92UTina2zWaaLEwXspqM338TlFC2JICu8pNt+wHpPCjgy2Ei4u5/4zSYjiA+X1I+V99YJhU +FpT2jzfLUoVsP/6WHWmM/tsS79i50G/PsXYzKOHj/0ZQCKOsJM14NMMCC8gkONe4tek Message-ID: <1073036a-6c68-7136-800d-b17258459847@redhat.com> Date: Thu, 9 Apr 2020 17:50:32 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <5bc398a3-a62d-e67f-1597-98dfee96f2f1@redhat.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Consistently use _require_symlinks on all generic tests which create a symlink when they run. Signed-off-by: Eric Sandeen diff --git a/tests/generic/062 b/tests/generic/062 index 3fef02e8..ba744885 100755 --- a/tests/generic/062 +++ b/tests/generic/062 @@ -59,6 +59,7 @@ _supported_os Linux _require_scratch _require_attrs +_require_symlinks rm -f $tmp.backup1 $tmp.backup2 $seqres.full diff --git a/tests/generic/109 b/tests/generic/109 index 8be70c23..549a95b1 100755 --- a/tests/generic/109 +++ b/tests/generic/109 @@ -29,6 +29,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch +_require_symlinks rm -f $seqres.full diff --git a/tests/generic/294 b/tests/generic/294 index b74579ac..32c89b03 100755 --- a/tests/generic/294 +++ b/tests/generic/294 @@ -32,6 +32,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch +_require_symlinks rm -f $seqres.full _scratch_mkfs > $seqres.full 2>&1 || _fail "Could not mkfs scratch device" diff --git a/tests/generic/306 b/tests/generic/306 index 081d1a89..046f4516 100755 --- a/tests/generic/306 +++ b/tests/generic/306 @@ -33,6 +33,7 @@ _supported_fs generic _supported_os Linux _require_scratch _require_test +_require_symlinks DEVNULL=$SCRATCH_MNT/devnull DEVZERO=$SCRATCH_MNT/devzero diff --git a/tests/generic/348 b/tests/generic/348 index 630ff160..e0139d9a 100755 --- a/tests/generic/348 +++ b/tests/generic/348 @@ -32,6 +32,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch +_require_symlinks _require_dm_target flakey rm -f $seqres.full diff --git a/tests/generic/360 b/tests/generic/360 index a9a4f2f9..f15548e2 100755 --- a/tests/generic/360 +++ b/tests/generic/360 @@ -31,6 +31,7 @@ rm -f $seqres.full _supported_fs generic _supported_os Linux _require_test +_require_symlinks linkfile=$TEST_DIR/$seq.symlink rm -f $linkfile diff --git a/tests/generic/397 b/tests/generic/397 index f2e22950..c2245bd5 100755 --- a/tests/generic/397 +++ b/tests/generic/397 @@ -36,6 +36,7 @@ rm -f $seqres.full # real QA test starts here _supported_fs generic _supported_os Linux +_require_symlinks _require_scratch_encryption _require_command "$KEYCTL_PROG" keyctl diff --git a/tests/generic/399 b/tests/generic/399 index a9b3997a..a4013720 100755 --- a/tests/generic/399 +++ b/tests/generic/399 @@ -43,6 +43,7 @@ rm -f $seqres.full _supported_fs generic _supported_os Linux _require_scratch_encryption +_require_symlinks _require_command "$XZ_PROG" xz _require_command "$KEYCTL_PROG" keyctl diff --git a/tests/generic/401 b/tests/generic/401 index 9d45fbcd..00e9bbe0 100755 --- a/tests/generic/401 +++ b/tests/generic/401 @@ -37,6 +37,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch +_require_symlinks _require_test_program "t_dir_type" rm -f $seqres.full diff --git a/tests/generic/423 b/tests/generic/423 index b61d5de0..6db55fd6 100755 --- a/tests/generic/423 +++ b/tests/generic/423 @@ -38,6 +38,7 @@ _require_test _require_test_program "stat_test" _require_test_program "af_unix" _require_statx +_require_symlinks function check_stat () { $here/src/stat_test $* || echo stat_test failed diff --git a/tests/generic/440 b/tests/generic/440 index 1ec1ed48..3446c147 100755 --- a/tests/generic/440 +++ b/tests/generic/440 @@ -38,6 +38,7 @@ rm -f $seqres.full _supported_fs generic _supported_os Linux _require_scratch_encryption +_require_symlinks _require_command "$KEYCTL_PROG" keyctl # Set up an encryption-capable filesystem and an encryption key. diff --git a/tests/generic/479 b/tests/generic/479 index ad20aaee..aaf864a4 100755 --- a/tests/generic/479 +++ b/tests/generic/479 @@ -32,6 +32,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch +_require_symlinks _require_dm_target flakey rm -f $seqres.full diff --git a/tests/generic/556 b/tests/generic/556 index b7239e34..4899b403 100755 --- a/tests/generic/556 +++ b/tests/generic/556 @@ -19,6 +19,7 @@ _supported_os Linux _supported_fs generic _require_scratch_nocheck _require_scratch_casefold +_require_symlinks _require_check_dmesg _require_attrs