[gnome-color-manager] trivial: fix up make check
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: fix up make check
- Date: Sun, 29 Nov 2009 21:05:30 +0000 (UTC)
commit 20418f24bbf873e3b172da742faf317fe17b73cd
Author: Richard Hughes <richard hughsie com>
Date: Sun Nov 29 21:03:12 2009 +0000
trivial: fix up make check
src/gcm-device.c | 2 +-
src/gcm-edid.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-device.c b/src/gcm-device.c
index cf7a9bc..6f4d1ef 100644
--- a/src/gcm-device.c
+++ b/src/gcm-device.c
@@ -900,7 +900,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\ntype=scanner\n") == 0)
+ if (g_strcmp0 (data, "\n[sysfs_dummy_device]\nprofile=/srv/sysfs_canon_canoscan.icc\nserial=0123456789\ntype=scanner\n") == 0)
egg_test_success (test, NULL);
else
egg_test_failed (test, "invalid data: %s", data);
diff --git a/src/gcm-edid.c b/src/gcm-edid.c
index a656824..a0a8032 100644
--- a/src/gcm-edid.c
+++ b/src/gcm-edid.c
@@ -557,7 +557,7 @@ gcm_edid_test (EggTest *test)
/* Lenovo T61 Intel Panel */
test_data.monitor_name = NULL;
test_data.vendor_name = "IBM France";
- test_data.serial_number = "0";
+ test_data.serial_number = NULL;
test_data.ascii_string = "LTN154P2-L05";
test_data.pnp_id = "IBM";
test_data.height = 21;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]