Try to have a smarter Sauce test.

This commit is contained in:
Sébastien Lucas 2013-11-28 09:44:17 +01:00
parent 9dff0ec16d
commit e7dc302727
2 changed files with 14 additions and 1 deletions

13
test/prepareSauceTest.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"`
if [[ $PHP_VERSION != "5.5" ]]
then
echo "Bad PHP version"
exit
fi
echo "Good PHP version"
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php