commit | c879a8a28b168b3b448ca8a107e3386eda6829c7 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Fri Feb 03 05:12:06 2012 |
committer | Jon Loeliger <jdl@jdl.com> | Fri Feb 03 14:38:40 2012 |
tree | 059cbf2e166926e6166bae042d2c293c899fd4cc | |
parent | a90b5b149197a8b38bd569c6a8abc9fc0363fa4b [diff] |
Factor signal checks out of test scripts Several test scripts now have some code to check for a program returning a signal, and reporting a suitable failure. This patch moves this duplicated code into a helper function in tests.sh. At the same time we remove a bashism found in the current copies (using the non portablr $[ ] construct for arithmetic). Signed-off-by: David Gibson <david@gibson.dropbear.id.au>