case $PERL_CONFIG_SH in '') if test ! -f config.sh; then ln ../config.sh . || \ ln ../../config.sh . || \ ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) fi 2>/dev/null . ./config.sh ;; esac case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac echo "Extracting runtests (with variable substitutions)" rm -f runtests $spitshell >runtests </dev/null 2>&1; then tty=Y else tty=N fi ;; *) echo "ttyflag should be one of tty, no-tty or choose" exit 1 ;; esac if test X"\$TESTFILE" = X; then TESTFILE=TEST fi if test X"\$PERL" = X; then PERL=./perl$_exe export PERL fi cd t # The second branch is for testing without a tty or controlling terminal, # see t/op/stat.t if test \$tty = Y; then \$PERL \$TESTFILE \$TEST_ARGS \$TEST_FILES rantests !GROK!THIS! $eunicefix runtests chmod +x runtests