mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 06:03:12 +00:00
Improve test framework
error() returns 254 if it does not exit (ie, during teardown)
This commit is contained in:
parent
05721d3725
commit
824763f5f0
@ -854,6 +854,7 @@ _tfw_errorexit() {
|
|||||||
teardown) [ $_tfw_status -lt 254 ] && _tfw_status=254;;
|
teardown) [ $_tfw_status -lt 254 ] && _tfw_status=254;;
|
||||||
*) exit 254;;
|
*) exit 254;;
|
||||||
esac
|
esac
|
||||||
|
return 254
|
||||||
}
|
}
|
||||||
|
|
||||||
# A "fatal" event stops the entire test run, and generally indicates an
|
# A "fatal" event stops the entire test run, and generally indicates an
|
||||||
|
Loading…
Reference in New Issue
Block a user