blob: 4d6870593d7b4918ea4d990c9a0202c6a632ded3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
php test.php > test.in
php ../main.php <test.in>test.out
if [ -z "$(diff test.out test.successful)" ]
then
echo "Test successful."
else
echo "Test unsuccessful. Check activity logs."
fi
rm test.in test.out
|