1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 04:31:12 +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() runTest()
{ {
[ "$1" != "" ] && p="$1" || p=php [ "$1" != "" ] && p="$1" || p=php
$p tests/testing.php <<EOF echo "m
m
$API_ID $API_ID
$API_HASH $API_HASH
b b
@ -153,8 +152,10 @@ $BOT_TOKEN
n n
n n
n n
" | $p tests/testing.php || {
EOF cat MadelineProto.log
exit 1
}
} }
rm -f madeline.phar testing.madeline* rm -f madeline.phar testing.madeline*