aboutsummaryrefslogtreecommitdiffstats
path: root/test/getlndir.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/getlndir.awk')
-rw-r--r--test/getlndir.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/getlndir.awk b/test/getlndir.awk
new file mode 100644
index 00000000..250c5abb
--- /dev/null
+++ b/test/getlndir.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ if (!SRCDIR) SRCDIR = "."
+ OFS = ", "
+ x = 4
+ ret = (getline x < SRCDIR)
+ print x, ret, ERRNO
+}