Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/example.py | 7 +++++++
tests/conftest.py | 6 ++++++
tests/constants.py | 6 ++++++
tests/daemon_test.py | 6 ++++++
tests/direct_test.py | 6 ++++++
tests/python_test.py | 6 ++++++
tests/storage.py | 6 ++++++
tests/units.py | 6 ++++++
tests/util.py | 6 ++++++
9 files changed, 55 insertions(+)
diff --git a/python/example.py b/python/example.py
index 6ef9f7d..370b17d 100644
--- a/python/example.py
+++ b/python/example.py
@@ -1,5 +1,12 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
import pwd
import grp
import os
import time
import signal
diff --git a/tests/conftest.py b/tests/conftest.py
index 70e83d4..9dad677 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Fixtures for sanlock testing.
"""
from __future__ import absolute_import
diff --git a/tests/constants.py b/tests/constants.py
index a7eb16b..4f45d13 100644
--- a/tests/constants.py
+++ b/tests/constants.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Constants copied from sanlock source.
"""
# src/leader.h
diff --git a/tests/daemon_test.py b/tests/daemon_test.py
index 36648e3..26c64af 100644
--- a/tests/daemon_test.py
+++ b/tests/daemon_test.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Test sanlock client operations.
"""
from __future__ import absolute_import
diff --git a/tests/direct_test.py b/tests/direct_test.py
index a157bc4..b2cf2f1 100644
--- a/tests/direct_test.py
+++ b/tests/direct_test.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Test sanlock direct options.
"""
from __future__ import absolute_import
diff --git a/tests/python_test.py b/tests/python_test.py
index 3242f57..4320dad 100644
--- a/tests/python_test.py
+++ b/tests/python_test.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Test sanlock python binding with sanlock daemon.
"""
from __future__ import absolute_import
diff --git a/tests/storage.py b/tests/storage.py
index b7fcb2a..0fe6f56 100644
--- a/tests/storage.py
+++ b/tests/storage.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
storage - provide storage for sanlock tests.
"""
import argparse
diff --git a/tests/units.py b/tests/units.py
index b47d668..166bff5 100644
--- a/tests/units.py
+++ b/tests/units.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Constants for file/disk sizes.
"""
KiB = 1024
diff --git a/tests/util.py b/tests/util.py
index 08db236..cce12b3 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -1,5 +1,11 @@
+# Copyright (C) 2019 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
"""
Testing utilities
"""
from __future__ import absolute_import
--
2.17.2