zfs/tests/zfs-tests/include
Ryan Moeller e0b53a5dbb 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-03-12 16:17:01 -08:00
..
.gitignore
Makefile.am
blkdev.shlib ZTS: Output all block copies in list_file_blocks 2020-11-05 17:16:21 -08:00
commands.cfg ZTS: Use ksh and current environment for user_run 2021-03-12 16:17:01 -08:00
default.cfg.in Add "compatibility" property for zpool feature sets 2021-02-17 21:30:45 -08:00
libtest.shlib ZTS: Use ksh and current environment for user_run 2021-03-12 16:17:01 -08:00
math.shlib
properties.shlib
tunables.cfg FreeBSD: Fix scope of deadman tunables 2021-03-11 19:23:24 -08:00
zpool_script.shlib