Commit c1f506df by Mislav Marohnić

Fix `unstub` cleanup process for failed stubs

parent 9aab127f
...@@ -36,9 +36,12 @@ unstub() { ...@@ -36,9 +36,12 @@ unstub() {
export "${prefix}_STUB_END"=1 export "${prefix}_STUB_END"=1
"$path" local STATUS=0
"$path" || STATUS="$?"
rm -f "$path" rm -f "$path"
rm -f "${TMP}/${program}-stub-plan" "${TMP}/${program}-stub-run" rm -f "${TMP}/${program}-stub-plan" "${TMP}/${program}-stub-run"
return "$STATUS"
} }
install_fixture() { install_fixture() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment