On Fri, 05 Nov 2010 12:43:24 +0100, Vincent Lefevre wrote:

> For the password, I typed an incorrect password. I expected to get
> an error about the tweet, but bti terminated with no error messages
> and with an exit status of 0.

Good news: From upstream changelog between 030 and 031:

#v+
commit ec9264385a18f6f2212b7e19f2ea34ef807ca1cd
Author: Diego Elio Pettenò <[email protected]>
Date:   Fri Mar 18 19:01:53 2011 +0100

    In non-background execution, check whether the server reports success.
    
    The test is currently only implemented in non-OAuth codepath, and tested
    only with identi.ca.
#v-

Quick test with a wrong password in ~/.bti:

$ bti
tweet: this dent should not go out
unexpected document type
operation failed
$ echo $?
234

Better than before :)


Cheers,
gregor, leaving the bug open

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Kurt Ostbahn & Die Kombo: So gern so vü

Attachment: signature.asc
Description: Digital signature

Reply via email to