summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-07-15 13:08:16 +0100
committerSimon McVittie <smcv@collabora.com>2019-07-15 15:51:05 +0100
commit28734ae1661ea029fa2ed06fab6a4d6cf6ade098 (patch)
treebc427f3ca4fd54b22f0e3418f5c81196589df751 /test
parent69e7c4f58e9244acfc8b23a6beaf73124bb19ce0 (diff)
downloaddbus-python-28734ae1661ea029fa2ed06fab6a4d6cf6ade098.tar.gz
Add clearer licensing information in SPDX format
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/cross-test-client.py2
-rwxr-xr-xtest/cross-test-server.py2
-rw-r--r--test/crosstest.py2
-rw-r--r--test/dbus_py_test.c2
-rw-r--r--test/import-repeatedly.c1
-rwxr-xr-xtest/run-test.sh2
-rwxr-xr-xtest/test-client.py2
-rwxr-xr-xtest/test-exception-py2.py2
-rwxr-xr-xtest/test-exception-py3.py2
-rwxr-xr-xtest/test-p2p.py2
-rwxr-xr-xtest/test-server.py2
-rwxr-xr-xtest/test-service.py2
-rwxr-xr-xtest/test-signals.py2
-rwxr-xr-xtest/test-standalone.py2
-rwxr-xr-xtest/test-unusable-main-loop.py2
-rwxr-xr-xtest/wait-for-name.py2
-rwxr-xr-xtest/with-session-bus.sh5
17 files changed, 35 insertions, 1 deletions
diff --git a/test/cross-test-client.py b/test/cross-test-client.py
index cc96023..c2da193 100755
--- a/test/cross-test-client.py
+++ b/test/cross-test-client.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/cross-test-server.py b/test/cross-test-server.py
index 30edb1c..e3edea2 100755
--- a/test/cross-test-server.py
+++ b/test/cross-test-server.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/crosstest.py b/test/crosstest.py
index 0020baf..434273c 100644
--- a/test/crosstest.py
+++ b/test/crosstest.py
@@ -2,6 +2,8 @@
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/dbus_py_test.c b/test/dbus_py_test.c
index bd2399d..f44b2ff 100644
--- a/test/dbus_py_test.c
+++ b/test/dbus_py_test.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: MIT
+ *
* 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
diff --git a/test/import-repeatedly.c b/test/import-repeatedly.c
index 2df82e9..28fe081 100644
--- a/test/import-repeatedly.c
+++ b/test/import-repeatedly.c
@@ -1,4 +1,5 @@
/* Regression test for https://bugs.freedesktop.org/show_bug.cgi?id=23831 */
+/* SPDX-License-Identifier: MIT */
#include <stdio.h>
diff --git a/test/run-test.sh b/test/run-test.sh
index da49918..97c1195 100755
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2006 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2006-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-client.py b/test/test-client.py
index 5a177b7..41ad826 100755
--- a/test/test-client.py
+++ b/test/test-client.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-exception-py2.py b/test/test-exception-py2.py
index 3633ea3..327536d 100755
--- a/test/test-exception-py2.py
+++ b/test/test-exception-py2.py
@@ -1,6 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+# SPDX-License-Identifier: MIT
+
import sys
import unittest
diff --git a/test/test-exception-py3.py b/test/test-exception-py3.py
index a0c981e..8f1541c 100755
--- a/test/test-exception-py3.py
+++ b/test/test-exception-py3.py
@@ -1,6 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+# SPDX-License-Identifier: MIT
+
import unittest
try:
diff --git a/test/test-p2p.py b/test/test-p2p.py
index 7c7655d..d79d2c5 100755
--- a/test/test-p2p.py
+++ b/test/test-p2p.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-server.py b/test/test-server.py
index c90ccf1..c7bb759 100755
--- a/test/test-server.py
+++ b/test/test-server.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
+# SPDX-License-Identifier: MIT
+
from dbus.mainloop.glib import DBusGMainLoop
import dbus
diff --git a/test/test-service.py b/test/test-service.py
index 4e531cb..57ec722 100755
--- a/test/test-service.py
+++ b/test/test-service.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-signals.py b/test/test-signals.py
index 3c618c8..7d395a9 100755
--- a/test/test-signals.py
+++ b/test/test-signals.py
@@ -3,6 +3,8 @@
# Copyright (C) 2004 Red Hat Inc. <http://www.redhat.com/>
# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-standalone.py b/test/test-standalone.py
index f7dca40..8876a05 100755
--- a/test/test-standalone.py
+++ b/test/test-standalone.py
@@ -6,6 +6,8 @@ run in isolation.
# Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/test-unusable-main-loop.py b/test/test-unusable-main-loop.py
index 6e81315..c3a6930 100755
--- a/test/test-unusable-main-loop.py
+++ b/test/test-unusable-main-loop.py
@@ -2,6 +2,8 @@
# Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/wait-for-name.py b/test/wait-for-name.py
index 344f641..55b1800 100755
--- a/test/wait-for-name.py
+++ b/test/wait-for-name.py
@@ -3,6 +3,8 @@
# Copyright © 2016 Simon McVittie
#
+# SPDX-License-Identifier: MIT
+#
# 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
diff --git a/test/with-session-bus.sh b/test/with-session-bus.sh
index d20701d..5abeed0 100755
--- a/test/with-session-bus.sh
+++ b/test/with-session-bus.sh
@@ -3,9 +3,12 @@
#
# Copyright (C) 2007-2008 Collabora Ltd. <http://www.collabora.co.uk/>
#
+# SPDX-License-Identifier: FSFAP
+#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
set -e