mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 \
|
||||
math.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
|
||||
|
||||
# Optionally override the installed ZFS commands to run in-tree
|
||||
if [[ -f "$STF_SUITE/include/zfs_commands.cfg" ]]; then
|
||||
. $STF_SUITE/include/zfs_commands.cfg
|
||||
if [[ -f "$SRCDIR/zfs-script-config.sh" ]]; then
|
||||
. $SRCDIR/zfs-script-config.sh
|
||||
fi
|
||||
|
||||
# Define run length constants
|
||||
|
@ -1 +0,0 @@
|
||||
../../../zfs-script-config.sh
|
Loading…
Reference in New Issue
Block a user