Skip to content

Instantly share code, notes, and snippets.

@pablofmorales pablofmorales/smoke.sh
Last active Dec 15, 2015

Embed
What would you like to do?
Smoke trigger
#!/bin/bash
RESULT=$(phpunit tests/Smoke);
if [[ $RESULT =~ FAILURES ]]; then
echo "THE TESTS FAILS"
echo $RESULT
exit 1;
fi
echo "EVERITHING IS OK"
exit 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.