diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-08-10 20:09:43 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-08-10 20:09:43 +0000 |
commit | 2974c82428b5d9d3e1f504ba4052aec47fc2b415 (patch) | |
tree | 66973e6b07b52fcd01add8cdfb4c6e1bdac5fae0 /test | |
parent | 5628ef82de9e853381ab61bab8c3cd3b1b622290 (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.c | 3 |
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) |