various fixes to the test library
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Jun 1, 2009, 12:14 UTC
- Message-ID
- <1243858482-6353-1-git-send-email-drizzd@aon.at>
If a http test failed, and the test was run with --immediate, the cleanup code would not be executed and stale web server instance were left behind. This is fixed by 2/3.
Clemens
[PATCH 1/3] test-lib: fail if invalid options are passed [PATCH 2/3] test-lib: allow exit trap to be used for cleanup by tests [PATCH 3/3] test-lib: fix http exit codes
t/lib-httpd.sh | 6 ++++-- t/test-lib.sh | 23 +++++++++++++++-------- 2 files changed, 19 insertions(+), 10 deletions(-)