bug-gnulib
[Top][All Lists]
Advanced

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

Re: fseek/ftell tests on platforms with bad ungetc


From: Gary V. Vaughan
Subject: Re: fseek/ftell tests on platforms with bad ungetc
Date: Thu, 26 Feb 2009 02:24:11 +0700

Hi Eric,

Thanks for following through with this!

2009/2/25 Eric Blake <address@hidden>:
> Would someone with access to a system that has previously been failing the
> ftell/fseek tests (older glibc, HPUX, and perhaps other old platforms) please
> check this patch?  The expected results is that test-fseek.sh now passes, and
> test-fseek2.sh skips (likewise for fseeko, ftell, ftello).
>
> You can also get it from:
>
> git pull git://repo.or.cz/gnulib/ericb.git master

% systype
i686-redhat-linuxe2.1-gcc296
% /opt/src/latest/devel/gnulib/src/gnulib/gnulib-tool --version
gnulib-tool (GNU gnulib 2009-02-18)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Bruno Haible and Simon Josefsson
% /opt/src/latest/devel/gnulib/src/gnulib/gnulib-tool --with-tests
--test fseek ftell
...
PASS: test-binary-io.sh
PASS: test-errno
../../gltests/test-fseek.c:55: assertion failed
../../gltests/test-fseek.sh: line 3: 13009 Aborted
./test-fseek${EXEEXT} 1 <"$srcdir/test-fseek.sh"
FAIL: test-fseek.sh
../../gltests/test-fseeko.c:58: assertion failed
../../gltests/test-fseeko.sh: line 3: 13015 Aborted
./test-fseeko${EXEEXT} 1 <"$srcdir/test-fseeko.sh"
FAIL: test-fseeko.sh
../../gltests/test-ftell.c:86: assertion failed
../../gltests/test-ftell.sh: line 3: 13021 Aborted
./test-ftell${EXEEXT} 1 <"$srcdir/test-ftell.sh"
FAIL: test-ftell.sh
../../gltests/test-ftello.c:94: assertion failed
../../gltests/test-ftello.sh: line 3: 13027 Aborted
./test-ftello${EXEEXT} 1 <"$srcdir/test-ftello.sh"
FAIL: test-ftello.sh
PASS: test-lseek.sh
PASS: test-stdio
PASS: test-unistd
===================
4 of 9 tests failed
===================
...
% /opt/TWWfsw/git16/bin/git clone git://repo.or.cz/gnulib/ericb.git master
...
% ./master/gnulib-tool --version
gnulib-tool (GNU gnulib 2009-02-25)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Bruno Haible and Simon Josefsson
% ./master/gnulib-tool --with-tests --test fseek ftell
...
PASS: test-binary-io.sh
PASS: test-errno
PASS: test-fseek.sh
../../gltests/test-fseek.c:68: assertion failed
FAIL: test-fseek2.sh
PASS: test-fseeko.sh
../../gltests/test-fseeko.c:71: assertion failed
FAIL: test-fseeko2.sh
../../gltests/test-ftell.c:108: assertion failed
../../gltests/test-ftell.sh: line 3: 18761 Aborted
./test-ftell${EXEEXT} 1 <"$srcdir/test-ftell.sh"
FAIL: test-ftell.sh
../../gltests/test-ftell.c:97: assertion failed
FAIL: test-ftell2.sh
../../gltests/test-ftello.c:118: assertion failed
../../gltests/test-ftello.sh: line 3: 18772 Aborted
./test-ftello${EXEEXT} 1 <"$srcdir/test-ftello.sh"
FAIL: test-ftello.sh
../../gltests/test-ftello.c:105: assertion failed
FAIL: test-ftello2.sh
PASS: test-lseek.sh
PASS: test-stdio
PASS: test-unistd
====================
6 of 13 tests failed
====================

Cheers,
    Gary
-- 
Email me:          address@hidden                        (\(\
Read my blog:      http://blog.azazil.net              ( o.O)
And my other blog: http://www.machaxor.net              (uu )o
...and my book:    http://sources.redhat.com/autobook  ("("_)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]