summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-08-10 20:09:43 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-08-10 20:09:43 +0000
commit2974c82428b5d9d3e1f504ba4052aec47fc2b415 (patch)
tree66973e6b07b52fcd01add8cdfb4c6e1bdac5fae0 /test
parent5628ef82de9e853381ab61bab8c3cd3b1b622290 (diff)
* 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>)
Diffstat (limited to 'test')
-rw-r--r--test/shell-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/shell-test.c b/test/shell-test.c
index 46a387d7..4115f191 100644
--- a/test/shell-test.c
+++ b/test/shell-test.c
@@ -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 @@ main (int argc, char **argv)
|| !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@cuco.com", NULL)