[PATCH xfstests: Make "new" script insert appropriate license on tests

Felix Blyakher felixb at sgi.com
Fri Jun 5 17:14:24 CDT 2009


On Jun 5, 2009, at 4:17 PM, Eric Sandeen wrote:

> Don't default to SGI copyright, someone else may be
> making this test...
>
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>

Reviewed-by: Felix Blyakher <felixb at sgi.com>

>
> ---
>
> iff --git a/new b/new
> index 45ff163..8e32824 100755
> --- a/new
> +++ b/new
> @@ -79,6 +79,8 @@ fi
>
> echo -n "Creating skeletal script for you to edit ..."
>
> +year=`date +%Y`
> +
> cat <<End-of-File >$id
> #! /bin/sh
> # FS QA Test No. $id
> @@ -86,7 +88,20 @@ cat <<End-of-File >$id
> # what am I here for?
> #
> #-----------------------------------------------------------------------
> -# Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights  
> Reserved.
> +# Copyright (c) $year YOUR NAME HERE.  All Rights Reserved.
> +#
> +# 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.
> +#
> +# This program is distributed in the hope that it would 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 the Free Software  
> Foundation,
> +# Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> #-----------------------------------------------------------------------
> #
> # creator
>
>
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs




More information about the xfs mailing list