gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24669 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r24669 - gnunet/src/testing
Date: Thu, 1 Nov 2012 23:03:59 +0100

Author: harsha
Date: 2012-11-01 23:03:59 +0100 (Thu, 01 Nov 2012)
New Revision: 24669

Modified:
   gnunet/src/testing/test_testing_peerstartup.c
   gnunet/src/testing/test_testing_portreservation.c
Log:
fix

Modified: gnunet/src/testing/test_testing_peerstartup.c
===================================================================
--- gnunet/src/testing/test_testing_peerstartup.c       2012-11-01 22:02:16 UTC 
(rev 24668)
+++ gnunet/src/testing/test_testing_peerstartup.c       2012-11-01 22:03:59 UTC 
(rev 24669)
@@ -129,13 +129,14 @@
     GNUNET_GETOPT_OPTION_END
   };
 
+  status = GNUNET_SYSERR;
   if (GNUNET_OK !=
       GNUNET_PROGRAM_run (argc, argv,
                           "test_testing_new_peerstartup",
                           "test case for peerstartup using new testing 
library",
                           options, &run, NULL))
     return 1;
-  return 0;
+  return (GNUNET_OK == status) ? 0 : 1;
 }
 
 /* end of test_testing_peerstartup.c */

Modified: gnunet/src/testing/test_testing_portreservation.c
===================================================================
--- gnunet/src/testing/test_testing_portreservation.c   2012-11-01 22:02:16 UTC 
(rev 24668)
+++ gnunet/src/testing/test_testing_portreservation.c   2012-11-01 22:03:59 UTC 
(rev 24669)
@@ -96,9 +96,7 @@
                           options,
                           &run,
                           NULL))
-  {
     return 1;
-  }
   return (GNUNET_OK == status) ? 0 : 1;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]