[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-commits
Subject:    [oprof-cvs] CVS: oprofile/libdb/tests db_test.c,1.1,1.2
From:       Philippe Elie <phil_e () users ! sourceforge ! net>
Date:       2003-09-26 21:12:48
[Download RAW message or body]

Update of /cvsroot/oprofile/oprofile/libdb/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv9755/libdb/tests

Modified Files:
	db_test.c 
Log Message:
libdb/tests/db_test.c: success must be silent

Index: db_test.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/libdb/tests/db_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -d -r1.1 -r1.2
--- db_test.c	26 Sep 2003 02:16:23 -0000	1.1
+++ db_test.c	26 Sep 2003 21:12:46 -0000	1.2
@@ -173,11 +173,8 @@ int main(int argc, char * argv[1])
 
 	do_speed_test();
 
-	if (nr_error) {
+	if (nr_error)
 		printf("%d error occured\n", nr_error);
-	} else {
-		printf("no error occur\n");
-	}
 
 	return nr_error ? EXIT_FAILURE : EXIT_SUCCESS;
 }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic