zfs-builds-mm/zfs-2.0.0-rc4/tests/zfs-tests/callbacks/zfs_failsafe.ksh

9 lines
250 B
Bash
Raw Normal View History

2020-10-22 14:20:35 +02:00
#!/bin/ksh
# Commands to perform failsafe-critical cleanup after a test is killed.
#
# This should only be used to ensure the system is restored to a functional
# state in the event of tests being killed (preventing normal cleanup).
zinject -c all