bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-select-out failures


From: Simon Josefsson
Subject: Re: test-select-out failures
Date: Wed, 12 Nov 2008 11:38:11 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

I can reproduce this on mingw as well:

gnulib-tool --create-testdir --dir m --with-tests select
cd m
./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu
make check

results in:

FAIL: test-select-in.sh
FAIL: test-select-out.sh

For test-select-out.sh, it is the same test that fails on x86 for me,
the first pipe test:

rm -f t-select-out.tmp
( { echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; 
cat; } ) > /dev/null
test `cat t-select-out.tmp` = "0" || exit 1

For test-select-in it is the final 'special files' test that fails:

rm -f t-select-in.tmp
./test-select-fd${EXEEXT} r 0 t-select-in.tmp < /dev/null
test `cat t-select-in.tmp` = "1" || exit 1

Ideas?

/Simon




reply via email to

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