xref: /src/sys/contrib/openzfs/tests/zfs-tests/callbacks/zfs_failsafe.ksh (revision c43cad87172039ccf38172129c79755ea79e6102)
1#!/bin/ksh
2
3# Commands to perform failsafe-critical cleanup after a test is killed.
4#
5# This should only be used to ensure the system is restored to a functional
6# state in the event of tests being killed (preventing normal cleanup).
7
8zinject -c all
9