Fix unstub cleanup process for failed stubs

This commit is contained in:
Mislav Marohnić 2013-10-26 17:43:54 +02:00
parent 9aab127f75
commit c1f506dfd6

View file

@ -36,9 +36,12 @@ unstub() {
export "${prefix}_STUB_END"=1
"$path"
local STATUS=0
"$path" || STATUS="$?"
rm -f "$path"
rm -f "${TMP}/${program}-stub-plan" "${TMP}/${program}-stub-run"
return "$STATUS"
}
install_fixture() {