]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
shell-test: Don't use _dbus_get_tmpdir()
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 15 Feb 2017 16:57:00 +0000 (16:57 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 16 Feb 2017 16:00:14 +0000 (16:00 +0000)
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 <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
test/shell-test.c

index 07585abb0a13702ed70450b2e5d37870f47d9617..794757f343baba624c3e99d7184c11edf5d92d23 100644 (file)
@@ -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);