From dbfba201ff3122582429bc9725ef0f6cffbdad4a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 15 Feb 2017 16:57:00 +0000 Subject: [PATCH 4/4] 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's harder to eradicate uses of a temporary directory that is shared between users if we list it here. Signed-off-by: Simon McVittie --- test/shell-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell-test.c b/test/shell-test.c index 07585abb..794757f3 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); -- 2.11.0