#! /bin/bash
#
#  This file is generated from gds/DTT/startup/diagtest.in.
#
#  2010.02.23 Replaced xterm with (at)DTTERM(at) and diag with gdsdiag.
#
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
[ -d "@GDS_DTTDIR@" ] && cd @GDS_DTTDIR@
if [ "x$1" = "x-v" ]; then
    shift
    /usr/bin/xterm $2 $3 -title "Diagnostics tests" \
             -geometry 80x60-25-75 -fg black -bg white -sb -sl 1000 \
	     -e /bin/bash -c "/usr/bin/diag -l -c $'@'"
else
    /usr/bin/xterm $1 $2 -title "Diagnostics tests" \
	     -geometry 80x60-25-75 -fg black -bg white -sb -sl 1000 \
	     -e /bin/bash -c "/usr/bin/diag -l -c $'@' 2> /dev/null"
fi
