Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sbin/ifconfig Add '-e ignore" to atf-check(1) and remo...



details:   https://anonhg.NetBSD.org/src/rev/0e21471c1cea
branches:  trunk
changeset: 778129:0e21471c1cea
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Mar 17 17:39:44 2012 +0000

description:
Add '-e ignore" to atf-check(1) and remove xfail. Pointed by njoly@.

diffstat:

 tests/sbin/ifconfig/t_nonexistent.sh |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 0c10a4640d2b -r 0e21471c1cea tests/sbin/ifconfig/t_nonexistent.sh
--- a/tests/sbin/ifconfig/t_nonexistent.sh      Sat Mar 17 17:23:34 2012 +0000
+++ b/tests/sbin/ifconfig/t_nonexistent.sh      Sat Mar 17 17:39:44 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_nonexistent.sh,v 1.2 2011/05/11 22:08:12 njoly Exp $
+# $NetBSD: t_nonexistent.sh,v 1.3 2012/03/17 17:39:44 jruoho Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -35,9 +35,10 @@
 
 nonexistent_body() {
 
-       atf_expect_fail "PR bin/43141"
-
-       atf_check -s not-exit:0 ifconfig nonexistent0 1.2.3.4/24
+       # Cf. PR bin/43141.
+       #
+       atf_check -s not-exit:0 -e ignore \
+               ifconfig nonexistent0 1.2.3.4/24
 }
 
 atf_init_test_cases() {



Home | Main Index | Thread Index | Old Index