* Makefile (check): Run config-guess.sh tests as well.

* testsuite/config-guess.sh: New test.
	* testsuite/config-guess.data: New file.
	* testsuite/uname.in: Likewise.
	* testsuite/config-sub.data (amd64-unknown-freebsd5.2): New case.
This commit is contained in:
Ben Elliston
2004-08-22 07:37:36 +00:00
parent fc09c0660a
commit ddc5f38bef
6 changed files with 79 additions and 19 deletions

9
testsuite/uname.in Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# uname(1) simulator, inspired by Pavel Roskin.
[ $# -ne 1 ] && exec sh $0 -s
[ $1 = -m ] && echo "@MACHINE@" && exit 0
[ $1 = -r ] && echo "@RELEASE@" && exit 0
[ $1 = -s ] && echo "@SYSTEM@" && exit 0
[ $1 = -v ] && echo "@VERSION@" && exit 0
[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI"