diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2015-12-26 07:10:03 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2015-12-26 07:10:03 +0000 |
| commit | ff7a67cf6665d954af511d8dedfb01891acedb39 (patch) | |
| tree | 56584cd7e18bb2da87c2d73854090772509f4c9b | |
| parent | 6e4d16f64f370c8095fba7dea59c54a37701a5ff (diff) | |
For the skipped ARC4 test, don't bother trying to run the test clean-up
code. It runs rump.halt which returns an error status (since rump was
never started in the first place), and this causes atf to complain about
the cleanup routine's return status, logging the test as a failure!
| -rw-r--r-- | tests/crypto/opencrypto/t_opencrypto.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/crypto/opencrypto/t_opencrypto.sh b/tests/crypto/opencrypto/t_opencrypto.sh index 141836becb6..e8e3f28d939 100644 --- a/tests/crypto/opencrypto/t_opencrypto.sh +++ b/tests/crypto/opencrypto/t_opencrypto.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_opencrypto.sh,v 1.5 2015/03/16 16:42:27 prlw1 Exp $ +# $NetBSD: t_opencrypto.sh,v 1.6 2015/12/26 07:10:03 pgoyette Exp $ # # Copyright (c) 2014 The NetBSD Foundation, Inc. # All rights reserved. @@ -80,7 +80,11 @@ arc4_body() { } arc4_cleanup() { - common_cleanup + # No cleanup required since test is skipped. Trying to run rump.halt + # at this point fails, causing the ATF environment to erroneously + # report a failed test! + # + # common_cleanup } atf_test_case camellia cleanup |
