Module Name: src Committed By: jmmv Date: Wed Jun 15 07:58:03 UTC 2011
Modified Files: src/tests/util/sort: t_sort.sh Log Message: Fix definition of the plus_tflag test case. Uncovered by atf 0.14. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/util/sort/t_sort.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/util/sort/t_sort.sh diff -u src/tests/util/sort/t_sort.sh:1.3 src/tests/util/sort/t_sort.sh:1.4 --- src/tests/util/sort/t_sort.sh:1.3 Sat Dec 18 12:47:21 2010 +++ src/tests/util/sort/t_sort.sh Wed Jun 15 07:58:03 2011 @@ -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"