datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

ENH: clients/testlib.sh inform on how long it took before trap exit #126

Closed yarikoptic closed 2 years ago

yarikoptic commented 2 years ago

using bash (works in zsh too) trick.

Needed since I don't know for sure if exit due to timeout or some other reason. E.g. we got job on smaug exit with 124, most likely due to time out since that is the exit code it uses, but still -- would be worth knowing IMHO for sure how long it took. also could be handy to judge if tests slowed down etc through time via a simple grep through historical notes etc.