From f0554910ce3b47c6feb150c75fa376bfdfa8818d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 9 Oct 2010 20:58:18 -0700 Subject: [PATCH 1/1] tests: Remove files that are no longer used. --- tests/command/get-data-gnm.sh | 211 ---------------------- tests/command/input-program.sh | 309 --------------------------------- 2 files changed, 520 deletions(-) delete mode 100755 tests/command/get-data-gnm.sh delete mode 100755 tests/command/input-program.sh diff --git a/tests/command/get-data-gnm.sh b/tests/command/get-data-gnm.sh deleted file mode 100755 index 08cad6a3..00000000 --- a/tests/command/get-data-gnm.sh +++ /dev/null @@ -1,211 +0,0 @@ -#!/bin/sh - -# This program tests that pspp can read Gnumeric files - -TEMPDIR=/tmp/pspp-tst-$$ -TESTFILE=$TEMPDIR/`basename $0`.sps - -# ensure that top_srcdir and top_builddir are absolute -if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi -if [ -z "$top_builddir" ] ; then top_builddir=. ; fi -top_srcdir=`cd $top_srcdir; pwd` -top_builddir=`cd $top_builddir; pwd` - -PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT - -STAT_CONFIG_PATH=$top_srcdir/config -export STAT_CONFIG_PATH - -LANG=C -export LANG - - -cleanup() -{ - if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then - echo "NOT cleaning $TEMPDIR" - return ; - fi - 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="zip the gnm file and place it in the test directory" -gzip -c $top_srcdir/tests/Book1.gnm.unzipped > $TEMPDIR/Book1.gnumeric -if [ $? -ne 0 ] ; then no_result ; fi - -activity="create program 1" -cat > $TESTFILE < $TESTFILE < /dev/null -if [ $? -ne 0 ] ; then fail ; fi - -activity="compare output 2" -diff -c $TEMPDIR/pspp.csv - < a.data < b.data < test1.pspp < test2.pspp < test3.pspp < test4.pspp < test5.pspp <