summaryrefslogtreecommitdiffstats
path: root/share/dtf
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-11-25 21:21:17 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-11-26 00:10:29 +0100
commit4a2420acf4b6f3b425486411c2584a6bca47dd64 (patch)
tree97880954ba771e490affc44248f1133f14c09410 /share/dtf
parent8c80431e9c9425b3edd7517e9c0dd814599b7104 (diff)
downloaddtf-master.tar.gz
dtf-master.tar.xz
dtf-master.zip
licensing: use GPLv2+ and LGPLv2+HEADmaster
All library files are LGPL-family, all scripts are GPL. This sounds like reasonable licensing WRT targeted project audience. We can always go to GPLv3+ and LGPLv3+ (or anybody could to this). Inspiration from: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing
Diffstat (limited to 'share/dtf')
-rw-r--r--share/dtf/lib/default29
-rw-r--r--share/dtf/lib/tests22
-rw-r--r--share/dtf/tpl/run.tpl19
3 files changed, 60 insertions, 10 deletions
diff --git a/share/dtf/lib/default b/share/dtf/lib/default
index 9981b09..82e945b 100644
--- a/share/dtf/lib/default
+++ b/share/dtf/lib/default
@@ -1,9 +1,26 @@
-#! /bin/sh
-
-# Global library file. Methods prefixed by '__dtf_' are internal, for example
-# __dtf_is_testdir. Other methods prefixed by 'dtf_' are API.
-# This file must never be used as template for 'dg' because it is used both on
-# maintainer machine and on tested machine.
+# Default DTF library copyied/used both by testsuite and testsuite generator.
+# Copyright (C) 2015 Red Hat, Inc.
+# Written by Pavel Raiskup.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+# Methods prefixed by '__dtf_' are internal, for example __dtf_is_testdir.
+# Other methods prefixed by 'dtf_' are API. This file must never be used as
+# template for 'dg' because it is used both on maintainer machine and on tested
+# machine.
: ${SHELL=/bin/sh}
diff --git a/share/dtf/lib/tests b/share/dtf/lib/tests
index e5797d1..3989211 100644
--- a/share/dtf/lib/tests
+++ b/share/dtf/lib/tests
@@ -1,6 +1,24 @@
-#! /bin/sh
-
# Library for dtf tests.
+# Copyright (C) 2015 Red Hat, Inc.
+# Written by Pavel Raiskup.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+# Public API is prefixed by ^dtf_ prefix.
+
# dtf_skip [REASON]
# -----------------
diff --git a/share/dtf/tpl/run.tpl b/share/dtf/tpl/run.tpl
index f54fa3d..7af0d59 100644
--- a/share/dtf/tpl/run.tpl
+++ b/share/dtf/tpl/run.tpl
@@ -1,5 +1,20 @@
-#! /bin/sh
-# vi: ft=sh
+# Template for DTF's 'run' wrapper.
+# Copyright (C) 2015 Red Hat, Inc.
+# Written by Pavel Raiskup.
+
+# 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.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
test -z "$outputdir" && outputdir="$PWD/DTF_RESULT"