From db15b0df7e52bc9249d8a728b8f2e0369eac942f Mon Sep 17 00:00:00 2001 From: vida Date: Tue, 11 Apr 2006 13:56:16 +0000 Subject: [PATCH] Test application using stdout instead of stderr for logging informations. git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@446 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/local/test/uppercase-client.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dcapi/local/test/uppercase-client.c b/dcapi/local/test/uppercase-client.c index 8174cba220..bf3e8c5582 100644 --- a/dcapi/local/test/uppercase-client.c +++ b/dcapi/local/test/uppercase-client.c @@ -124,13 +124,14 @@ int main(int argc, char **argv) { fprintf(stderr, "APP: Error while the initialize. Return value = %d.\n", retval); DC_finish(retval); } - fprintf(stderr, "APP: Init successful.\n"); + fprintf(stdout, "APP: Init successful.\n"); init_files(); - fprintf(stderr, "APP: Starting from line %d.\n", frac_current_pos+1); + fprintf(stdout, "APP: Starting from line %d.\n", frac_current_pos+1); do_work(); - fprintf(stderr, "APP: Work finished.\n"); + fprintf(stdout, "APP: Work finished.\n"); + fprintf(stderr, "APP: This is only a test error message.\n"); DC_finish(0); return(0); // Tho' we never reach this line