1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 21:31:28 +01:00

Better logs

This commit is contained in:
Daniil Gentili 2021-04-07 15:15:49 +02:00
parent fbc43cf26b
commit fea7d6577e
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -144,8 +144,7 @@ runTestSimple()
runTest()
{
[ "$1" != "" ] && p="$1" || p=php
$p tests/testing.php <<EOF
m
echo "m
$API_ID
$API_HASH
b
@ -153,8 +152,10 @@ $BOT_TOKEN
n
n
n
EOF
" | $p tests/testing.php || {
cat MadelineProto.log
exit 1
}
}
rm -f madeline.phar testing.madeline*