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:
Dave Chinner
2013-03-15 12:28:04 +00:00
committed by Rich Johnston
parent 401680a11c
commit 8c4905a42e
322 changed files with 727 additions and 727 deletions
+5 -5
View File
@@ -133,9 +133,9 @@ fi
export FSTYP
# we need common.config
if ! . ./common.config
if ! . ./common/config
then
echo "$iam: failed to source common.config"
echo "$iam: failed to source common/config"
exit 1
fi
@@ -266,10 +266,10 @@ then
list=`echo $list | awk -f randomize.awk`
fi
# we need common.rc
if ! . ./common.rc
# we need common/rc
if ! . ./common/rc
then
echo "check: failed to source common.rc"
echo "check: failed to source common/rc"
exit 1
fi
View File
View File
View File
View File
View File
View File
View File
+1 -1
View File
@@ -19,7 +19,7 @@
# common functions for excersizing hole punches with extent size hints etc.
# source dmap_scratch_mount etc.
. ./common.dmapi
. ./common/dmapi
_spawn_test_file() {
echo "# spawning test file with $*"
View File
+1 -1
View File
@@ -154,7 +154,7 @@ _fsck_opts()
# we need common.config
if [ "$iam" != "check" ]
then
if ! . ./common.config
if ! . ./common/config
then
echo "$iam: failed to source common.config"
exit 1
View File
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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

Some files were not shown because too many files have changed in this diff Show More