diff options
author | legend-hua <[email protected]> | 2016-09-21 09:36:24 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-09-20 18:36:24 -0700 |
commit | 9911a9c4c9501112dcb2a64a5195820068676e62 (patch) | |
tree | eacbf71d123d8b3fe8636d77c8b9249fb7eec3d5 /tests/zfs-tests/include/default.cfg.in | |
parent | 884385a0b25dc36b622e5e427bf29281c3dbca06 (diff) |
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 <[email protected]>
Signed-off-by: legend-hua <[email protected]>
Closes #5133
Diffstat (limited to 'tests/zfs-tests/include/default.cfg.in')
-rw-r--r-- | tests/zfs-tests/include/default.cfg.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/include/default.cfg.in b/tests/zfs-tests/include/default.cfg.in index f6d6de0e9..a36ab3b1a 100644 --- a/tests/zfs-tests/include/default.cfg.in +++ b/tests/zfs-tests/include/default.cfg.in @@ -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 |