Mercurial > hg > octave-lojdl > gnulib-hg
view tests/test-lseek.sh @ 12735:77cea116e541
build: guarantee AS_VAR_IF
The recent addition of warn-on-use.m4 was broken with older autoconf.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Tue, 12 Jan 2010 19:44:11 +0100 |
parents | 30d389dd4713 |
children | 700012efeb01 |
line wrap: on
line source
#!/bin/sh tmpfiles= trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles=t-lseek.tmp # seekable files ./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1 # pipes echo hi | ./test-lseek${EXEEXT} 1 | cat || exit 1 # closed descriptors ./test-lseek${EXEEXT} 2 <&- >&- || exit 1 rm -rf $tmpfiles exit 0