1#! /bin/sh 2# tagdemo-exec.test - check that programs in the ../tagdemo subdirectory are viable 3 4# Test script header. 5need_prefix=no 6if test -z "$srcdir"; then 7 srcdir=`echo "$0" | sed 's%/[^/]*$%%'` 8 test "$srcdir" = "$0" && srcdir=. 9 test "${VERBOSE+set}" != "set" && VERBOSE=yes 10fi 11. $srcdir/defs || exit 1 12 13if test -f ../tagdemo/tagdemo$EXEEXT; then : 14else 15 echo "You must run tagdemo-make.test before running $0" 1>&2 16 exit 77 17fi 18 19# Check to see if the programs really run. 20echo "Executing uninstalled programs in ../tagdemo" 21 22if ../tagdemo/tagdemo; then : 23else 24 echo "$0: cannot execute ../tagdemo/tagdemo" 1>&2 25 status=1 26fi 27 28exit $status 29