dbus/test shell-test.c,1.1,1.2

John Palmieri johnp at kemper.freedesktop.org
Thu Aug 10 13:09:45 PDT 2006


Update of /cvs/dbus/dbus/test
In directory kemper:/tmp/cvs-serv14645/test

Modified Files:
	shell-test.c 
Log Message:
* dbus/dbus-sysdeps.c:
* dbus/dbus-address.c:
* bus/activation.c:
* test/shell-test.c:
  don't hardcode tmp directory (patch from Dave Meikle
  <dmk at davemeikle dot co dot uk>)


Index: shell-test.c
===================================================================
RCS file: /cvs/dbus/dbus/test/shell-test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- shell-test.c	14 Jul 2005 20:44:15 -0000	1.1
+++ shell-test.c	10 Aug 2006 20:09:43 -0000	1.2
@@ -6,6 +6,7 @@
 #include <dbus/dbus-memory.h>
 #include <dbus/dbus-shell.h>
 #include <dbus/dbus-string.h>
+#include <dbus/dbus-sysdeps.h>
 
 static dbus_bool_t
 test_command_line (const char *arg1, ...)
@@ -95,7 +96,7 @@
       || !test_command_line ("/opt/gnome/bin/service-start", NULL)
       || !test_command_line ("grep", "-l", "-r", "-i", "'whatever'", "files*.c", NULL)
       || !test_command_line ("/home/boston/johnp/devel-local/dbus/test/test-segfault", NULL)
-      || !test_command_line ("ls", "-l", "-a", "--colors", "/tmp", NULL)
+      || !test_command_line ("ls", "-l", "-a", "--colors", _dbus_get_tmpdir(), NULL)
       || !test_command_line ("rsync-to-server", NULL)
       || !test_command_line ("test-segfault", "--no-segfault", NULL)
       || !test_command_line ("evolution", "mailto:pepe at cuco.com", NULL)



More information about the dbus-commit mailing list