#! /bin/sh# tagdemo-exec.test - check that programs in the ../tagdemo subdirectory are viable# Test script header.need_prefix=noif test -z "$srcdir"; thensrcdir=`echo "$0" | sed 's%/[^/]*$%%'`test "$srcdir" = "$0" && srcdir=.test "${VERBOSE+set}" != "set" && VERBOSE=yesfi. $srcdir/defs || exit 1if test -f ../tagdemo/tagdemo$EXEEXT; then :elseecho "You must run tagdemo-make.test before running $0" 1>&2exit 77fi# Check to see if the programs really run.echo "Executing uninstalled programs in ../tagdemo"if ../tagdemo/tagdemo; then :elseecho "$0: cannot execute ../tagdemo/tagdemo" 1>&2status=1fiexit $status