1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /bin/sh -vx # $Id$ # Public domain. # Test oname == iname. 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