GoogleCloudPlatform/kubernetes — pull request #2806 by ddysher (2014-12-09 02:28:30+00:00)
Title: Use EXIT pseudo-signal

test-integration won't cleanup etcd when test fails, use EXIT which will always do cleanup.
local-up-cluster will do cleanup twice due to EXIT and SIGINT.

POSIX spec doesn't say too much about EXIT condition, but most shell do trap EXIT on sigint, sigterm (bash, zsh, fish). Looks like dash won't trap.
Not sure if we want this , but it's annoying to kill etcd everytime integration test fails; and the ""no such process" message