summaryrefslogtreecommitdiff
path: root/tests/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fmt')
-rwxr-xr-xtests/fmt/basic19
-rwxr-xr-xtests/fmt/long-line17
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/fmt/basic b/tests/fmt/basic
index ad536d116..77682f103 100755
--- a/tests/fmt/basic
+++ b/tests/fmt/basic
@@ -1,5 +1,24 @@
#!/bin/sh
# -*- perl -*-
+# Basic tests for "fmt".
+
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, 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.
+
+# 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.
: ${PERL=perl}
: ${srcdir=.}
diff --git a/tests/fmt/long-line b/tests/fmt/long-line
index 9905e200c..e4aaec8cf 100755
--- a/tests/fmt/long-line
+++ b/tests/fmt/long-line
@@ -1,6 +1,23 @@
#!/bin/sh
# make sure fmt -s works even on long lines
+# Copyright (C) 2002 Free Software Foundation, 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.
+
+# 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.
+
if test "$VERBOSE" = yes; then
set -x
fmt --version