summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/tests
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-14 11:29:47 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-14 11:29:47 +0000
commit84fd53484ac1e0aa8d95b4339861c78e979ad52c (patch)
tree8506e2afadabb0775d8c33534c333db6c12ee83f /Build/source/texk/ttfdump/tests
parent5a59d9768db59127880edef385f6a3bb3671436c (diff)
ttfdump: Use libkpathsea instead of copying xmalloc() & Co (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@27042 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttfdump/tests')
-rwxr-xr-xBuild/source/texk/ttfdump/tests/ttfdump.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/ttfdump/tests/ttfdump.test b/Build/source/texk/ttfdump/tests/ttfdump.test
index 0196bea97a1..3d10381e51e 100755
--- a/Build/source/texk/ttfdump/tests/ttfdump.test
+++ b/Build/source/texk/ttfdump/tests/ttfdump.test
@@ -1,8 +1,12 @@
#! /bin/sh
-# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2011, 2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
+TEXMFCNF=$srcdir/../kpathsea
+TTFONTS=$srcdir/tests
+export TEXMFCNF TTFONTS
+
failed=
rm -rf FonetikaDaniaIwonaeRegular.ttf ttftest.*
@@ -23,7 +27,7 @@ cp $srcdir/tests/FonetikaDaniaIwonaeRegular.ttf .
&& echo "ttfdump.gsub tests OK" \
|| failed="$failed ttfdump.gsub"
-./ttfdump -t head -o ttftest.head FonetikaDaniaIwonaeRegular.ttf \
+./ttfdump -t head FonetikaDaniaIwonaeRegular.ttf > ttftest.head \
&& diff -b $srcdir/tests/ttfdump.head ttftest.head \
&& echo "ttfdump.head tests OK" \
|| failed="$failed ttfdump.head"