]> source.dussan.org Git - nextcloud-server.git/commit
Restore autotest config on SIGINT or SIGTERM
authorVincent Petry <pvince81@owncloud.com>
Tue, 19 Aug 2014 20:46:24 +0000 (22:46 +0200)
committerVincent Petry <pvince81@owncloud.com>
Tue, 19 Aug 2014 20:46:24 +0000 (22:46 +0200)
commit6ed174d0e41bc01d9f6b854e634ab6132788bf85
treece5e65b4565a3d9cb29096651c3b4123ada5ca75
parent1b81cc1acd1686a4f6efb20f27f085997d99a429
Restore autotest config on SIGINT or SIGTERM

When hitting Ctrl+C to interrupt unit test running, the old
configuration was not restored properly.

This fix traps the signal to properly restore the configuration after an
interruption.
autotest.sh