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 definition of the plus_tflag test case. ...



details:   https://anonhg.NetBSD.org/src/rev/dfc8be55f0f9
branches:  trunk
changeset: 766088:dfc8be55f0f9
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Wed Jun 15 07:58:03 2011 +0000

description:
Fix definition of the plus_tflag test case.  Uncovered by atf 0.14.

diffstat:

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

diffs (24 lines):

diff -r 27a06400ff67 -r dfc8be55f0f9 tests/util/sort/t_sort.sh
--- a/tests/util/sort/t_sort.sh Wed Jun 15 07:54:32 2011 +0000
+++ b/tests/util/sort/t_sort.sh Wed Jun 15 07:58:03 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_sort.sh,v 1.3 2010/12/18 12:47:21 pooka Exp $
+# $NetBSD: t_sort.sh,v 1.4 2011/06/15 07:58:03 jmmv Exp $
 #
 # Copyright (c) 2008, 2009, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -938,12 +938,12 @@
 }
 
 atf_test_case plus_tflag
-plus_tflag()
+plus_tflag_head()
 {
        atf_set "descr" "Tests +- addressing: using -T caused a 'No such file" \
            "or directory' error"
 }
-plus_tflag()
+plus_tflag_body()
 {
        mkdir ./+
        yes | sed 200000q | sort -T + >/dev/null || atf_fail "program failed"



Home | Main Index | Thread Index | Old Index