Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/ipf If we're going to expect a failure, we need to use...
details: https://anonhg.NetBSD.org/src/rev/efa25ac6ede6
branches: trunk
changeset: 782991:efa25ac6ede6
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Nov 30 14:46:48 2012 +0000
description:
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!
diffstat:
tests/ipf/h_common.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0920c45a46d0 -r efa25ac6ede6 tests/ipf/h_common.sh
--- a/tests/ipf/h_common.sh Fri Nov 30 13:26:37 2012 +0000
+++ b/tests/ipf/h_common.sh Fri Nov 30 14:46:48 2012 +0000
@@ -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 @@
atf_test_case "${name}"
eval "${name}_body() { \
- atf_tc_expect_fail "${reason}"; \
+ atf_expect_fail "${reason}"; \
${check_function} '${name}' " "${@}" "; \
}"
}
Home |
Main Index |
Thread Index |
Old Index