diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/name-test/test-names.c | 2 | ||||
-rw-r--r-- | test/name-test/test-shutdown.c | 2 | ||||
-rw-r--r-- | test/name-test/tmp-session-like-system.conf | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/test/name-test/test-names.c b/test/name-test/test-names.c index f4b0ba08..b09f3638 100644 --- a/test/name-test/test-names.c +++ b/test/name-test/test-names.c @@ -37,7 +37,7 @@ typedef struct { int expected_queue[NUM_CONN]; } CommandAndResult; -CommandAndResult test_data[] = { +static CommandAndResult test_data[] = { {ADD_CONNECTION, 0, ALLOW_REPLACEMENT | REPLACE_EXISTING, PRIMARY_OWNER, {0,-1,-1,-1}}, {ADD_CONNECTION, 0, REPLACE_EXISTING, diff --git a/test/name-test/test-shutdown.c b/test/name-test/test-shutdown.c index c50ef4b6..e76c1ea2 100644 --- a/test/name-test/test-shutdown.c +++ b/test/name-test/test-shutdown.c @@ -11,7 +11,7 @@ die (const char *message) } static void -open_destroy_shared_session_bus_connection () +open_destroy_shared_session_bus_connection (void) { DBusError error; DBusConnection *connection; diff --git a/test/name-test/tmp-session-like-system.conf b/test/name-test/tmp-session-like-system.conf index 0818109a..29ab115f 100644 --- a/test/name-test/tmp-session-like-system.conf +++ b/test/name-test/tmp-session-like-system.conf @@ -8,6 +8,10 @@ <!-- Our well-known bus type, don't change this --> <type>session</type> + <!-- If we fork, keep the user's original umask to avoid affecting + the behavior of child processes. --> + <keep_umask/> + <syslog/> <listen>unix:tmpdir=/tmp</listen> |