From 4a2420acf4b6f3b425486411c2584a6bca47dd64 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 25 Nov 2015 21:21:17 +0100 Subject: licensing: use GPLv2+ and LGPLv2+ 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 --- share/dtf/lib/default | 29 +++++++++++++++++++++++------ share/dtf/lib/tests | 22 ++++++++++++++++++++-- share/dtf/tpl/run.tpl | 19 +++++++++++++++++-- 3 files changed, 60 insertions(+), 10 deletions(-) (limited to 'share/dtf') 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" -- cgit