Last change
on this file since 3613 was 3611, checked in by bird, 7 months ago |
vendor/sed/current: GNU sed 4.9 (sed-4.9.tar.xz sha256:6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181)
|
-
Property svn:executable
set to
*
|
File size:
424 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | tmpfiles=
|
---|
4 | trap 'rm -fr $tmpfiles' 1 2 3 15
|
---|
5 |
|
---|
6 | tmpfiles=t-lseek.tmp
|
---|
7 | # seekable files
|
---|
8 | ${CHECKER} ./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1
|
---|
9 |
|
---|
10 | # pipes
|
---|
11 | echo hi | { ${CHECKER} ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; cat > /dev/null; } | cat
|
---|
12 | test "`cat t-lseek.tmp`" = "0" || exit 1
|
---|
13 |
|
---|
14 | # closed descriptors
|
---|
15 | ${CHECKER} ./test-lseek${EXEEXT} 2 <&- >&- || exit 1
|
---|
16 |
|
---|
17 | rm -rf $tmpfiles
|
---|
18 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.