zfs/tests/zfs-tests/include
Ryan Moeller acb4e7b0e1 ZTS: Use ksh and current environment for user_run
The current user_run often does not work as expected.  Commands are run
in a different shell, with a different environment, and all output is
discarded.

Simplify user_run to retain the current environment, eliminate eval,
and feed the command string into ksh.  Enhance the logging for
user_run so we can see out and err.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11185
2021-06-23 13:22:14 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
blkdev.shlib ZTS: Output all block copies in list_file_blocks 2020-11-11 11:01:42 -08:00
commands.cfg ZTS: Use ksh and current environment for user_run 2021-06-23 13:22:14 -07:00
default.cfg.in ZTS: Remove bashisms from zfs-tests.sh 2020-08-07 14:10:48 -07:00
libtest.shlib ZTS: Use ksh and current environment for user_run 2021-06-23 13:22:14 -07:00
math.shlib ZTS: Make bc conditional use compatible with new BSD bc 2020-07-09 17:49:02 -07:00
properties.shlib Add zstd support to zfs 2020-08-20 10:30:06 -07:00
tunables.cfg FreeBSD: Fix scope of deadman tunables 2021-06-23 13:22:14 -07:00
zpool_script.shlib zfs-tests: fix warnings when packaging some .shlib files 2019-05-24 14:12:14 -07:00