mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-03 05:45:27 +01:00
16 lines
223 B
Bash
16 lines
223 B
Bash
|
#!/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
|