aboutsummaryrefslogtreecommitdiffstats
path: root/t.realpath
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-05-04 03:04:59 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-05-04 03:04:59 +0200
commit11ba27271f8e085b06c79b732cf92f88e492f487 (patch)
tree01e60e8b46051143ee60b8cc34fce507a4078f08 /t.realpath
parentfaaeaa43e1978fe3d24d7289487021664397cdbe (diff)
downloadfetchmail-11ba27271f8e085b06c79b732cf92f88e492f487.tar.gz
fetchmail-11ba27271f8e085b06c79b732cf92f88e492f487.tar.bz2
fetchmail-11ba27271f8e085b06c79b732cf92f88e492f487.zip
Add fm_realpath(): a malloc()ating realpath() wrapper.
Diffstat (limited to 't.realpath')
-rwxr-xr-xt.realpath6
1 files changed, 6 insertions, 0 deletions
diff --git a/t.realpath b/t.realpath
new file mode 100755
index 00000000..634fc15f
--- /dev/null
+++ b/t.realpath
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# This is a rudimentary tests to check if realpath() works.
+
+set -eu
+./fm_realpath "." "$(pwd)"