=?utf-8?q?=5Btotem-pl-parser=5D_tests=3A_Fix_return_value_of_=E2=80=98dis?= =?utf-8?q?c=E2=80=99_test_for_everyone_except_Bastien?=



commit c91b3c5172628803ba05cb6da04b9cf604e227cf
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Aug 21 22:00:24 2012 +0100

    tests: Fix return value of âdiscâ test for everyone except Bastien

 plparse/tests/disc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/tests/disc.c b/plparse/tests/disc.c
index f58d728..b791aff 100644
--- a/plparse/tests/disc.c
+++ b/plparse/tests/disc.c
@@ -124,7 +124,7 @@ main (int argc, char *argv[])
 	if (device_paths == NULL) {
 		/* Don't want to error during check on some other machines */
 		if (g_strcmp0 (g_get_user_name (), "hadess") != 0)
-			return;
+			return 0;
 
 		/* We need to handle log messages produced by g_message so they're interpreted correctly by the GTester framework */
 		g_log_set_handler (NULL, G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO | G_LOG_LEVEL_DEBUG, log_handler, NULL);



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