From ff7a67cf6665d954af511d8dedfb01891acedb39 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Sat, 26 Dec 2015 07:10:03 +0000 Subject: 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! --- tests/crypto/opencrypto/t_opencrypto.sh | 8 ++++++-- 1 file 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 -- cgit