summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-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"