Fix bashims in configure and gcctestsuite.sh.
commitdc265feb63c70a1a76fb566a6c05fe62246b65a0
authorThomas Preud'homme <thomas.preudhomme@celest.fr>
Wed, 26 May 2010 11:45:16 +0000 (26 13:45 +0200)
committerThomas Preud'homme <thomas.preudhomme@celest.fr>
Wed, 26 May 2010 12:08:29 +0000 (26 14:08 +0200)
treed687e00b4f4456cdaea0bb2cd982d6f63eae6f3a
parenta867f4259774eb55ac3c34a83df5cc705c266295
Fix bashims in configure and gcctestsuite.sh.

configure and gcctestsuite.sh shell scripts contains bashisms although being
bourne shell script. This patch fixes the following bashisms:
* Use of $RANDOM variable (replaced by reading in /dev/urandom)
* Use == in tests instead of just =
* Use $[] for arithmetic computation istead of $(())
configure
tests/gcctestsuite.sh