projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c6cf5a
)
lseek test: Fix failure on Solaris.
author
Bruno Haible
<bruno@clisp.org>
Sat, 1 May 2010 11:59:40 +0000
(13:59 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Sat, 1 May 2010 11:59:40 +0000
(13:59 +0200)
ChangeLog
patch
|
blob
|
history
tests/test-lseek.sh
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 7023341fecaee5eda61961e77a7b5efc8276d6fa..19e11dd568072367a5553472a2c32ea67dcef7aa 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2010-05-01 Bruno Haible <bruno@clisp.org>
+
+ lseek test: Fix failure on Solaris.
+ * tests/test-lseek.sh: Partially revert 2010-04-20 commit. Consume all
+ output.
+
2010-04-30 Jim Meyering <meyering@redhat.com>
bootstrap: don't ignore failure to generate po*/Makevars
2010-04-30 Jim Meyering <meyering@redhat.com>
bootstrap: don't ignore failure to generate po*/Makevars
diff --git
a/tests/test-lseek.sh
b/tests/test-lseek.sh
index 576008c42b866fee3f064e5729716d28ff2de870..47237b5f2405aeb35544ddae1f0c3e4049e7fb9c 100755
(executable)
--- a/
tests/test-lseek.sh
+++ b/
tests/test-lseek.sh
@@
-8,8
+8,8
@@
tmpfiles=t-lseek.tmp
./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1
# pipes
./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1
# pipes
-: | { ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; } | :
-test "
x`cat t-lseek.tmp`" = x0
|| exit 1
+echo hi | { ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; cat > /dev/null; } | cat
+test "
`cat t-lseek.tmp`" = "0"
|| exit 1
# closed descriptors
./test-lseek${EXEEXT} 2 <&- >&- || exit 1
# closed descriptors
./test-lseek${EXEEXT} 2 <&- >&- || exit 1