xref: /original-bsd/old/dbx/tests/runtest (revision e0c0d005)
1#! /bin/csh -f
2
3#
4# runtest <dbx> <testname>
5#
6# Run dbx (with no environment so that stack addresses
7# have consistent values).
8#
9# The first three lines of dbx output are ignored because
10# they contain version specific information.
11#
12# This program is assumed to be running from within
13# one of the language-specific test subdirectories.
14#
15
16if (-e $2.in) then
17	../noenv $1 $2.x < $2.in |& tail +3
18else
19	../noenv $1 $2.x < $2.`machine`.in |& tail +3
20endif
21