[sheepdog] [PATCH v3 1/4] tests/unit: add missing copyright and license
Kai Zhang
kyle at zelin.io
Fri Jul 12 08:41:35 CEST 2013
Signed-off-by: Kai Zhang <kyle at zelin.io>
---
tests/unit/collie/mock_collie.c | 13 +++++++++++++
tests/unit/collie/test_common.c | 13 +++++++++++++
tests/unit/sheep/mock_request.c | 13 +++++++++++++
tests/unit/sheep/mock_sheep.c | 13 +++++++++++++
tests/unit/sheep/mock_store.c | 13 +++++++++++++
tests/unit/sheep/test_vdi.c | 13 +++++++++++++
6 files changed, 78 insertions(+)
diff --git a/tests/unit/collie/mock_collie.c b/tests/unit/collie/mock_collie.c
index b441b18..1f9ce35 100644
--- a/tests/unit/collie/mock_collie.c
+++ b/tests/unit/collie/mock_collie.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "collie.h"
/* collie mock */
diff --git a/tests/unit/collie/test_common.c b/tests/unit/collie/test_common.c
index a180b5e..ee3c8ff 100644
--- a/tests/unit/collie/test_common.c
+++ b/tests/unit/collie/test_common.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <check.h>
#include "collie.h"
diff --git a/tests/unit/sheep/mock_request.c b/tests/unit/sheep/mock_request.c
index 9d6495f..c37ab30 100644
--- a/tests/unit/sheep/mock_request.c
+++ b/tests/unit/sheep/mock_request.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "sheep_priv.h"
int exec_local_req(struct sd_req *rq, void *data)
diff --git a/tests/unit/sheep/mock_sheep.c b/tests/unit/sheep/mock_sheep.c
index 3903ad2..a5d97cb 100644
--- a/tests/unit/sheep/mock_sheep.c
+++ b/tests/unit/sheep/mock_sheep.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "sheep_priv.h"
struct system_info *sys;
diff --git a/tests/unit/sheep/mock_store.c b/tests/unit/sheep/mock_store.c
index ec37d3c..e9a2901 100644
--- a/tests/unit/sheep/mock_store.c
+++ b/tests/unit/sheep/mock_store.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "sheep_priv.h"
int read_object(uint64_t oid, char *data, unsigned int datalen,
diff --git a/tests/unit/sheep/test_vdi.c b/tests/unit/sheep/test_vdi.c
index 2197d1f..f55dcf4 100644
--- a/tests/unit/sheep/test_vdi.c
+++ b/tests/unit/sheep/test_vdi.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright (C) 2013 Zelin.io
+ *
+ * Kai Zhang <kyle at zelin.io>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <check.h>
#include "sheep_priv.h"
--
1.7.9.5
More information about the sheepdog
mailing list