From owner-svn-src-head@FreeBSD.ORG Fri Sep 6 12:56:50 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A5C5294; Fri, 6 Sep 2013 12:56:50 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 799102847; Fri, 6 Sep 2013 12:56:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r86Cuolm078521; Fri, 6 Sep 2013 12:56:50 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r86CunHI078518; Fri, 6 Sep 2013 12:56:49 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201309061256.r86CunHI078518@svn.freebsd.org> From: Jilles Tjoelker Date: Fri, 6 Sep 2013 12:56:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255301 - head/tools/regression/lib/libc/stdio X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 12:56:50 -0000 Author: jilles Date: Fri Sep 6 12:56:49 2013 New Revision: 255301 URL: http://svnweb.freebsd.org/changeset/base/255301 Log: libc/stdio: Provide proper TAP output for fmemopen/open_[w]memstream. A *.t file should provide Test Anything Protocol output so that it can be run using the Perl "prove" tool. Modified: head/tools/regression/lib/libc/stdio/test-fmemopen.t head/tools/regression/lib/libc/stdio/test-open_memstream.t head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Modified: head/tools/regression/lib/libc/stdio/test-fmemopen.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-fmemopen.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-fmemopen.t Fri Sep 6 12:56:49 2013 (r255301) @@ -7,4 +7,9 @@ executable=`basename $0 .t` make $executable 2>&1 > /dev/null -exec ./$executable +echo 1..1 +if ./$executable; then + echo ok 1 - $executable successful +else + echo not ok 1 - $executable failed +fi Modified: head/tools/regression/lib/libc/stdio/test-open_memstream.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-open_memstream.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-open_memstream.t Fri Sep 6 12:56:49 2013 (r255301) @@ -7,4 +7,9 @@ executable=`basename $0 .t` make $executable 2>&1 > /dev/null -exec ./$executable +echo 1..1 +if ./$executable; then + echo ok 1 - $executable successful +else + echo not ok 1 - $executable failed +fi Modified: head/tools/regression/lib/libc/stdio/test-open_wmemstream.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Fri Sep 6 12:56:49 2013 (r255301) @@ -7,4 +7,9 @@ executable=`basename $0 .t` make $executable 2>&1 > /dev/null -exec ./$executable +echo 1..1 +if ./$executable; then + echo ok 1 - $executable successful +else + echo not ok 1 - $executable failed +fi