From 1349819bc862dbc974a34f88d2e31275b77fe2fc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 10 Oct 2010 21:40:18 -0700 Subject: [PATCH] tests: Remove some files that are no longer used. --- tests/bugs/README | 2 - tests/bugs/compression.sh | 100 -------------------------------------- 2 files changed, 102 deletions(-) delete mode 100644 tests/bugs/README delete mode 100755 tests/bugs/compression.sh diff --git a/tests/bugs/README b/tests/bugs/README deleted file mode 100644 index 32ed7543..00000000 --- a/tests/bugs/README +++ /dev/null @@ -1,2 +0,0 @@ -This directory contains some tests for bugs which have been -experienced in the past and which are (hopefully) now fixed. diff --git a/tests/bugs/compression.sh b/tests/bugs/compression.sh deleted file mode 100755 index dadc8836..00000000 --- a/tests/bugs/compression.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# This program tests that compressed system files can be read and written - -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 - - -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 - -cat > $TESTFILE < /dev/null | od > $TEMPDIR/file -if [ $? -ne 0 ] ; then no_result ; fi - -activity="check compression setting" -# Big-endian? -diff -b $TEMPDIR/file - > /dev/null < /dev/null <