zfs/tests/zfs-tests
Ryan Moeller 815a645692 Simplify deleting partitions in libtest
Eliminate unnecessary code duplication. We can use a for-loop instead
of a while-loop. There is no need to echo $DISKSARRAY in a subshell or
return 0. Declare all variables with typeset.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9224
2019-08-29 13:11:29 -07:00
..
callbacks ZTS: change `$(cat)` to `$(<)` for speedup 2018-10-31 12:00:06 -05:00
cmd Prefer `for (;;)` to `while (TRUE)` 2019-08-28 10:38:40 -07:00
include Simplify deleting partitions in libtest 2019-08-29 13:11:29 -07:00
tests Use compatible arg order in tests 2019-08-29 11:03:09 -07:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00