summaryrefslogtreecommitdiff
path: root/test/name-test/test-pending-call-dispatch.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-06-20 09:58:27 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-27 18:05:54 +0100
commit8633640ce12f0319638d9d09b9ac66c9584be69e (patch)
tree69835dd39e84bec78a4f8b2173d3172fd6ca49f2 /test/name-test/test-pending-call-dispatch.c
parent0537115e86cc3c8747c50c3e1b2bd6d435da1b88 (diff)
downloaddbus-8633640ce12f0319638d9d09b9ac66c9584be69e.tar.gz
test-pending-call-dispatch: Add copyright and license grant
According to git history, this test was written in 2006 by Red Hat employee John Palmieri and has received only trivial changes since then. Red Hat gave permission in 2007 for their contributions to be relicensed under the MIT/X11 license. We cannot take advantage of that permission to relicense the core library or the dbus-daemon from GPL-2+|AFL-2.0 to MIT/X11, because one early copyright holder (CodeFactory AB) could not be traced, but we might as well use a permissive license for simple test code that has not had CodeFactory AB contributions. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101481
Diffstat (limited to 'test/name-test/test-pending-call-dispatch.c')
-rw-r--r--test/name-test/test-pending-call-dispatch.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/name-test/test-pending-call-dispatch.c b/test/name-test/test-pending-call-dispatch.c
index a5f320b8..af80868a 100644
--- a/test/name-test/test-pending-call-dispatch.c
+++ b/test/name-test/test-pending-call-dispatch.c
@@ -1,3 +1,26 @@
+/*
+ * Copyright © 2006 Red Hat Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation files
+ * (the "Software"), to deal in the Software without restriction,
+ * including without limitation the rights to use, copy, modify, merge,
+ * publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so,
+ * subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
/**
* 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