Skip to contentSkip to conversation

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

PATCH Eric Sandeen 3 participants 3 messages Jun 5, 2009

lore
Share & tools
lore
#0 lore raw

Don't default to SGI copyright, someone else may be making this test...

---

iff --git a/new b/new
index 45ff163..8e32824 100755

new +16 -1
@@ -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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by
#2 lore raw
In reply to Eric Sandeen
Quoted 4 lines · Eric Sandeen

Don't default to SGI copyright, someone else may be making this test...

Quoted 39 lines

---

iff --git a/new b/new
index 45ff163..8e32824 100755

new +0 -0
@@ -79,6 +79,8 @@ fi
 

echo -n "Creating skeletal script for you to edit ..."

new +2 -0
+year=`date +%Y`
+

cat <<End-of-File >$id
#! /bin/sh
# FS QA Test No. $id

new +0 -1
@@ -86,7 +88,20 @@ cat <<End-of-File >$id
 # what am I here for?
 #
 #-----------------------------------------------------------------------
-# Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights  

Reserved.

new +13 -0
+# 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
#-----------------------------------------------------------------------
#

Quoted 7 lines
# creator

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs