From: Ben Pfaff Date: Mon, 15 Oct 2007 04:31:35 +0000 (+0000) Subject: Delete test that is obsolete and has not been run automatically in ages. X-Git-Tag: v0.6.0~216 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bdb0f0b14fc7b1a417257e6a384956afa16ab14;p=pspp-builds.git Delete test that is obsolete and has not been run automatically in ages. --- diff --git a/tests/bugs/terminate.sh b/tests/bugs/terminate.sh deleted file mode 100755 index 9f3a4955..00000000 --- a/tests/bugs/terminate.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# This tests checks that when a fatal error occurs, -# and appropriate notice is printed and the program exits with a -# non zero status - - -TEMPDIR=/tmp/pspp-tst-$$ -TESTFILE=$TEMPDIR/`basename $0`.sps - -here=`pwd`; - -# ensure that top_srcdir is absolute -cd $top_srcdir; top_srcdir=`pwd` - -STAT_CONFIG_PATH=$top_srcdir/config -export STAT_CONFIG_PATH - - -cleanup() -{ - cd / - rm -rf $TEMPDIR -} - - -fail() -{ - echo $activity - echo FAILED - cleanup; - exit 1; -} - - -no_result() -{ - echo $activity - echo NO RESULT; - cleanup; - exit 2; -} - -pass() -{ - cleanup; - exit 0; -} - -mkdir -p $TEMPDIR - -cd $TEMPDIR - - -activity="delete file" -rm -f $TEMPDIR/bar.dat -if [ $? -ne 0 ] ; then no_result ; fi - -activity="create program" -cat > $TESTFILE < $TEMPDIR/stderr -if [ $? -eq 0 ] ; then fail ; fi - -activity="compare stderr" -diff $TEMPDIR/stderr - << EOF -pspp: Terminating NOW due to a fatal error! -EOF -if [ $? -ne 0 ] ; then fail ; fi - -pass;