summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/tests/ttfdump.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-02 12:30:55 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-02 12:30:55 +0000
commit54bed52730b7a0af68847ac70f93bd1debcaa8dd (patch)
treebf3d1cd2de55c90b1d175bb53d2b6db803267765 /Build/source/texk/ttfdump/tests/ttfdump.test
parent808caf0e3038020441cdb1d964efd26ebc6ba474 (diff)
texk/ttfdump: Add a test case and fix a type
git-svn-id: svn://tug.org/texlive/trunk@22278 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttfdump/tests/ttfdump.test')
-rwxr-xr-xBuild/source/texk/ttfdump/tests/ttfdump.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/ttfdump/tests/ttfdump.test b/Build/source/texk/ttfdump/tests/ttfdump.test
new file mode 100755
index 00000000000..a4f70940795
--- /dev/null
+++ b/Build/source/texk/ttfdump/tests/ttfdump.test
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+rm -rf FonetikaDaniaIwonaeRegular.ttf ttfdump.glyf ttfdump.head
+cp $srcdir/tests/FonetikaDaniaIwonaeRegular.ttf .
+
+./ttfdump -t head FonetikaDaniaIwonaeRegular.ttf -o ttfdump.head || exit 1
+diff $srcdir/tests/ttfdump.head ttfdump.head || exit 1
+
+./ttfdump -t glyf -g 1 FonetikaDaniaIwonaeRegular.ttf -o ttfdump.glyf || exit 1
+diff $srcdir/tests/ttfdump.glyf ttfdump.glyf || exit 1
+