]> granicus.if.org Git - zfs/commit
ZTS: change `$(cat)` to `$(<)` for speedup
authorGeorge Melikov <mail@gmelikov.ru>
Wed, 31 Oct 2018 17:00:06 +0000 (20:00 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 31 Oct 2018 17:00:06 +0000 (12:00 -0500)
commit58aeb87a8f69019487457460a5d7c823910fc8ff
tree772309683978629c78596d5600031248f00fb5f8
parent9553c533a635bf39697b0b54f4751580f6d2590d
ZTS: change `$(cat)` to `$(<)` for speedup

It's better to use ksh/bash built in methods,
rather than spawn new processes every time.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Wren Kennedy <john.kennedy@delphix.com>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #8071
15 files changed:
tests/zfs-tests/callbacks/zfs_mmp.ksh
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/channel_program/channel_common.kshlib
tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib
tests/zfs-tests/tests/functional/privilege/cleanup.ksh
tests/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh
tests/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh
tests/zfs-tests/tests/functional/procfs/pool_state.ksh
tests/zfs-tests/tests/functional/procfs/procfs_list_stale_read.ksh
tests/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh
tests/zfs-tests/tests/functional/removal/removal_sanity.ksh
tests/zfs-tests/tests/functional/removal/removal_with_dedup.ksh
tests/zfs-tests/tests/functional/removal/removal_with_ganging.ksh
tests/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh
tests/zfs-tests/tests/perf/perf.shlib