Remove bashism
authorWouter Verhelst <w@uter.be>
Mon, 10 Oct 2016 20:54:24 +0000 (22:54 +0200)
committerWouter Verhelst <w@uter.be>
Mon, 10 Oct 2016 21:04:57 +0000 (23:04 +0200)
commit234e6748dbc591d51a72997111cfcc9767f60089
tree8512398ef66245e2de40b58242f19a9f82fa76d3
parent0f50492ed7548876892cf39cc6bf88a0b9175d04
Remove bashism

Running an EXIT trap on abnormal termination of the shell is a bashism;
dash, for instance, does not run them on SIGINT.

Fix by explicitly adding a trap for SIGINT.

Signed-off-by: Wouter Verhelst <w@uter.be>
tests/run/simple_test