summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/same-name.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/same-name.test')
-rwxr-xr-xBuild/source/texk/dvipsk/same-name.test13
1 files changed, 13 insertions, 0 deletions
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