Source-Changes-HG archive

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

[src/trunk]: src/tests/util/sort fix the kflag_limits test case and enable it



details:   https://anonhg.NetBSD.org/src/rev/538182181b6d
branches:  trunk
changeset: 759866:538182181b6d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Dec 18 12:47:21 2010 +0000

description:
fix the kflag_limits test case and enable it

diffstat:

 tests/util/sort/t_sort.sh |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r 1e7def50e11a -r 538182181b6d tests/util/sort/t_sort.sh
--- a/tests/util/sort/t_sort.sh Sat Dec 18 11:45:09 2010 +0000
+++ b/tests/util/sort/t_sort.sh Sat Dec 18 12:47:21 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_sort.sh,v 1.2 2010/11/07 17:51:24 jmmv Exp $
+# $NetBSD: t_sort.sh,v 1.3 2010/12/18 12:47:21 pooka Exp $
 #
 # Copyright (c) 2008, 2009, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -305,8 +305,6 @@
 }
 kflag_limits_body()
 {
-       atf_skip "This test is probably broken"
-
        cat >in <<EOF
 a      2
 a      1
@@ -315,13 +313,13 @@
 EOF
 
        cat >out <<EOF
+b      2
 b      1
-b      2
+a      2
 a      1
-a      2
 EOF
 
-       atf_check -o file:out sort -S -r -k1,1 -k2n in
+       atf_check -o file:out sort -r -k1,1 -k2n in
 }
 
 atf_test_case kflag_alpha



Home | Main Index | Thread Index | Old Index