projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-version-gen: correct the advice in a comment
[gnulib.git]
/
tests
/
test-lseek.sh
diff --git
a/tests/test-lseek.sh
b/tests/test-lseek.sh
index
576008c
..
47237b5
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