hal/hald hald_test.c,1.3,1.4

David Zeuthen david at freedesktop.org
Mon Mar 7 11:38:11 PST 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv25352/hald

Modified Files:
	hald_test.c 
Log Message:
2005-03-07  David Zeuthen  <davidz at redhat.com>

	* hald/hald_test.c (main): Back out libhal testing code for now.
	(check_properties): We've changed the semantics of hal_device_
	property_strlist_add so change test suite accordingly
	
	* doc/TODO: Add note about extending test suite coverage



Index: hald_test.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hald_test.c	14 Feb 2005 18:20:04 -0000	1.3
+++ hald_test.c	7 Mar 2005 19:38:09 -0000	1.4
@@ -256,8 +256,8 @@
 		goto out;
 	}
 
-	/* this add will succeed but it shouldn't change the list */
-	if (!hal_device_property_strlist_add (d, "test.strlist", "foostrlist2")) {
+	/* this add should fail because it shouldn't change the list */
+	if (hal_device_property_strlist_add (d, "test.strlist", "foostrlist2")) {
 		printf ("FAILED40\n");
 		goto out;
 	}
@@ -548,11 +548,12 @@
 		num_tests_failed++;
 
 	/* tests of libhal against /org/freedesktop/Hal/devices/testobj1 for getting  */
+/*
 	if (!check_libhal (dbus_server_get_address (server)))
 		num_tests_failed++;
 	if (!wait_for_external_test ())
 		num_tests_failed++;
-
+*/
 
 	printf ("=============================\n");
 




More information about the hal-commit mailing list