freebsd-nq/tests/zfs-tests/include
Tony Hutter 9fb2771aa5 Colorize zpool status output
If the ZFS_COLOR env variable is set, then use ANSI color
output in zpool status:

- Column headers are bold
- Degraded or offline pools/vdevs are yellow
- Non-zero error counters and faulted vdevs/pools are red
- The 'status:' and 'action:' sections are yellow if they're
  displaying a warning.

This also includes a new 'faketty' function in libtest.shlib that is
compatible with FreeBSD (code provided by @freqlabs).

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #9340
2019-12-19 16:26:07 -08:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
commands.cfg Colorize zpool status output 2019-12-19 16:26:07 -08:00
default.cfg.in Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
libtest.shlib Colorize zpool status output 2019-12-19 16:26:07 -08:00
Makefile.am Restore :: in Makefile.am 2019-08-26 11:48:31 -07:00
math.shlib Fix dbufstats_001_pos 2018-03-07 09:53:04 -08:00
properties.shlib Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zpool_script.shlib zfs-tests: fix warnings when packaging some .shlib files 2019-05-24 14:12:14 -07:00