zrepl/internal/daemon/hooks/test/test-post-error.sh
2024-10-18 19:21:17 +02:00

16 lines
223 B
Bash
Executable File

#!/bin/sh -eu
post_testing() {
>&2 echo "TEST ERROR $ZREPL_HOOKTYPE $ZREPL_FS@$ZREPL_SNAPNAME"
exit 1
}
case "$ZREPL_HOOKTYPE" in
post_testing)
"$ZREPL_HOOKTYPE";;
*)
# Not handled by this script
exit 0;;
esac