Re: [LTP] [PATCH v2] ltp/pounder: Don't let the testing log output to /dev/tty

2015-09-01 Thread Li Wang
Hi, On Tue, Sep 1, 2015 at 9:44 PM, Cyril Hrubis wrote: > Hi! > > + out = fdopen(3, "w+"); > > This is just complicated way of doing out = stderr; > > And I doubt that this will fail under normal circumstances. > > So what about doing just out = stderr; or out = stdout

Re: [LTP] [PATCH v2] ltp/pounder: Don't let the testing log output to /dev/tty

2015-09-01 Thread Cyril Hrubis
Hi! > + out = fdopen(3, "w+"); This is just complicated way of doing out = stderr; And I doubt that this will fail under normal circumstances. So what about doing just out = stderr; or out = stdout instead? Otherwise it looks fine and I'm OK with applying this before the release. --

Re: [LTP] [PATCH v2] ltp/pounder: Don't let the testing log output to /dev/tty

2015-08-31 Thread Li Wang
ping, is there possible to push this before the newest LTP released? On Fri, Aug 21, 2015 at 6:13 PM, Li Wang wrote: > v1-->v2: > - FILE *tty_fp --> FILE *out > - Using out = stdout to replace the fdopen() operate; > > Signed-off-by: Li Wang

[LTP] [PATCH v2] ltp/pounder: Don't let the testing log output to /dev/tty

2015-08-21 Thread Li Wang
v1--v2: - FILE *tty_fp -- FILE *out - Using out = stdout to replace the fdopen() operate; Signed-off-by: Li Wang liw...@redhat.com Signed-off-by: Cyril Hrubis chru...@suse.cz --- tools/pounder21/Install | 2 +- tools/pounder21/fancy_timed_loop.c | 29