summaryrefslogtreecommitdiff
path: root/tests/test-ftell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-ftell.sh')
-rwxr-xr-xtests/test-ftell.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-ftell.sh b/tests/test-ftell.sh
new file mode 100755
index 0000000..bf55d2e
--- /dev/null
+++ b/tests/test-ftell.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+./test-ftell${EXEEXT} 1 < "$srcdir/test-ftell.sh" || exit 1
+echo hi | ./test-ftell${EXEEXT} || exit 1
+exit 0