From: Simon McVittie Date: Wed, 15 Feb 2017 16:57:00 +0000 (+0000) Subject: shell-test: Don't use _dbus_get_tmpdir() X-Git-Tag: dbus-1.11.10~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e354380e82af1a5d2d01be409c9653c14300ce59;p=thirdparty%2Fdbus.git shell-test: Don't use _dbus_get_tmpdir() There's no particular reason to be using a temporary directory (it's just some arbitrary string), and it will be harder for future changes to eradicate uses of a temporary directory that is shared between users if we list it here. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99828 Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall --- diff --git a/test/shell-test.c b/test/shell-test.c index 07585abb0..794757f34 100644 --- a/test/shell-test.c +++ b/test/shell-test.c @@ -172,7 +172,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", _dbus_get_tmpdir(), NULL); + test_command_line ("ls", "-l", "-a", "--colors", 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);