From 9a9028b1fe1519262fcbf0b7ede708d4ebbffbd7 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 24 Sep 2012 20:58:00 +0000 Subject: [PATCH] Add copyright notices to testsuite shell scripts --- ChangeLog | 8 ++++++++ io/ftwtest-sh | 17 +++++++++++++++++ localedata/ChangeLog | 4 ++++ localedata/sort-test.sh | 17 +++++++++++++++++ nptl/ChangeLog | 4 ++++ nptl/tst-tls6.sh | 19 ++++++++++++++++++- posix/globtest.sh | 17 +++++++++++++++++ posix/tst-getconf.sh | 17 +++++++++++++++++ posix/wordexp-tst.sh | 19 ++++++++++++++++++- sysdeps/x86_64/tst-xmmymm.sh | 18 ++++++++++++++++++ 10 files changed, 138 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 43ba419..cb4c076 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-09-24 Dmitry V. Levin + + * 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. + 2012-09-24 H.J. Lu [BZ #13679] diff --git a/io/ftwtest-sh b/io/ftwtest-sh index 6444ece..8b8abaa 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -1,4 +1,21 @@ #! /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 +# . # The common objpfx, used to find libraries and the dynamic loader. objpfx=$1 diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 8e37a94..3723e1b 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,7 @@ +2012-09-24 Dmitry V. Levin + + * sort-test.sh: Add copyright header. + 2012-09-05 Jeff Law [BZ#14510] diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh index 67de72e..3abe802 100644 --- a/localedata/sort-test.sh +++ b/localedata/sort-test.sh @@ -1,4 +1,21 @@ #! /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 +# . common_objpfx=$1; shift run_program_prefix=$1; shift diff --git a/nptl/ChangeLog b/nptl/ChangeLog index f2fded0..aa1c04e 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2012-09-24 Dmitry V. Levin + + * tst-tls6.sh: Add copyright header. + 2012-09-24 H.J. Lu * sysdeps/x86_64/tls.h (THREAD_SETMEM): Add "()" when casting diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh index 1ae24fc..9c334fa 100755 --- a/nptl/tst-tls6.sh +++ b/nptl/tst-tls6.sh @@ -1,4 +1,21 @@ -#!/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 +# . common_objpfx=$1; shift elf_objpfx=$1; shift diff --git a/posix/globtest.sh b/posix/globtest.sh index 9b9021d..73f198d 100755 --- a/posix/globtest.sh +++ b/posix/globtest.sh @@ -1,4 +1,21 @@ #! /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 +# . common_objpfx=$1; shift elf_objpfx=$1; shift diff --git a/posix/tst-getconf.sh b/posix/tst-getconf.sh index 9630ebf..499cd07 100644 --- a/posix/tst-getconf.sh +++ b/posix/tst-getconf.sh @@ -1,4 +1,21 @@ #! /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 +# . common_objpfx=$1; shift elf_objpfx=$1; shift diff --git a/posix/wordexp-tst.sh b/posix/wordexp-tst.sh index 9654457..53183e5 100755 --- a/posix/wordexp-tst.sh +++ b/posix/wordexp-tst.sh @@ -1,4 +1,21 @@ -#!/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 +# . # 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..edb58b1 100755 --- a/sysdeps/x86_64/tst-xmmymm.sh +++ b/sysdeps/x86_64/tst-xmmymm.sh @@ -1,4 +1,22 @@ #! /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 +# . + objpfx="$1" tmp=$(mktemp ${objpfx}tst-xmmymm.XXXXXX) -- 2.7.4