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