summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-19 08:09:45 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-19 08:09:45 +0000
commit6da10d8e2ab5bd73ba2de9c53b957bb33366ee77 (patch)
tree6ed609be17ed504f62e903b90fe1bc2bc841c97b /Build
parentafea809fb4a9f95ab0809363852cf732ea432153 (diff)
dvips: New test with oname == iname
git-svn-id: svn://tug.org/texlive/trunk@29430 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipsk/ChangeLog5
-rw-r--r--Build/source/texk/dvipsk/Makefile.am4
-rw-r--r--Build/source/texk/dvipsk/Makefile.in6
-rwxr-xr-xBuild/source/texk/dvipsk/same-name.test13
4 files changed, 24 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog
index c2877de0933..8bf9a4bb6d9 100644
--- a/Build/source/texk/dvipsk/ChangeLog
+++ b/Build/source/texk/dvipsk/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * same-name.test: New test with oname == iname.
+ * Makefile.am: Add the new test.
+
2013-03-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dvips.c: Check if oname != iname.
diff --git a/Build/source/texk/dvipsk/Makefile.am b/Build/source/texk/dvipsk/Makefile.am
index 3cc5fe87848..dd3b9c9da74 100644
--- a/Build/source/texk/dvipsk/Makefile.am
+++ b/Build/source/texk/dvipsk/Makefile.am
@@ -111,7 +111,7 @@ CLEANFILES = $(prologues) texc.lpro
## dvips tests
TESTS = afm2tfm-test.pl
TESTS += beginfontk1.test eepic-nan.test \
- pfbincl.test quotecmd-test.pl test-dvips
+ pfbincl.test quotecmd-test.pl same-name.test test-dvips
TESTS_ENVIRONMENT = TEXMFCNF=$(srcdir)/../kpathsea
TESTS_ENVIRONMENT += TEXCONFIG=$(srcdir)/testdata
@@ -162,6 +162,8 @@ DISTCLEANFILES += pfbincl.ps
## quotecmd-test.pl
EXTRA_DIST += testdata/quotecmd.dvi testdata/quotecmd.tex
DISTCLEANFILES += *badnews*
+## same-name.test
+DISTCLEANFILES += same-name.out
## test-dvips
EXTRA_DIST += testdata/dvipstst.tex testdata/dvipstst.xdv testdata/dvipstst.xps
DISTCLEANFILES += dvipstst.ps missfont.log mtest.ps
diff --git a/Build/source/texk/dvipsk/Makefile.in b/Build/source/texk/dvipsk/Makefile.in
index e013411b500..d10dd0793a5 100644
--- a/Build/source/texk/dvipsk/Makefile.in
+++ b/Build/source/texk/dvipsk/Makefile.in
@@ -653,8 +653,8 @@ dist_man1_MANS = afm2tfm.1 dvips.1
info_TEXINFOS = dvips.texi
dvips_TEXINFOS = contrib/config.proto dvips.help
DISTCLEANFILES = $(DVIS) $(PSS) afmtest.tfm beginfontk1.ps \
- eepic-nan.ps pfbincl.ps *badnews* dvipstst.ps missfont.log \
- mtest.ps
+ eepic-nan.ps pfbincl.ps *badnews* same-name.out dvipstst.ps \
+ missfont.log mtest.ps
prolog_DATA = $(prologues)
dist_prologues = \
color.lpro \
@@ -693,7 +693,7 @@ EXTRA_DIST = $(dist_prologues) texc.script $(TESTS) testdata/8r.enc \
makefont.c mvs psfonts.map tex vmcms vms
CLEANFILES = $(prologues) texc.lpro
TESTS = afm2tfm-test.pl beginfontk1.test eepic-nan.test pfbincl.test \
- quotecmd-test.pl test-dvips
+ quotecmd-test.pl same-name.test test-dvips
TESTS_ENVIRONMENT = TEXMFCNF=$(srcdir)/../kpathsea \
TEXCONFIG=$(srcdir)/testdata TEXFONTS=$(srcdir)/testdata \
TEXFONTMAPS=$(srcdir)/testdata TEXPSHEADERS=$(srcdir)/testdata
diff --git a/Build/source/texk/dvipsk/same-name.test b/Build/source/texk/dvipsk/same-name.test
new file mode 100755
index 00000000000..77b8f0fdd66
--- /dev/null
+++ b/Build/source/texk/dvipsk/same-name.test
@@ -0,0 +1,13 @@
+#! /bin/sh
+# Test oname == iname.
+# Code changed by Akira Kakuto, 2013-03-18.
+
+rm -f same-name.dvi same-name.out
+
+./dvips same-name.dvi -o same-name.dvi 2>same-name.out \
+ && exit 1
+
+grep 'Output name should be different from input name' \
+ same-name.out || exit 1
+
+exit 0