mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-07 13:48:21 +12:00
* 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:
9
testsuite/uname.in
Executable file
9
testsuite/uname.in
Executable 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"
|
Reference in New Issue
Block a user