All pastes #248364 Raw Edit

Something

public text v1 · immutable
#248364 ·published 2006-11-14 16:04 UTC
rendered paste body
diff -NurdB at-spi-1.7.12/test/Makefile.am at-spi-1.7.12-patched/test/Makefile.am
--- at-spi-1.7.12/test/Makefile.am	2006-08-17 11:44:33.000000000 -0500
+++ at-spi-1.7.12-patched/test/Makefile.am	2006-11-14 10:35:29.000000000 -0500
@@ -43,5 +43,5 @@
 
 TESTS_ENVIRONMENT =					\
 	LD_LIBRARY_PATH=$(top_builddir)/libspi/.libs/:$(top_builddir)/cspi/.libs/	\
-	PATH=$(top_builddir)/registryd/.libs
+	PATH=$(top_builddir)/registryd/.libs:$(PATH)
 
diff -NurdB at-spi-1.7.12/test/test-simple.c at-spi-1.7.12-patched/test/test-simple.c
--- at-spi-1.7.12/test/test-simple.c	2005-11-02 13:01:24.000000000 -0500
+++ at-spi-1.7.12-patched/test/test-simple.c	2006-11-14 10:37:29.000000000 -0500
@@ -714,7 +714,7 @@
 	key_listener = SPI_createAccessibleKeystrokeListener (
 		key_listener_cb, &stroke);
 
-	test_keyset = SPI_createAccessibleKeySet (1, "=", NULL, NULL);
+	test_keyset = SPI_createAccessibleKeySet (1, "t", NULL, NULL);
 
 	g_assert (SPI_registerAccessibleKeystrokeListener (
 		key_listener,
@@ -725,11 +725,11 @@
 
 	for (i = 0; i < 3; i++) {
 		memset (&stroke, 0, sizeof (AccessibleKeystroke));
-		g_assert (SPI_generateKeyboardEvent ('=', NULL, SPI_KEY_SYM));
+		g_assert (SPI_generateKeyboardEvent ('t', NULL, SPI_KEY_SYM));
 		while (!(key_press_received))
 			g_main_context_iteration (NULL, TRUE);
 		fprintf (stderr, "p [%s]", stroke.keystring);
-	        g_assert (!strcmp (stroke.keystring, "="));
+	        g_assert (!strcmp (stroke.keystring, "t"));
 		while (!(key_release_received))
 			g_main_context_iteration (NULL, TRUE);
 		fprintf (stderr, "r [%s]", stroke.keystring);