]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
remove sanity check in replacement test
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 12 Apr 2016 22:27:47 +0000 (15:27 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Apr 2016 18:30:12 +0000 (11:30 -0700)
commitedd770ebfb8e389474be41070fc72a066bbcdaa4
tree4ea7f41ba0b29a695efb1de01be37d3acd5ad75a
parente61237961448ab1fedf7975715fac753ccc7acef
remove sanity check in replacement test

In replacement test, it spawns a process to truncate a file background
and make sure that the process exists 1 second later. However, the
process may have finished its work and exited therefore it has the
chance to report a false alarm.

This patch just removed those sanity check.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4516
tests/zfs-tests/tests/functional/replacement/replacement_001_pos.ksh
tests/zfs-tests/tests/functional/replacement/replacement_002_pos.ksh
tests/zfs-tests/tests/functional/replacement/replacement_003_pos.ksh