File fix-nonce-tcp-4.patch of Package dbus-1.5763

From 3e92cbf175a9a3b568fee62a5d7f19e503441982 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 will be harder for future changes
to eradicate uses of a temporary directory that is shared between users
if we list it here.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
---
 test/shell-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dbus-1.8.22/test/shell-test.c
===================================================================
--- dbus-1.8.22.orig/test/shell-test.c
+++ dbus-1.8.22/test/shell-test.c
@@ -97,7 +97,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)
openSUSE Build Service is sponsored by