Module Name: src Committed By: pgoyette Date: Fri Nov 30 14:46:48 UTC 2012
Modified Files: src/tests/ipf: h_common.sh Log Message: If we're going to expect a failure, we need to use the correct shell function! "atf_expect_fail()" does not have a "_tc" in its name! To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/ipf/h_common.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/ipf/h_common.sh diff -u src/tests/ipf/h_common.sh:1.5 src/tests/ipf/h_common.sh:1.6 --- src/tests/ipf/h_common.sh:1.5 Thu Nov 29 18:54:43 2012 +++ src/tests/ipf/h_common.sh Fri Nov 30 14:46:48 2012 @@ -1,4 +1,4 @@ -# $NetBSD: h_common.sh,v 1.5 2012/11/29 18:54:43 pgoyette Exp $ +# $NetBSD: h_common.sh,v 1.6 2012/11/30 14:46:48 pgoyette Exp $ # # Copyright (c) 2008, 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -71,7 +71,7 @@ failing_test_case() atf_test_case "${name}" eval "${name}_body() { \ - atf_tc_expect_fail "${reason}"; \ + atf_expect_fail "${reason}"; \ ${check_function} '${name}' " "${@}" "; \ }" }