From 3bdb0f0b14fc7b1a417257e6a384956afa16ab14 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 Oct 2007 04:31:35 +0000 Subject: [PATCH] Delete test that is obsolete and has not been run automatically in ages. --- tests/bugs/terminate.sh | 78 ----------------------------------------- 1 file changed, 78 deletions(-) delete mode 100755 tests/bugs/terminate.sh 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; -- 2.30.2