tst_res(3) not doing as promised?

View: New views
2 Messages — Rating Filter:   Alert me  

tst_res(3) not doing as promised?

by yaneurabeya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pardon me for being coy, but every time I try and use...

    tst_res(TBROK, NULL, "bleh\n");

    tst_res(TBROK, "foo.log", "foobar\n");

... both sets of output end up on stdout. It appears that the only way
to define the output file is to use T_output =\...

Can someone verify / disprove this with either the April or May snapshots?

Thanks,
-Garrett

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ltp-list mailing list
Ltp-list@...
https://lists.sourceforge.net/lists/listinfo/ltp-list

Re: tst_res(3) not doing as promised?

by nate-ltp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jun 17 18:31, Garrett Cooper wrote:
> Pardon me for being coy, but every time I try and use...
>
>     tst_res(TBROK, NULL, "bleh\n");
>
>     tst_res(TBROK, "foo.log", "foobar\n");
>
> ... both sets of output end up on stdout. It appears that the only way
> to define the output file is to use T_output =\...

The second parameter isn't the destination for third.  The second
parameter is another file which may have been produced during the test,
which you want to copy to stdout along with the message.

I hope that helps, however late the explaination is. :)

Nate

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ltp-list mailing list
Ltp-list@...
https://lists.sourceforge.net/lists/listinfo/ltp-list