mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: introduce a common directory
Introduce a top level common directory and move all the common.* files into it. Because there is now a directory named common, the prefix can be dropped from all the files. Convert all the tests to use this new directory for including common files. for f in common.*; do \ git mv `echo -n "$f " ; echo $f | sed -e 's;n\.;n/;'` \ done Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Phil White <pwhite@sgi.com> [rjohnston@sgi.com reworked for TOT changes] Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
401680a11c
commit
8c4905a42e
+2
-2
@@ -41,8 +41,8 @@ _cleanup()
|
||||
trap "_cleanup ; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
|
||||
+2
-2
@@ -41,8 +41,8 @@ _cleanup()
|
||||
trap "_cleanup ; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
_need_to_be_root
|
||||
_supported_fs btrfs
|
||||
|
||||
+2
-2
@@ -45,8 +45,8 @@ _cleanup()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
_need_to_be_root
|
||||
_supported_fs btrfs
|
||||
|
||||
+2
-2
@@ -52,8 +52,8 @@ _cleanup()
|
||||
trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_need_to_be_root
|
||||
|
||||
+3
-3
@@ -127,9 +127,9 @@ _rundefrag()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common.defrag
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
. ./common/defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
|
||||
+2
-2
@@ -41,8 +41,8 @@ _cleanup()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./btrfs.filter
|
||||
. ./common/rc
|
||||
. ./common/filter.btrfs
|
||||
|
||||
# real QA test starts here
|
||||
|
||||
|
||||
+2
-2
@@ -34,8 +34,8 @@ status=1 # failure is the default!
|
||||
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs ext4
|
||||
|
||||
+3
-3
@@ -34,9 +34,9 @@ status=1 # failure is the default!
|
||||
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common.defrag
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
. ./common/defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
|
||||
+3
-3
@@ -35,9 +35,9 @@ status=1 # failure is the default!
|
||||
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common.defrag
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
. ./common/defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
|
||||
+3
-3
@@ -35,9 +35,9 @@ status=1 # failure is the default!
|
||||
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common.defrag
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
. ./common/defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
|
||||
+3
-3
@@ -36,9 +36,9 @@ status=1 # failure is the default!
|
||||
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common.defrag
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
. ./common/defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_os Linux
|
||||
|
||||
+2
-2
@@ -38,8 +38,8 @@ seqres=$RESULT_DIR/$seq
|
||||
echo "QA output created by $seq"
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
tmp=/tmp/$$
|
||||
here=`pwd`
|
||||
|
||||
+2
-2
@@ -29,8 +29,8 @@ seqres=$RESULT_DIR/$seq
|
||||
echo "QA output created by $seq"
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
tmp=/tmp/$$
|
||||
here=`pwd`
|
||||
|
||||
+2
-2
@@ -64,8 +64,8 @@ _touch()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs generic
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@ _count()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs generic
|
||||
|
||||
+2
-2
@@ -45,8 +45,8 @@ _cleanup()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs generic
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@ _filter_dbtest()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
[ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform"
|
||||
|
||||
|
||||
+2
-2
@@ -43,8 +43,8 @@ _cleanup()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs generic
|
||||
|
||||
+2
-2
@@ -53,8 +53,8 @@ _filesize()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
_do_test()
|
||||
{
|
||||
|
||||
+2
-2
@@ -42,8 +42,8 @@ _cleanup()
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
_supported_fs generic
|
||||
_supported_os IRIX Linux
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user