mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: fix common source file path
After the re-factor, common.* have been renamed to common/* but there are several files still look for the old path, fix it. Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Rich Johnston <rjohnston@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
@@ -151,12 +151,12 @@ _fsck_opts()
|
||||
[ -z "$FSCK_OPTIONS" ] && _fsck_opts
|
||||
|
||||
|
||||
# we need common.config
|
||||
# we need common/config
|
||||
if [ "$iam" != "check" ]
|
||||
then
|
||||
if ! . ./common/config
|
||||
then
|
||||
echo "$iam: failed to source common.config"
|
||||
echo "$iam: failed to source common/config"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@@ -2065,7 +2065,7 @@ then
|
||||
|
||||
if [ "$TEST_DEV" = "" ]
|
||||
then
|
||||
echo "common.rc: Error: \$TEST_DEV is not set"
|
||||
echo "common/rc: Error: \$TEST_DEV is not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -2075,11 +2075,11 @@ then
|
||||
# $TEST_DEV is not mounted
|
||||
if ! _test_mount
|
||||
then
|
||||
echo "common.rc: retrying test device mount with external set"
|
||||
echo "common/rc: retrying test device mount with external set"
|
||||
[ "$USE_EXTERNAL" != "yes" ] && export USE_EXTERNAL=yes
|
||||
if ! _test_mount
|
||||
then
|
||||
echo "common.rc: could not mount $TEST_DEV on $TEST_DIR"
|
||||
echo "common/rc: could not mount $TEST_DEV on $TEST_DIR"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@@ -2087,7 +2087,7 @@ then
|
||||
|
||||
if [ "`_fs_type $TEST_DEV`" != "$FSTYP" ]
|
||||
then
|
||||
echo "common.rc: Error: \$TEST_DEV ($TEST_DEV) is not a MOUNTED $FSTYP filesystem"
|
||||
echo "common/rc: Error: \$TEST_DEV ($TEST_DEV) is not a MOUNTED $FSTYP filesystem"
|
||||
$DF_PROG $TEST_DEV
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user