summaryrefslogtreecommitdiff
path: root/src/3rd_party/dbus-1.7.8/test/name-test
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rd_party/dbus-1.7.8/test/name-test')
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/Makefile.am46
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/Makefile.in797
-rwxr-xr-xsrc/3rd_party/dbus-1.7.8/test/name-test/run-test-systemserver.sh51
-rwxr-xr-xsrc/3rd_party/dbus-1.7.8/test/name-test/run-test.sh60
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-activation-forking.py60
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-autolaunch.c53
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-ids.c56
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-dispatch.c124
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-timeout.c103
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-privserver-client.c168
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-privserver.c123
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-shutdown.c68
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/test-threads-init.c184
-rwxr-xr-xsrc/3rd_party/dbus-1.7.8/test/name-test/test-wait-for-echo.py41
-rw-r--r--src/3rd_party/dbus-1.7.8/test/name-test/tmp-session-like-system.conf91
15 files changed, 0 insertions, 2025 deletions
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.am b/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.am
deleted file mode 100644
index da41e58b50..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-# Everything in this directory is statically-linked to libdbus-internal
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -DDBUS_COMPILATION \
- -DDBUS_STATIC_BUILD \
- -DDBUS_TEST_USE_INTERNAL \
- $(NULL)
-
-# if assertions are enabled, improve backtraces
-AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
-
-## note that TESTS has special meaning (stuff to use in make check)
-## so if adding tests not to be run in make check, don't add them to
-## TESTS
-if DBUS_ENABLE_EMBEDDED_TESTS
-TESTS_ENVIRONMENT = \
- DBUS_TOP_BUILDDIR=@abs_top_builddir@ \
- DBUS_TOP_SRCDIR=@abs_top_srcdir@ \
- PYTHON=@PYTHON@ \
- DBUS_TEST_DATA=@abs_top_builddir@/test/data \
- DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT) \
- $(NULL)
-TESTS=run-test.sh run-test-systemserver.sh
-else
-TESTS=
-endif
-
-EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py
-
-if DBUS_ENABLE_EMBEDDED_TESTS
-
-## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
-## build even when not doing "make check"
-noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
-
-test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-internal.la
-test_pending_call_timeout_LDADD=$(top_builddir)/dbus/libdbus-internal.la
-test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-internal.la
-test_ids_LDADD=$(top_builddir)/dbus/libdbus-internal.la
-
-test_shutdown_LDADD=../libdbus-testutils-internal.la
-test_privserver_LDADD=../libdbus-testutils-internal.la
-test_privserver_client_LDADD=../libdbus-testutils-internal.la
-test_autolaunch_LDADD=../libdbus-testutils-internal.la
-
-endif
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.in b/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.in
deleted file mode 100644
index 089c7adbc5..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/Makefile.in
+++ /dev/null
@@ -1,797 +0,0 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-am__make_dryrun = \
- { \
- am__dry=no; \
- case $$MAKEFLAGS in \
- *\\[\ \ ]*) \
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
- *) \
- for am__flg in $$MAKEFLAGS; do \
- case $$am__flg in \
- *=*|--*) ;; \
- *n*) am__dry=yes; break;; \
- esac; \
- done;; \
- esac; \
- test $$am__dry = yes; \
- }
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@TESTS = run-test.sh \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ run-test-systemserver.sh
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@noinst_PROGRAMS = test-pending-call-dispatch$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-pending-call-timeout$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-threads-init$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-ids$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-shutdown$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-privserver$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-privserver-client$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-autolaunch$(EXEEXT)
-subdir = test/name-test
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/as-ac-expand.m4 \
- $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/libtool.m4 \
- $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
- $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
- $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/tp-compiler-flag.m4 \
- $(top_srcdir)/m4/tp-compiler-warnings.m4 \
- $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-PROGRAMS = $(noinst_PROGRAMS)
-test_autolaunch_SOURCES = test-autolaunch.c
-test_autolaunch_OBJECTS = test-autolaunch.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_autolaunch_DEPENDENCIES = ../libdbus-testutils-internal.la
-AM_V_lt = $(am__v_lt_@AM_V@)
-am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
-am__v_lt_0 = --silent
-test_ids_SOURCES = test-ids.c
-test_ids_OBJECTS = test-ids.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_ids_DEPENDENCIES = $(top_builddir)/dbus/libdbus-internal.la
-test_pending_call_dispatch_SOURCES = test-pending-call-dispatch.c
-test_pending_call_dispatch_OBJECTS = \
- test-pending-call-dispatch.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_pending_call_dispatch_DEPENDENCIES = $(top_builddir)/dbus/libdbus-internal.la
-test_pending_call_timeout_SOURCES = test-pending-call-timeout.c
-test_pending_call_timeout_OBJECTS = \
- test-pending-call-timeout.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_pending_call_timeout_DEPENDENCIES = $(top_builddir)/dbus/libdbus-internal.la
-test_privserver_SOURCES = test-privserver.c
-test_privserver_OBJECTS = test-privserver.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_privserver_DEPENDENCIES = ../libdbus-testutils-internal.la
-test_privserver_client_SOURCES = test-privserver-client.c
-test_privserver_client_OBJECTS = test-privserver-client.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_privserver_client_DEPENDENCIES = ../libdbus-testutils-internal.la
-test_shutdown_SOURCES = test-shutdown.c
-test_shutdown_OBJECTS = test-shutdown.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_shutdown_DEPENDENCIES = ../libdbus-testutils-internal.la
-test_threads_init_SOURCES = test-threads-init.c
-test_threads_init_OBJECTS = test-threads-init.$(OBJEXT)
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_threads_init_DEPENDENCIES = $(top_builddir)/dbus/libdbus-internal.la
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_@AM_V@)
-am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_@AM_V@)
-am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
-SOURCES = test-autolaunch.c test-ids.c test-pending-call-dispatch.c \
- test-pending-call-timeout.c test-privserver.c \
- test-privserver-client.c test-shutdown.c test-threads-init.c
-DIST_SOURCES = test-autolaunch.c test-ids.c \
- test-pending-call-dispatch.c test-pending-call-timeout.c \
- test-privserver.c test-privserver-client.c test-shutdown.c \
- test-threads-init.c
-am__can_run_installinfo = \
- case $$AM_UPDATE_INFO_DIR in \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
-ETAGS = etags
-CTAGS = ctags
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADT_LIBS = @ADT_LIBS@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BUILD_FILEVERSION = @BUILD_FILEVERSION@
-BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DBUS_BINDIR = @DBUS_BINDIR@
-DBUS_CONSOLE_AUTH_DIR = @DBUS_CONSOLE_AUTH_DIR@
-DBUS_CONSOLE_OWNER_FILE = @DBUS_CONSOLE_OWNER_FILE@
-DBUS_DAEMONDIR = @DBUS_DAEMONDIR@
-DBUS_DATADIR = @DBUS_DATADIR@
-DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@
-DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
-DBUS_INT16_TYPE = @DBUS_INT16_TYPE@
-DBUS_INT32_TYPE = @DBUS_INT32_TYPE@
-DBUS_INT64_CONSTANT = @DBUS_INT64_CONSTANT@
-DBUS_INT64_TYPE = @DBUS_INT64_TYPE@
-DBUS_LIBEXECDIR = @DBUS_LIBEXECDIR@
-DBUS_MAJOR_VERSION = @DBUS_MAJOR_VERSION@
-DBUS_MICRO_VERSION = @DBUS_MICRO_VERSION@
-DBUS_MINOR_VERSION = @DBUS_MINOR_VERSION@
-DBUS_PATH_OR_ABSTRACT = @DBUS_PATH_OR_ABSTRACT@
-DBUS_PREFIX = @DBUS_PREFIX@
-DBUS_SESSION_BUS_CONNECT_ADDRESS = @DBUS_SESSION_BUS_CONNECT_ADDRESS@
-DBUS_SESSION_BUS_LISTEN_ADDRESS = @DBUS_SESSION_BUS_LISTEN_ADDRESS@
-DBUS_SESSION_SOCKET_DIR = @DBUS_SESSION_SOCKET_DIR@
-DBUS_STATIC_BUILD_CPPFLAGS = @DBUS_STATIC_BUILD_CPPFLAGS@
-DBUS_SYSTEM_BUS_DEFAULT_ADDRESS = @DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@
-DBUS_SYSTEM_PID_FILE = @DBUS_SYSTEM_PID_FILE@
-DBUS_SYSTEM_SOCKET = @DBUS_SYSTEM_SOCKET@
-DBUS_TEST_DATA = @DBUS_TEST_DATA@
-DBUS_TEST_EXEC = @DBUS_TEST_EXEC@
-DBUS_UINT64_CONSTANT = @DBUS_UINT64_CONSTANT@
-DBUS_USER = @DBUS_USER@
-DBUS_VERSION = @DBUS_VERSION@
-DBUS_X_CFLAGS = @DBUS_X_CFLAGS@
-DBUS_X_LIBS = @DBUS_X_LIBS@
-DEFAULT_MESSAGE_UNIX_FDS = @DEFAULT_MESSAGE_UNIX_FDS@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DOXYGEN = @DOXYGEN@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-EXPANDED_BINDIR = @EXPANDED_BINDIR@
-EXPANDED_DATADIR = @EXPANDED_DATADIR@
-EXPANDED_LIBDIR = @EXPANDED_LIBDIR@
-EXPANDED_LIBEXECDIR = @EXPANDED_LIBEXECDIR@
-EXPANDED_LOCALSTATEDIR = @EXPANDED_LOCALSTATEDIR@
-EXPANDED_PREFIX = @EXPANDED_PREFIX@
-EXPANDED_SYSCONFDIR = @EXPANDED_SYSCONFDIR@
-FGREP = @FGREP@
-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
-GLIB_CFLAGS = @GLIB_CFLAGS@
-GLIB_LIBS = @GLIB_LIBS@
-GREP = @GREP@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LAUNCHCTL = @LAUNCHCTL@
-LAUNCHD_AGENT_DIR = @LAUNCHD_AGENT_DIR@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LIBDBUS_LIBS = @LIBDBUS_LIBS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-LT_AGE = @LT_AGE@
-LT_CURRENT = @LT_CURRENT@
-LT_REVISION = @LT_REVISION@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MKDIR_P = @MKDIR_P@
-NETWORK_libs = @NETWORK_libs@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-PYTHON = @PYTHON@
-PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
-PYTHON_PLATFORM = @PYTHON_PLATFORM@
-PYTHON_PREFIX = @PYTHON_PREFIX@
-PYTHON_VERSION = @PYTHON_VERSION@
-RANLIB = @RANLIB@
-RC = @RC@
-R_DYNAMIC_LDFLAG = @R_DYNAMIC_LDFLAG@
-SED = @SED@
-SELINUX_LIBS = @SELINUX_LIBS@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
-SYSTEMD_LIBS = @SYSTEMD_LIBS@
-TEST_LAUNCH_HELPER_BINARY = @TEST_LAUNCH_HELPER_BINARY@
-TEST_LISTEN = @TEST_LISTEN@
-TEST_SOCKET_DIR = @TEST_SOCKET_DIR@
-THREAD_LIBS = @THREAD_LIBS@
-VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
-VALGRIND_LIBS = @VALGRIND_LIBS@
-VERSION = @VERSION@
-WINDRES = @WINDRES@
-XMKMF = @XMKMF@
-XMLTO = @XMLTO@
-XML_CFLAGS = @XML_CFLAGS@
-XML_LIBS = @XML_LIBS@
-XSLTPROC = @XSLTPROC@
-X_CFLAGS = @X_CFLAGS@
-X_EXTRA_LIBS = @X_EXTRA_LIBS@
-X_LIBS = @X_LIBS@
-X_PRE_LIBS = @X_PRE_LIBS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-pkgpyexecdir = @pkgpyexecdir@
-pkgpythondir = @pkgpythondir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-pyexecdir = @pyexecdir@
-pythondir = @pythondir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-systemdsystemunitdir = @systemdsystemunitdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Everything in this directory is statically-linked to libdbus-internal
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -DDBUS_COMPILATION \
- -DDBUS_STATIC_BUILD \
- -DDBUS_TEST_USE_INTERNAL \
- $(NULL)
-
-
-# if assertions are enabled, improve backtraces
-AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@TESTS_ENVIRONMENT = \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ DBUS_TOP_BUILDDIR=@abs_top_builddir@ \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ DBUS_TOP_SRCDIR=@abs_top_srcdir@ \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ PYTHON=@PYTHON@ \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ DBUS_TEST_DATA=@abs_top_builddir@/test/data \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT) \
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ $(NULL)
-
-EXTRA_DIST = run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_pending_call_dispatch_LDADD = $(top_builddir)/dbus/libdbus-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_pending_call_timeout_LDADD = $(top_builddir)/dbus/libdbus-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_threads_init_LDADD = $(top_builddir)/dbus/libdbus-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_ids_LDADD = $(top_builddir)/dbus/libdbus-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_shutdown_LDADD = ../libdbus-testutils-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_privserver_LDADD = ../libdbus-testutils-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_privserver_client_LDADD = ../libdbus-testutils-internal.la
-@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_autolaunch_LDADD = ../libdbus-testutils-internal.la
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- && { if test -f $@; then exit 0; else break; fi; }; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/name-test/Makefile'; \
- $(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --gnu test/name-test/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-clean-noinstPROGRAMS:
- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
- echo " rm -f" $$list; \
- rm -f $$list || exit $$?; \
- test -n "$(EXEEXT)" || exit 0; \
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f" $$list; \
- rm -f $$list
-test-autolaunch$(EXEEXT): $(test_autolaunch_OBJECTS) $(test_autolaunch_DEPENDENCIES) $(EXTRA_test_autolaunch_DEPENDENCIES)
- @rm -f test-autolaunch$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_autolaunch_OBJECTS) $(test_autolaunch_LDADD) $(LIBS)
-test-ids$(EXEEXT): $(test_ids_OBJECTS) $(test_ids_DEPENDENCIES) $(EXTRA_test_ids_DEPENDENCIES)
- @rm -f test-ids$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_ids_OBJECTS) $(test_ids_LDADD) $(LIBS)
-test-pending-call-dispatch$(EXEEXT): $(test_pending_call_dispatch_OBJECTS) $(test_pending_call_dispatch_DEPENDENCIES) $(EXTRA_test_pending_call_dispatch_DEPENDENCIES)
- @rm -f test-pending-call-dispatch$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_pending_call_dispatch_OBJECTS) $(test_pending_call_dispatch_LDADD) $(LIBS)
-test-pending-call-timeout$(EXEEXT): $(test_pending_call_timeout_OBJECTS) $(test_pending_call_timeout_DEPENDENCIES) $(EXTRA_test_pending_call_timeout_DEPENDENCIES)
- @rm -f test-pending-call-timeout$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_pending_call_timeout_OBJECTS) $(test_pending_call_timeout_LDADD) $(LIBS)
-test-privserver$(EXEEXT): $(test_privserver_OBJECTS) $(test_privserver_DEPENDENCIES) $(EXTRA_test_privserver_DEPENDENCIES)
- @rm -f test-privserver$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_privserver_OBJECTS) $(test_privserver_LDADD) $(LIBS)
-test-privserver-client$(EXEEXT): $(test_privserver_client_OBJECTS) $(test_privserver_client_DEPENDENCIES) $(EXTRA_test_privserver_client_DEPENDENCIES)
- @rm -f test-privserver-client$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_privserver_client_OBJECTS) $(test_privserver_client_LDADD) $(LIBS)
-test-shutdown$(EXEEXT): $(test_shutdown_OBJECTS) $(test_shutdown_DEPENDENCIES) $(EXTRA_test_shutdown_DEPENDENCIES)
- @rm -f test-shutdown$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_shutdown_OBJECTS) $(test_shutdown_LDADD) $(LIBS)
-test-threads-init$(EXEEXT): $(test_threads_init_OBJECTS) $(test_threads_init_DEPENDENCIES) $(EXTRA_test_threads_init_DEPENDENCIES)
- @rm -f test-threads-init$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(test_threads_init_OBJECTS) $(test_threads_init_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-autolaunch.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ids.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pending-call-dispatch.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pending-call-timeout.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-privserver-client.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-privserver.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-shutdown.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-threads-init.Po@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- set x; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- shift; \
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- if test $$# -gt 0; then \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- "$$@" $$unique; \
- else \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$unique; \
- fi; \
- fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && $(am__cd) $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
- fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
- else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
- fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
- else \
- skipped="($$skip tests were not run)"; \
- fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d "$(distdir)/$$file"; then \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- test -f "$(distdir)/$$file" \
- || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
-check-am: all-am
- $(MAKE) $(AM_MAKEFLAGS) check-TESTS
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- if test -z '$(STRIP)'; then \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- install; \
- else \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
- mostlyclean-am
-
-distclean: distclean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: check-am install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
- clean-generic clean-libtool clean-noinstPROGRAMS ctags \
- distclean distclean-compile distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/run-test-systemserver.sh b/src/3rd_party/dbus-1.7.8/test/name-test/run-test-systemserver.sh
deleted file mode 100755
index afd1f045d9..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/run-test-systemserver.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#! /bin/sh
-die()
-{
- if ! test -z "$DBUS_SESSION_BUS_PID" ; then
- echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
- kill -9 $DBUS_SESSION_BUS_PID
- fi
- echo $SCRIPTNAME: $* >&2
-
- exit 1
-}
-
-SCRIPTNAME=$0
-MODE=$1
-
-## so the tests can complain if you fail to use the script to launch them
-DBUS_TEST_NAME_RUN_TEST_SCRIPT=1
-export DBUS_TEST_NAME_RUN_TEST_SCRIPT
-
-SOURCE_CONFIG_FILE=$DBUS_TOP_SRCDIR/test/name-test/tmp-session-like-system.conf
-export SOURCE_CONFIG_FILE
-# Rerun ourselves with tmp session bus if we're not already
-if test -z "$DBUS_TEST_NAME_IN_SYS_RUN_TEST"; then
- DBUS_TEST_NAME_IN_SYS_RUN_TEST=1
- export DBUS_TEST_NAME_IN_SYS_RUN_TEST
- exec $DBUS_TOP_SRCDIR/tools/run-with-tmp-session-bus.sh $SCRIPTNAME $MODE
-fi
-
-if test -n "$DBUS_TEST_MONITOR"; then
- dbus-monitor --session &
-fi
-
-echo "running test-expected-echo-fail"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/tools/dbus-send --print-reply --dest=org.freedesktop.DBus.TestSuiteEchoService /org/freedesktop/TestSuite org.freedesktop.TestSuite.Echo string:hi >echo-error-output.tmp 2>&1
-if ! grep -q 'DBus.Error' echo-error-output.tmp; then
- echo "Didn't get expected failure; output was:"
- echo "====="
- cat echo-error-output.tmp
- echo "====="
- exit 1
-fi
-
-echo "running test echo signal"
-if test "x$PYTHON" = "x:"; then
- echo "Skipped test-echo-signal: Python interpreter not found"
-elif ! $PYTHON $DBUS_TOP_SRCDIR/test/name-test/test-wait-for-echo.py; then
- echo "Failed test-wait-for-echo"
- exit 1
-fi
-
-exit 0
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/run-test.sh b/src/3rd_party/dbus-1.7.8/test/name-test/run-test.sh
deleted file mode 100755
index cad5937ea2..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/run-test.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#! /bin/sh
-
-die()
-{
- if ! test -z "$DBUS_SESSION_BUS_PID" ; then
- echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
- kill -9 $DBUS_SESSION_BUS_PID
- fi
- echo $SCRIPTNAME: $* >&2
-
- exit 1
-}
-
-
-SCRIPTNAME=$0
-MODE=$1
-
-## so the tests can complain if you fail to use the script to launch them
-DBUS_TEST_NAME_RUN_TEST_SCRIPT=1
-export DBUS_TEST_NAME_RUN_TEST_SCRIPT
-
-# Rerun ourselves with tmp session bus if we're not already
-if test -z "$DBUS_TEST_NAME_IN_RUN_TEST"; then
- DBUS_TEST_NAME_IN_RUN_TEST=1
- export DBUS_TEST_NAME_IN_RUN_TEST
- exec $DBUS_TOP_SRCDIR/tools/run-with-tmp-session-bus.sh $SCRIPTNAME $MODE
-fi
-
-if test -n "$DBUS_TEST_MONITOR"; then
- dbus-monitor --session &
-fi
-
-echo "running test-ids"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-ids || die "test-ids failed"
-
-echo "running test-pending-call-dispatch"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-pending-call-dispatch || die "test-pending-call-dispatch failed"
-
-echo "running test-pending-call-timeout"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-pending-call-timeout || die "test-pending-call-timeout failed"
-
-echo "running test-threads-init"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-threads-init || die "test-threads-init failed"
-
-echo "running test-privserver-client"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-privserver-client || die "test-privserver-client failed"
-
-echo "running test-shutdown"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-shutdown || die "test-shutdown failed"
-
-echo "running test activation forking"
-if test "x$PYTHON" = "x:"; then
- echo "Skipped test-activation-forking: Python interpreter not found"
-elif ! $PYTHON $DBUS_TOP_SRCDIR/test/name-test/test-activation-forking.py; then
- echo "Failed test-activation-forking"
- exit 1
-fi
-
-echo "running test-autolaunch"
-${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-autolaunch || die "test-autolaunch failed"
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-activation-forking.py b/src/3rd_party/dbus-1.7.8/test/name-test/test-activation-forking.py
deleted file mode 100644
index 0d820754cf..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-activation-forking.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env python
-
-import os,sys
-
-try:
- import gobject
- import dbus
- import dbus.mainloop.glib
-except:
- print "Failed import, aborting test"
- sys.exit(0)
-
-dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
-loop = gobject.MainLoop()
-
-exitcode = 0
-
-bus = dbus.SessionBus()
-bus_iface = dbus.Interface(bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus'), 'org.freedesktop.DBus')
-
-o = bus.get_object('org.freedesktop.DBus.TestSuiteForkingEchoService', '/org/freedesktop/TestSuite')
-i = dbus.Interface(o, 'org.freedesktop.TestSuite')
-
-# Start it up
-reply = i.Echo("hello world")
-print "TestSuiteForkingEchoService initial reply OK"
-
-def ignore(*args, **kwargs):
- pass
-
-# Now monitor for exits, when that happens, start it up again.
-# The goal here is to try to hit any race conditions in activation.
-counter = 0
-def on_forking_echo_owner_changed(name, old, new):
- global counter
- global o
- global i
- if counter > 10:
- print "Activated 10 times OK, TestSuiteForkingEchoService pass"
- loop.quit()
- return
- counter += 1
- if new == '':
- o = bus.get_object('org.freedesktop.DBus.TestSuiteForkingEchoService', '/org/freedesktop/TestSuite')
- i = dbus.Interface(o, 'org.freedesktop.TestSuite')
- i.Echo("counter %r" % counter)
- i.Exit(reply_handler=ignore, error_handler=ignore)
-
-bus_iface.connect_to_signal('NameOwnerChanged', on_forking_echo_owner_changed, arg0='org.freedesktop.DBus.TestSuiteForkingEchoService')
-
-i.Exit(reply_handler=ignore, error_handler=ignore)
-
-def check_counter():
- if counter == 0:
- print "Failed to get NameOwnerChanged for TestSuiteForkingEchoService"
- sys.exit(1)
-gobject.timeout_add(15000, check_counter)
-
-loop.run()
-sys.exit(0)
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-autolaunch.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-autolaunch.c
deleted file mode 100644
index 8b5206a684..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-autolaunch.c
+++ /dev/null
@@ -1,53 +0,0 @@
-#include "config.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#include <dbus/dbus.h>
-#include "dbus/dbus-sysdeps.h"
-
-int
-main (int argc, char *argv[])
-{
- DBusConnection *conn = NULL;
- DBusError error;
-
- dbus_setenv ("DBUS_SESSION_BUS_ADDRESS", NULL);
-
- dbus_error_init (&error);
-
- conn = dbus_bus_get (DBUS_BUS_SESSION, &error);
-
-#ifdef DBUS_ENABLE_X11_AUTOLAUNCH
- /* If X11 autolaunch was enabled, we expect dbus-launch to have worked. */
- if (_dbus_getenv ("DISPLAY") != NULL && dbus_error_is_set (&error))
- {
- fprintf (stderr, "*** Failed to autolaunch session bus: %s\n",
- error.message);
- dbus_error_free (&error);
- return 1;
- }
-#endif
-
- /* We don't necessarily expect it to *work* without X (although it might -
- * for instance on Mac OS it might have used launchd). Just check that the
- * results are consistent. */
-
- if (dbus_error_is_set (&error) && conn != NULL)
- {
- fprintf (stderr, "*** Autolaunched session bus, but an error was set!\n");
- return 1;
- }
-
- if (!dbus_error_is_set (&error) && conn == NULL)
- {
- fprintf (stderr, "*** Failed to autolaunch session bus but no error was set\n");
- return 1;
- }
-
- return 0;
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-ids.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-ids.c
deleted file mode 100644
index 8f63d04420..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-ids.c
+++ /dev/null
@@ -1,56 +0,0 @@
-#include <config.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-connection-internal.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-static void
-die (const char *message)
-{
- fprintf (stderr, "*** test-ids: %s", message);
- exit (1);
-}
-
-int
-main (int argc,
- char **argv)
-{
- DBusError error;
- DBusConnection *connection;
- char *id;
- char *server_id;
-
- dbus_error_init (&error);
- connection = dbus_bus_get (DBUS_BUS_SESSION, &error);
- if (connection == NULL)
- {
- fprintf (stderr, "*** Failed to open connection to system bus: %s\n",
- error.message);
- dbus_error_free (&error);
- return 1;
- }
-
- server_id = dbus_connection_get_server_id (connection);
- if (server_id == NULL)
- die ("No bus server ID retrieved\n");
- /* printf("'%s'\n", server_id); */
- if (strlen (server_id) != 32)
- die ("Bus server id should have length 32\n");
- dbus_free (server_id);
-
- id = dbus_bus_get_id (connection, NULL);
- if (id == NULL)
- die ("No bus ID retrieved\n");
- /* printf("'%s'\n", id); */
- if (strlen (id) != 32)
- die ("Bus ID should have length 32\n");
- dbus_free (id);
-
- _dbus_verbose ("*** Test IDs exiting\n");
-
- return 0;
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-dispatch.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-dispatch.c
deleted file mode 100644
index c8b5a46783..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-dispatch.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
-* Test to make sure we don't get stuck polling a dbus connection
-* which has no data on the socket. This was an issue where
-* one pending call would read all the data off the bus
-* and the second pending call would not check to see
-* if its data had already been read before polling the connection
-* and blocking.
-**/
-
-#include <config.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-sysdeps.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-static void
-_run_iteration (DBusConnection *conn)
-{
- DBusPendingCall *echo_pending;
- DBusPendingCall *dbus_pending;
- DBusMessage *method;
- DBusMessage *reply;
- char *echo = "echo";
-
- /* send the first message */
- method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "Echo");
-
- dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL);
- dbus_connection_send_with_reply (conn, method, &echo_pending, -1);
- dbus_message_unref (method);
-
- /* send the second message */
- method = dbus_message_new_method_call (DBUS_SERVICE_DBUS,
- DBUS_PATH_DBUS,
- "org.freedesktop.Introspectable",
- "Introspect");
-
- dbus_connection_send_with_reply (conn, method, &dbus_pending, -1);
- dbus_message_unref (method);
-
- /* block on the second message (should return immediately) */
- dbus_pending_call_block (dbus_pending);
-
- /* block on the first message */
- /* if it does not return immediately chances
- are we hit the block in poll bug */
- dbus_pending_call_block (echo_pending);
-
- /* check the reply only to make sure we
- are not getting errors unrelated
- to the block in poll bug */
- reply = dbus_pending_call_steal_reply (echo_pending);
-
- if (reply == NULL)
- {
- printf ("Failed: Reply is NULL ***\n");
- exit (1);
- }
-
- if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
- {
- printf ("Failed: Reply is error: %s ***\n", dbus_message_get_error_name (reply));
- exit (1);
- }
-
- dbus_message_unref (reply);
- dbus_pending_call_unref (dbus_pending);
- dbus_pending_call_unref (echo_pending);
-
-}
-
-int
-main (int argc, char *argv[])
-{
- long start_tv_sec, start_tv_usec;
- long end_tv_sec, end_tv_usec;
- int i;
- DBusMessage *method;
- DBusConnection *conn;
- DBusError error;
-
- /* Time each iteration and make sure it doesn't take more than 5 seconds
- to complete. Outside influences may cause connections to take longer
- but if it does and we are stuck in a poll call then we know the
- stuck in poll bug has come back to haunt us */
-
- printf ("*** Testing stuck in poll\n");
-
- dbus_error_init (&error);
-
- conn = dbus_bus_get (DBUS_BUS_SESSION, &error);
-
- /* run 100 times to make sure */
- for (i = 0; i < 100; i++)
- {
- long delta;
-
- _dbus_get_monotonic_time (&start_tv_sec, &start_tv_usec);
- _run_iteration (conn);
- _dbus_get_monotonic_time (&end_tv_sec, &end_tv_usec);
-
- /* we just care about seconds */
- delta = end_tv_sec - start_tv_sec;
- printf ("Iter %i: %lis\n", i, delta);
- if (delta >= 5)
- {
- printf ("Failed: looks like we might have been be stuck in poll ***\n");
- exit (1);
- }
- }
-
- method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "Exit");
- dbus_connection_send (conn, method, NULL);
- dbus_message_unref (method);
-
- printf ("Success ***\n");
- exit (0);
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-timeout.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-timeout.c
deleted file mode 100644
index d051faba95..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-pending-call-timeout.c
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
-* Test to make sure that pending calls succeed when given a default,
-* specific and infinite timeout.
-**/
-
-#include <config.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-sysdeps.h>
-#include <stdio.h>
-#include <limits.h>
-#include <stdlib.h>
-
-static void
-_method_call (DBusConnection *conn,
- int timeout_milliseconds)
-{
- DBusPendingCall *pending;
- DBusMessage *method;
- DBusMessage *reply;
- char *echo = "echo";
-
- /* send the message */
- method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "DelayEcho");
-
- dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL);
- dbus_connection_send_with_reply (conn, method, &pending, timeout_milliseconds);
- dbus_message_unref (method);
-
- /* block on the message */
- dbus_pending_call_block (pending);
-
- /* check the reply only to make sure we
- are not getting errors unrelated
- to the block in poll bug */
- reply = dbus_pending_call_steal_reply (pending);
-
- if (reply == NULL)
- {
- printf ("Failed: Reply is NULL ***\n");
- exit (1);
- }
-
- if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
- {
- printf ("Failed: Reply is error: %s ***\n", dbus_message_get_error_name (reply));
- exit (1);
- }
-
- dbus_message_unref (reply);
- dbus_pending_call_unref (pending);
-}
-
-static void
-_run_iteration (DBusConnection *conn)
-{
- _method_call (conn, -1);
- _method_call (conn, 10000);
- _method_call (conn, INT_MAX);
-}
-
-int
-main (int argc, char *argv[])
-{
- long start_tv_sec, start_tv_usec;
- long end_tv_sec, end_tv_usec;
- int i;
- DBusMessage *method;
- DBusConnection *conn;
- DBusError error;
-
- printf ("*** Testing pending call timeouts\n");
-
- dbus_error_init (&error);
-
- conn = dbus_bus_get (DBUS_BUS_SESSION, &error);
-
- /* run 100 times to make sure */
- for (i = 0; i < 100; i++)
- {
- long delta;
-
- _dbus_get_monotonic_time (&start_tv_sec, &start_tv_usec);
- _run_iteration (conn);
- _dbus_get_monotonic_time (&end_tv_sec, &end_tv_usec);
-
- /* we just care about seconds */
- delta = end_tv_sec - start_tv_sec;
- printf ("Iter %i: %lis\n", i, delta);
- }
-
- method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "Exit");
- dbus_connection_send (conn, method, NULL);
- dbus_message_unref (method);
-
- printf ("Success ***\n");
- exit (0);
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver-client.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver-client.c
deleted file mode 100644
index e7f48960a8..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver-client.c
+++ /dev/null
@@ -1,168 +0,0 @@
-#include <config.h>
-#include "../test-utils.h"
-
-static void
-die (const char *message, ...)
-{
- va_list args;
- va_start (args, message);
- vfprintf (stderr, message, args);
- va_end (args);
- exit (1);
-}
-
-#define PRIVSERVER_SERVICE "org.freedesktop.DBus.TestSuite.PrivServer"
-#define PRIVSERVER_INTERFACE PRIVSERVER_SERVICE
-#define PRIVSERVER_DIED_RULE \
- "type='signal',sender='" DBUS_SERVICE_DBUS "'," \
- "interface='" DBUS_INTERFACE_DBUS "',member='NameOwnerChanged'," \
- "arg0='" PRIVSERVER_SERVICE "',arg2=''"
-
-static DBusHandlerResult
-filter_session_message (DBusConnection *connection,
- DBusMessage *message,
- void *user_data)
-{
- dbus_bool_t *service_died_p = user_data;
- const char *name, *old_owner, *new_owner;
-
- if (dbus_message_is_signal (message,
- DBUS_INTERFACE_DBUS,
- "NameOwnerChanged") &&
- dbus_message_has_sender (message, DBUS_SERVICE_DBUS) &&
- dbus_message_get_args (message, NULL,
- DBUS_TYPE_STRING, &name,
- DBUS_TYPE_STRING, &old_owner,
- DBUS_TYPE_STRING, &new_owner,
- DBUS_TYPE_INVALID) &&
- strcmp (name, PRIVSERVER_SERVICE) == 0 &&
- old_owner[0] != '\0' &&
- new_owner[0] == '\0')
- {
- *service_died_p = TRUE;
- }
-
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
-static DBusHandlerResult
-filter_private_message (DBusConnection *connection,
- DBusMessage *message,
- void *user_data)
-{
- dbus_bool_t *private_conn_lost_p = user_data;
-
- if (dbus_message_is_signal (message,
- DBUS_INTERFACE_LOCAL,
- "Disconnected"))
- {
- *private_conn_lost_p = TRUE;
- }
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
-static void
-open_shutdown_private_connection (dbus_bool_t use_guid)
-{
- DBusError error;
- DBusLoop *loop;
- DBusConnection *session;
- DBusMessage *msg;
- DBusMessage *reply;
- DBusConnection *privconn;
- char *addr;
- dbus_bool_t service_died;
- dbus_bool_t private_conn_lost;
-
- dbus_error_init (&error);
- service_died = FALSE;
- private_conn_lost = FALSE;
-
- loop = _dbus_loop_new ();
-
- session = dbus_bus_get (DBUS_BUS_SESSION, &error);
- if (!session)
- die ("couldn't access session bus\n");
- dbus_connection_set_exit_on_disconnect (session, FALSE);
- test_connection_setup (loop, session);
-
- dbus_bus_add_match (session, PRIVSERVER_DIED_RULE, &error);
- if (dbus_error_is_set (&error))
- die ("couldn't add match rule \"%s\": %s: %s", PRIVSERVER_DIED_RULE,
- error.name, error.message);
-
- if (!dbus_connection_add_filter (session, filter_session_message,
- &service_died, NULL))
- die ("couldn't add filter to session bus\n");
-
- msg = dbus_message_new_method_call (PRIVSERVER_SERVICE, "/",
- PRIVSERVER_INTERFACE, "GetPrivateAddress");
- if (!(reply = dbus_connection_send_with_reply_and_block (session, msg, -1, &error)))
- die ("couldn't send message: %s\n", error.message);
- dbus_message_unref (msg);
- if (!dbus_message_get_args (reply, &error, DBUS_TYPE_STRING, &addr, DBUS_TYPE_INVALID))
- die ("couldn't parse message replym\n");
- printf ("got private temp address %s\n", addr);
- addr = strdup (addr);
- if (!use_guid)
- {
- char *comma = strrchr (addr, ',');
- if (comma)
- *comma = '\0';
- }
- privconn = dbus_connection_open (addr, &error);
- free (addr);
- if (!privconn)
- die ("couldn't connect to server direct connection: %s\n", error.message);
- dbus_message_unref (reply);
-
- dbus_connection_set_exit_on_disconnect (privconn, FALSE);
- if (!dbus_connection_add_filter (privconn, filter_private_message,
- &private_conn_lost, NULL))
- die ("couldn't add filter to private connection\n");
- test_connection_setup (loop, privconn);
-
- msg = dbus_message_new_method_call (PRIVSERVER_SERVICE, "/",
- PRIVSERVER_INTERFACE, "Quit");
- if (!dbus_connection_send (session, msg, NULL))
- die ("couldn't send Quit message\n");
- dbus_message_unref (msg);
-
- while (!service_died || !private_conn_lost)
- _dbus_loop_iterate (loop, TRUE);
-
- dbus_connection_remove_filter (session, filter_session_message,
- &service_died);
- dbus_bus_remove_match (session, PRIVSERVER_DIED_RULE, NULL);
- test_connection_shutdown (loop, session);
- dbus_connection_unref (session);
-
- test_connection_shutdown (loop, privconn);
- dbus_connection_remove_filter (privconn, filter_private_message,
- &private_conn_lost);
- dbus_connection_unref (privconn);
-
- _dbus_loop_unref (loop);
-}
-
-int
-main (int argc, char *argv[])
-{
- open_shutdown_private_connection (TRUE);
-
- dbus_shutdown ();
-
- open_shutdown_private_connection (TRUE);
-
- dbus_shutdown ();
-
- open_shutdown_private_connection (FALSE);
-
- dbus_shutdown ();
-
- open_shutdown_private_connection (FALSE);
-
- dbus_shutdown ();
-
- return 0;
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver.c
deleted file mode 100644
index 39a98b7f0d..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-privserver.c
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <config.h>
-#include "../test-utils.h"
-
-static void
-die (const char *message, ...)
-{
- va_list args;
- va_start (args, message);
- vfprintf (stderr, message, args);
- va_end (args);
- exit (1);
-}
-
-typedef struct TestServiceData TestServiceData;
-
-struct TestServiceData
-{
- DBusLoop *loop;
- char *private_addr;
-};
-
-static void
-new_connection_callback (DBusServer *server,
- DBusConnection *new_connection,
- void *data)
-{
- TestServiceData *testdata = data;
-
- if (!test_connection_setup (testdata->loop, new_connection))
- dbus_connection_close (new_connection);
-}
-
-static DBusHandlerResult
-filter_session_message (DBusConnection *connection,
- DBusMessage *message,
- void *user_data)
-{
- TestServiceData *testdata = user_data;
-
- if (dbus_message_is_method_call (message,
- "org.freedesktop.DBus.TestSuite.PrivServer",
- "GetPrivateAddress"))
- {
- DBusMessage *reply;
- reply = dbus_message_new_method_return (message);
- dbus_message_append_args (reply, DBUS_TYPE_STRING,
- &(testdata->private_addr), DBUS_TYPE_INVALID);
- dbus_connection_send (connection, reply, NULL);
- dbus_message_unref (reply);
- return DBUS_HANDLER_RESULT_HANDLED;
- }
- else if (dbus_message_is_method_call (message,
- "org.freedesktop.DBus.TestSuite.PrivServer",
- "Quit"))
- {
- fprintf (stderr, "server exiting loop\n");
- _dbus_loop_quit (testdata->loop);
- return DBUS_HANDLER_RESULT_HANDLED;
- }
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
-int
-main (int argc, char *argv[])
-{
- DBusServer *server;
- DBusError error;
- DBusLoop *loop;
- DBusConnection *session;
- TestServiceData *testdata;
-
- dbus_error_init (&error);
-
- loop = _dbus_loop_new ();
-
- testdata = dbus_new (TestServiceData, 1);
- testdata->loop = loop;
-
- session = dbus_bus_get (DBUS_BUS_SESSION, &error);
- if (!session)
- die ("couldn't access session bus");
-
- test_connection_setup (loop, session);
-
- dbus_bus_request_name (session, "org.freedesktop.DBus.TestSuite.PrivServer", 0, &error);
- if (dbus_error_is_set (&error))
- die ("couldn't request name: %s", error.message);
-
- if (!dbus_connection_add_filter (session, filter_session_message, testdata, NULL))
- die ("couldn't add filter");
-
-#ifdef DBUS_CMAKE
- server = dbus_server_listen (TEST_LISTEN, &error);
-#else
- server = dbus_server_listen ("unix:tmpdir=/tmp", &error);
-#endif
- if (!server)
- die (error.message);
- testdata->private_addr = dbus_server_get_address (server);
- printf ("test server listening on %s\n", testdata->private_addr);
-
- dbus_server_set_new_connection_function (server, new_connection_callback,
- testdata, NULL);
-
- if (!test_server_setup (loop, server))
- die ("server setup failed");
-
- fprintf (stderr, "server running mainloop\n");
- _dbus_loop_run (loop);
- fprintf (stderr, "server mainloop quit\n");
-
- test_server_shutdown (loop, server);
-
- test_connection_shutdown (loop, session);
-
- dbus_connection_unref (session);
-
- _dbus_loop_unref (loop);
-
- dbus_free (testdata);
-
- return 0;
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-shutdown.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-shutdown.c
deleted file mode 100644
index 526c1cbc52..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-shutdown.c
+++ /dev/null
@@ -1,68 +0,0 @@
-
-#include <config.h>
-#include "../test-utils.h"
-
-static DBusLoop *loop;
-
-static void
-die (const char *message)
-{
- fprintf (stderr, "*** test-shutdown: %s", message);
- exit (1);
-}
-
-static void
-open_destroy_shared_session_bus_connection (void)
-{
- DBusError error;
- DBusConnection *connection;
- char *session_addr_no_guid;
- char *comma;
-
- dbus_error_init (&error);
-
- session_addr_no_guid = strdup (getenv ("DBUS_SESSION_BUS_ADDRESS"));
- comma = strchr (session_addr_no_guid, ',');
- if (comma == NULL)
- die ("Couldn't find GUID in session bus address");
- *comma = '\0';
-
- connection = dbus_connection_open (session_addr_no_guid, &error);
- free (session_addr_no_guid);
- if (connection == NULL)
- die ("Failed to open connection to temp session bus\n");
-
- loop = _dbus_loop_new ();
- if (loop == NULL)
- die ("No memory\n");
-
- if (!test_connection_setup (loop, connection))
- die ("No memory\n");
-
- test_connection_shutdown (loop, connection);
-
- _dbus_loop_unref (loop);
-
- dbus_connection_unref (connection);
-}
-
-int
-main (int argc,
- char **argv)
-{
- open_destroy_shared_session_bus_connection ();
-
- dbus_shutdown ();
-
- open_destroy_shared_session_bus_connection ();
-
- dbus_shutdown ();
-
- open_destroy_shared_session_bus_connection ();
-
- dbus_shutdown ();
-
- _dbus_verbose ("*** Test shutdown exiting\n");
-
- return 0;
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-threads-init.c b/src/3rd_party/dbus-1.7.8/test/name-test/test-threads-init.c
deleted file mode 100644
index 580ffe1444..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-threads-init.c
+++ /dev/null
@@ -1,184 +0,0 @@
-/**
- * Test to make sure late thread initialization works
- */
-
-#include <config.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-sysdeps.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <dbus/dbus-internals.h>
-#include <dbus/dbus-connection-internal.h>
-
-static void
-_run_iteration (DBusConnection *conn)
-{
- DBusPendingCall *echo_pending;
- DBusPendingCall *dbus_pending;
- DBusMessage *method;
- DBusMessage *reply;
- char *echo = "echo";
-
- /* send the first message */
- method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "Echo");
-
- dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL);
- dbus_connection_send_with_reply (conn, method, &echo_pending, -1);
- dbus_message_unref (method);
-
- /* send the second message */
- method = dbus_message_new_method_call (DBUS_SERVICE_DBUS,
- DBUS_PATH_DBUS,
- "org.freedesktop.Introspectable",
- "Introspect");
-
- dbus_connection_send_with_reply (conn, method, &dbus_pending, -1);
- dbus_message_unref (method);
-
- /* block on the second message (should return immediately) */
- dbus_pending_call_block (dbus_pending);
-
- /* block on the first message */
- /* if it does not return immediately chances
- are we hit the block in poll bug */
- dbus_pending_call_block (echo_pending);
-
- /* check the reply only to make sure we
- are not getting errors unrelated
- to the block in poll bug */
- reply = dbus_pending_call_steal_reply (echo_pending);
-
- if (reply == NULL)
- {
- printf ("Failed: Reply is NULL ***\n");
- exit (1);
- }
-
- if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
- {
- printf ("Failed: Reply is error: %s ***\n", dbus_message_get_error_name (reply));
- exit (1);
- }
-
- dbus_message_unref (reply);
- dbus_pending_call_unref (dbus_pending);
- dbus_pending_call_unref (echo_pending);
-
-}
-static void
-check_mutex_lock (DBusMutex *mutex1,
- DBusMutex *mutex2,
- dbus_bool_t is_same)
-{
- _dbus_assert (mutex1 != NULL);
- _dbus_assert (mutex2 != NULL);
-
- if (is_same)
- {
- _dbus_assert (mutex1 == mutex2);
- }
- else
- {
- _dbus_assert (mutex1 != mutex2);
- }
-}
-
-static void
-check_condvar_lock (DBusCondVar *condvar1,
- DBusCondVar *condvar2,
- dbus_bool_t is_same)
-{
- _dbus_assert (condvar1 != NULL);
- _dbus_assert (condvar2 != NULL);
-
- if (is_same)
- {
- _dbus_assert (condvar1 == condvar2);
- }
- else
- {
- _dbus_assert (condvar1 != condvar2);
- }
-}
-
-
-int
-main (int argc, char *argv[])
-{
- DBusMessage *method;
- DBusConnection *conn;
- DBusError error;
- DBusMutex *mutex1, *dispatch_mutex1, *io_path_mutex1;
- DBusCondVar *dispatch_cond1, *io_path_cond1;
- DBusMutex *mutex2, *dispatch_mutex2, *io_path_mutex2;
- DBusCondVar *dispatch_cond2, *io_path_cond2;
-
- printf ("*** Testing late thread init\n");
-
- dbus_error_init (&error);
-
- conn = dbus_bus_get (DBUS_BUS_SESSION, &error);
-
- _dbus_connection_test_get_locks (conn, &mutex1,
- &dispatch_mutex1,
- &io_path_mutex1,
- &dispatch_cond1,
- &io_path_cond1);
- _run_iteration (conn);
- _dbus_connection_test_get_locks (conn, &mutex2,
- &dispatch_mutex2,
- &io_path_mutex2,
- &dispatch_cond2,
- &io_path_cond2);
-
- check_mutex_lock (mutex1, mutex2, TRUE);
- check_mutex_lock (dispatch_mutex1, dispatch_mutex2, TRUE);
- check_mutex_lock (io_path_mutex1, io_path_mutex2, TRUE);
- check_condvar_lock (dispatch_cond1, dispatch_cond2, TRUE);
- check_condvar_lock (io_path_cond1, io_path_cond2, TRUE);
-
- dbus_threads_init_default ();
-
- _dbus_connection_test_get_locks (conn, &mutex1,
- &dispatch_mutex1,
- &io_path_mutex1,
- &dispatch_cond1,
- &io_path_cond1);
-
- /* Since 1.7 it is no longer the case that mutex1 != mutex2, because
- * initializing global locks automatically initializes locks
- * in general. However, it is true that the mutex is not the dummy
- * implementation, which is what we really wanted to check here. */
- _dbus_assert (mutex1 != (DBusMutex *) 0xABCDEF);
- _dbus_assert (dispatch_mutex1 != (DBusMutex *) 0xABCDEF);
- _dbus_assert (dispatch_cond1 != (DBusCondVar *) 0xABCDEF2);
- _dbus_assert (io_path_mutex1 != (DBusMutex *) 0xABCDEF);
- _dbus_assert (io_path_cond1 != (DBusCondVar *) 0xABCDEF2);
-
- _run_iteration (conn);
- _dbus_connection_test_get_locks (conn, &mutex2,
- &dispatch_mutex2,
- &io_path_mutex2,
- &dispatch_cond2,
- &io_path_cond2);
-
- check_mutex_lock (mutex1, mutex2, TRUE);
- check_mutex_lock (dispatch_mutex1, dispatch_mutex2, TRUE);
- check_mutex_lock (io_path_mutex1, io_path_mutex2, TRUE);
- check_condvar_lock (dispatch_cond1, dispatch_cond2, TRUE);
- check_condvar_lock (io_path_cond1, io_path_cond2, TRUE);
-
- method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService",
- "/org/freedesktop/TestSuite",
- "org.freedesktop.TestSuite",
- "Exit");
- dbus_connection_send (conn, method, NULL);
- dbus_message_unref (method);
-
- printf ("Success ***\n");
- exit (0);
-}
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/test-wait-for-echo.py b/src/3rd_party/dbus-1.7.8/test/name-test/test-wait-for-echo.py
deleted file mode 100755
index bd09e4596d..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/test-wait-for-echo.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-
-import os,sys
-
-try:
- import gobject
- import dbus
- import dbus.mainloop.glib
-except:
- print "Failed import, aborting test"
- sys.exit(0)
-
-dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
-loop = gobject.MainLoop()
-
-exitcode = 0
-
-def handle_noreceipt():
- print "Failed to get signal"
- global exitcode
- exitcode = 1
- loop.quit()
-
-gobject.timeout_add(7000, handle_noreceipt)
-
-bus = dbus.SessionBus()
-
-def sighandler(*args, **kwargs):
- print "got signal"
- loop.quit()
-
-bus.add_signal_receiver(sighandler, dbus_interface='org.freedesktop.TestSuite', signal_name='Foo')
-
-o = bus.get_object('org.freedesktop.DBus.TestSuiteEchoService', '/org/freedesktop/TestSuite')
-i = dbus.Interface(o, 'org.freedesktop.TestSuite')
-def nullhandler(*args, **kwargs):
- pass
-i.EmitFoo(reply_handler=nullhandler, error_handler=nullhandler)
-
-loop.run()
-sys.exit(exitcode)
diff --git a/src/3rd_party/dbus-1.7.8/test/name-test/tmp-session-like-system.conf b/src/3rd_party/dbus-1.7.8/test/name-test/tmp-session-like-system.conf
deleted file mode 100644
index 29ab115faa..0000000000
--- a/src/3rd_party/dbus-1.7.8/test/name-test/tmp-session-like-system.conf
+++ /dev/null
@@ -1,91 +0,0 @@
-<!-- This configuration file controls the per-user-login-session message bus.
- Add a session-local.conf and edit that rather than changing this
- file directly. -->
-
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
- <!-- 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>
-
- <standard_session_servicedirs />
-
- <!-- intended to match system bus -->
- <policy context="default">
- <!-- All users can connect to system bus -->
- <allow user="*"/>
-
- <!-- Holes must be punched in service configuration files for
- name ownership and sending method calls -->
- <deny own="*"/>
- <deny send_type="method_call"/>
-
- <!-- Signals and reply messages (method returns, errors) are allowed
- by default -->
- <allow send_type="signal"/>
- <allow send_requested_reply="true" send_type="method_return"/>
- <allow send_requested_reply="true" send_type="error"/>
-
- <!-- All messages may be received by default -->
- <allow receive_type="method_call"/>
- <allow receive_type="method_return"/>
- <allow receive_type="error"/>
- <allow receive_type="signal"/>
-
- <!-- Allow anyone to talk to the message bus -->
- <allow send_destination="org.freedesktop.DBus"/>
- <!-- But disallow some specific bus services -->
- <deny send_destination="org.freedesktop.DBus"
- send_interface="org.freedesktop.DBus"
- send_member="UpdateActivationEnvironment"/>
-
- <!-- Specific to the test suite -->
- <allow own="org.freedesktop.DBus.TestSuiteEchoService"/>
- <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
- send_interface="org.freedesktop.DBus.Introspectable"/>
- <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
- send_interface="org.freedesktop.TestSuite"
- send_member="EmitFoo"/>
- </policy>
-
- <policy context="default">
- <allow own="org.freedesktop.DBus.TestSuiteEchoService"/>
- <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
- send_interface="org.freedesktop.DBus.Introspectable"/>
- <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
- send_interface="org.freedesktop.TestSuite"
- send_member="EmitFoo"/>
- </policy>
-
- <!-- For the session bus, override the default relatively-low limits
- with essentially infinite limits, since the bus is just running
- as the user anyway, using up bus resources is not something we need
- to worry about. In some cases, we do set the limits lower than
- "all available memory" if exceeding the limit is almost certainly a bug,
- having the bus enforce a limit is nicer than a huge memory leak. But the
- intent is that these limits should never be hit. -->
-
- <!-- the memory limits are 1G instead of say 4G because they can't exceed 32-bit signed int max -->
- <limit name="max_incoming_bytes">1000000000</limit>
- <limit name="max_outgoing_bytes">1000000000</limit>
- <limit name="max_message_size">1000000000</limit>
- <limit name="service_start_timeout">120000</limit>
- <limit name="auth_timeout">240000</limit>
- <limit name="max_completed_connections">100000</limit>
- <limit name="max_incomplete_connections">10000</limit>
- <limit name="max_connections_per_user">100000</limit>
- <limit name="max_pending_service_starts">10000</limit>
- <limit name="max_names_per_connection">50000</limit>
- <limit name="max_match_rules_per_connection">50000</limit>
- <limit name="max_replies_per_connection">50000</limit>
- <limit name="reply_timeout">300000</limit>
-
-</busconfig>