Remove script zfs_commands.cfg
zfs_commands.cfg have printed "No such file or directory", When executing script/zfs-test.sh. The script is a symlink to ../../../zfs-script-config.sh So delete the symlink, and directly source $SRCDIR/zfs-script-config.sh when it exists from default.cfg.in Reviewed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: legend-hua <liu.hua130@zte.com.cn> Closes #5133
This commit is contained in:
parent
884385a0b2
commit
9911a9c4c9
|
@ -5,6 +5,3 @@ dist_pkgdata_SCRIPTS = \
|
||||||
libtest.shlib \
|
libtest.shlib \
|
||||||
math.shlib \
|
math.shlib \
|
||||||
properties.shlib
|
properties.shlib
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
zfs_commands.cfg
|
|
||||||
|
|
|
@ -47,8 +47,8 @@ export RAIDZ_TEST=${RAIDZ_TEST:-${bindir}/raidz_test}
|
||||||
. $STF_SUITE/include/libtest.shlib
|
. $STF_SUITE/include/libtest.shlib
|
||||||
|
|
||||||
# Optionally override the installed ZFS commands to run in-tree
|
# Optionally override the installed ZFS commands to run in-tree
|
||||||
if [[ -f "$STF_SUITE/include/zfs_commands.cfg" ]]; then
|
if [[ -f "$SRCDIR/zfs-script-config.sh" ]]; then
|
||||||
. $STF_SUITE/include/zfs_commands.cfg
|
. $SRCDIR/zfs-script-config.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define run length constants
|
# Define run length constants
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../../../zfs-script-config.sh
|
|
Loading…
Reference in New Issue