]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
fstests: tests should not source common/rc directly
authorDave Chinner <dchinner@redhat.com>
Fri, 20 May 2022 01:23:35 +0000 (11:23 +1000)
committerZorro Lang <zlang@kernel.org>
Sat, 21 May 2022 18:51:35 +0000 (02:51 +0800)
_begin_fstest() does this as every test needs it, so remove it from
all the tests that source it a second time.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/243
tests/btrfs/245
tests/ext4/053
tests/generic/644
tests/generic/645
tests/generic/647
tests/generic/677
tests/generic/678
tests/generic/679
tests/generic/690

index 750b4323a29633fedef15d91ad9f1fa1690fbe57..09a63bcd23f7b7cd96b6c2434eaf2eec6d2c8ef6 100755 (executable)
@@ -20,7 +20,6 @@ _cleanup()
        rm -r -f $tmp.*
 }
 
-. ./common/rc
 . ./common/filter
 . ./common/dmflakey
 
index dadc8492b6418f7c533d81414b49051c72d61b6f..426aab1c4b1e9b7226c1b0f9c430d0c479c42c7e 100755 (executable)
@@ -11,7 +11,6 @@
 _begin_fstest auto quick idmapped subvol
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 
 # real QA test starts here
index bf6e3f6b4050ad9179d24235f698c6e13dbccb82..187a25154cd60419e81c404c022c83658ccef327 100755 (executable)
@@ -28,7 +28,6 @@ _cleanup()
 }
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 . ./common/quota
 
index edf9b03e23fb5b2518680df01a3b30b52a9ebf77..c48338d804a5ae5f22f6722cfc91c6ebe51e5682 100755 (executable)
@@ -10,7 +10,6 @@
 _begin_fstest auto quick cap idmapped mount
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 
 # real QA test starts here
index 74e0f58928267ce2df5b572d9a8f56add95a3612..556d2450299e97d844307f6e265a4d5cbb85330b 100755 (executable)
@@ -10,7 +10,6 @@
 _begin_fstest auto quick idmapped mount
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 
 # real QA test starts here
index fa6edadc9081be7c7eb618f1b23376175e40bac2..8484fa8d92b7488e832ff581f410280549f59cb6 100755 (executable)
@@ -18,7 +18,6 @@ _cleanup()
 }
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 
 # real QA test starts here
index 1d4eaa539fdd3923923a70e4e89dbf7d2a38d7a6..39af90a91fb25913b38d5bff46a3e2a4bf9176cd 100755 (executable)
@@ -18,7 +18,6 @@ _cleanup()
        rm -r -f $tmp.*
 }
 
-. ./common/rc
 . ./common/filter
 . ./common/dmflakey
 . ./common/punch
index 1c3cf6e3a8af4f4750aa139395b6576e05c88452..3c3c05b71bf65a560f9ae72a7781dd6f2ffcd37b 100755 (executable)
@@ -22,7 +22,6 @@ _cleanup()
 }
 
 # get standard environment, filters and checks
-. ./common/rc
 . ./common/filter
 
 # real QA test starts here
index c32d42b95463a745e3e4984385393fd463729f08..a0094e4878ac287bf096f55a204baec1921d8c5a 100755 (executable)
@@ -11,7 +11,6 @@
 . ./common/preamble
 _begin_fstest auto quick prealloc
 
-. ./common/rc
 . ./common/filter
 . ./common/punch
 
index f03295a5c1c7300725965935d60b27eb41949f1b..cef8d6e8326277635f0e64be605bef888bc46ef2 100755 (executable)
@@ -24,7 +24,6 @@ _cleanup()
        rm -r -f $tmp.*
 }
 
-. ./common/rc
 . ./common/filter
 . ./common/dmflakey