summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/kpsereadlink.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/kpsereadlink.test')
-rwxr-xr-xBuild/source/texk/kpathsea/kpsereadlink.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/kpsereadlink.test b/Build/source/texk/kpathsea/kpsereadlink.test
new file mode 100755
index 00000000000..7770a00bd03
--- /dev/null
+++ b/Build/source/texk/kpathsea/kpsereadlink.test
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+test "x$LN_S" = 'xln -s' || exit 77
+
+./kpsereadlink $LT_OBJDIR/libkpathsea.lai && exit 1
+
+link=`./kpsereadlink $LT_OBJDIR/libkpathsea.la` || exit 1
+
+test "x$link" = x../libkpathsea.la || exit 1
+