This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 1/2] Add copyright notices to shell scripts from testsuite
---
* io/ftwtest-sh: Add copyright header.
* posix/globtest.sh: Likewise.
* posix/tst-getconf.sh: Likewise.
* posix/wordexp-tst.sh: Likewise.
* sysdeps/x86_64/tst-xmmymm.sh: Likewise.
localedata/
* sort-test.sh: Add copyright header.
nptl/
* tst-tls6.sh: Add copyright header.
ChangeLog | 8 ++++++++
io/ftwtest-sh | 18 ++++++++++++++++++
localedata/ChangeLog | 4 ++++
localedata/sort-test.sh | 18 ++++++++++++++++++
nptl/ChangeLog | 4 ++++
nptl/tst-tls6.sh | 20 +++++++++++++++++++-
posix/globtest.sh | 18 ++++++++++++++++++
posix/tst-getconf.sh | 18 ++++++++++++++++++
posix/wordexp-tst.sh | 20 +++++++++++++++++++-
sysdeps/x86_64/tst-xmmymm.sh | 19 +++++++++++++++++++
10 files changed, 145 insertions(+), 2 deletions(-)
diff --git a/io/ftwtest-sh b/io/ftwtest-sh
index 6444ece..6203fa3 100644
--- a/io/ftwtest-sh
+++ b/io/ftwtest-sh
@@ -1,4 +1,22 @@
#! /bin/sh
+# Test for nftw(3).
+# Copyright (C) 1997-2004 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
# The common objpfx, used to find libraries and the dynamic loader.
objpfx=$1
diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh
index 67de72e..a94d509 100644
--- a/localedata/sort-test.sh
+++ b/localedata/sort-test.sh
@@ -1,4 +1,22 @@
#! /bin/sh
+# Test collation using xfrm-test.
+# Copyright (C) 1997-2004 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
common_objpfx=$1; shift
run_program_prefix=$1; shift
diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh
index 1ae24fc..895ff58 100755
--- a/nptl/tst-tls6.sh
+++ b/nptl/tst-tls6.sh
@@ -1,4 +1,22 @@
-#!/bin/sh
+#! /bin/sh
+# A tls test.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
common_objpfx=$1; shift
elf_objpfx=$1; shift
diff --git a/posix/globtest.sh b/posix/globtest.sh
index 9b9021d..2582008 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -1,4 +1,22 @@
#! /bin/bash
+# Test for glob(3).
+# Copyright (C) 1997-2011 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
common_objpfx=$1; shift
elf_objpfx=$1; shift
diff --git a/posix/tst-getconf.sh b/posix/tst-getconf.sh
index 9630ebf..efea097 100644
--- a/posix/tst-getconf.sh
+++ b/posix/tst-getconf.sh
@@ -1,4 +1,22 @@
#! /bin/sh
+# Test for getconf(1).
+# Copyright (C) 2001-2002 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
common_objpfx=$1; shift
elf_objpfx=$1; shift
diff --git a/posix/wordexp-tst.sh b/posix/wordexp-tst.sh
index 9654457..e3d613b 100755
--- a/posix/wordexp-tst.sh
+++ b/posix/wordexp-tst.sh
@@ -1,4 +1,22 @@
-#!/bin/sh
+#! /bin/sh
+# Test for wordexp(3).
+# Copyright (C) 1998-2000 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
# Some of these tests may look a little weird.
# The first parameter to wordexp-test is what it gives to wordexp.
diff --git a/sysdeps/x86_64/tst-xmmymm.sh b/sysdeps/x86_64/tst-xmmymm.sh
index da8af7e..5772632 100755
--- a/sysdeps/x86_64/tst-xmmymm.sh
+++ b/sysdeps/x86_64/tst-xmmymm.sh
@@ -1,4 +1,23 @@
#! /bin/bash
+# Make sure no code in ld.so uses xmm/ymm registers on x86-64.
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+
+# The GNU C 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.
+
+# The GNU C 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 the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
+
objpfx="$1"
tmp=$(mktemp ${objpfx}tst-xmmymm.XXXXXX)
--
ldv