summaryrefslogtreecommitdiffstats
path: root/package/gnuconfig/testsuite/config-guess.sh
diff options
context:
space:
mode:
authorWill Newton <will.newton@imgtec.com>2011-02-25 14:09:58 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-07 23:28:45 +0100
commitf6409520ce44a498eec3cbca214b17470aa7b839 (patch)
treec9100ac2b91d92fbe9b47f7cfce40f2fa992801e /package/gnuconfig/testsuite/config-guess.sh
parent0a064b48c9d1044b05aee65272f5af7f28879473 (diff)
downloadbuildroot-novena-f6409520ce44a498eec3cbca214b17470aa7b839.tar.gz
buildroot-novena-f6409520ce44a498eec3cbca214b17470aa7b839.zip
gnuconfig: Remove old checkout of GNU config.
Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gnuconfig/testsuite/config-guess.sh')
-rw-r--r--package/gnuconfig/testsuite/config-guess.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/package/gnuconfig/testsuite/config-guess.sh b/package/gnuconfig/testsuite/config-guess.sh
deleted file mode 100644
index 324f275e3..000000000
--- a/package/gnuconfig/testsuite/config-guess.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# Copyright 2004, 2005 Free Software Foundation, Inc.
-# Contributed by Ben Elliston <bje@gnu.org>.
-#
-# This test reads 5-tuples from config-guess.data: the components of
-# the simulated uname(1) output and the expected GNU system triplet.
-
-verbose=false
-export PATH=`pwd`:$PATH
-IFS=" " # tab
-
-run_config_guess ()
-{
- rc=0
- while read machine release system version triplet ; do
- sed \
- -e "s,@MACHINE@,$machine," \
- -e "s,@RELEASE@,$release," \
- -e "s,@SYSTEM@,$system," \
- -e "s,@VERSION@,$version," < uname.in > uname
- chmod +x uname
- output=`sh ../config.guess 2>/dev/null`
- if test $? != 0 ; then
- echo "FAIL: unable to guess $machine:$release:$system:$version"
- rc=1
- continue
- fi
- if test $output != $triplet ; then
- echo "FAIL: $output (expected $triplet)"
- rc=1
- continue
- fi
- $verbose && echo "PASS: $triplet"
- done
- return $rc
-}
-
-sed 's/ */ /g' < config-guess.data | run_config_guess
-rc=$?
-if test $rc -eq 0 ; then
- $verbose || echo "PASS: config.guess checks"
-else
- test $rc -eq 1 && echo "Unexpected failures."
-fi
-
-exit $rc