[gnome-color-manager] trivial: fix make check



commit cf3e36cd6a54d43fcb638c6d74ccde1fbe8d6c9b
Author: Richard Hughes <richard hughsie com>
Date:   Thu Mar 25 21:01:14 2010 +0000

    trivial: fix make check

 src/gcm-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-device.c b/src/gcm-device.c
index 848b448..b22b951 100644
--- a/src/gcm-device.c
+++ b/src/gcm-device.c
@@ -1313,7 +1313,7 @@ gcm_device_test (EggTest *test)
 
 	/************************************************************/
 	egg_test_title (test, "check data");
-	if (g_strcmp0 (data, "\n[sysfs_dummy_device]\nprofile=/srv/sysfs_canon_canoscan.icc\nserial=0123456789\ntype=scanner\ncolorspace=rgb\n") == 0)
+	if (g_str_has_suffix (data, "profile=/srv/sysfs_canon_canoscan.icc\nserial=0123456789\ntype=scanner\ncolorspace=rgb\n"))
 		egg_test_success (test, NULL);
 	else
 		egg_test_failed (test, "invalid data: %s", data);



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