]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fstests: convert top level files and tools to SPDX
authorDave Chinner <dchinner@redhat.com>
Sat, 9 Jun 2018 01:36:01 +0000 (11:36 +1000)
committerDave Chinner <david@fromorbit.com>
Sat, 9 Jun 2018 01:36:01 +0000 (11:36 +1000)
Scripted conversion, see script in initial SPDX license commit
message. Many files required touch-ups after the script had run
because of the old and widely different formats. most touchups were
to remove excess empty comment lines the script left behind.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
12 files changed:
Makefile
check
lsqa.pl
randomize.awk
setup
soak
tools/ag-wipe
tools/auto-qa
tools/compare-failures
tools/db-walk
tools/fs-walk
tools/interop

index 1064984573be27f8b22444e5636a8b91734fbbfe..9fd37e0cca54f8029d4613e64b749372be7aefd7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0+
 # Copyright (C) 2000-2008, 2011 SGI  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; 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.
-#
-
 ifeq ("$(origin V)", "command line")
   BUILD_VERBOSE = $(V)
 endif
diff --git a/check b/check
index d768d6e903589f47147457337f2e8871a2a9c77d..f3c8021d94b91eae324010f9a20a93d5f91bf71e 100755 (executable)
--- a/check
+++ b/check
@@ -1,24 +1,9 @@
 #!/bin/bash
-#
-# Control script for QA
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2000-2002,2006 Silicon Graphics, Inc.  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
-#
+# Control script for QA
 #
-
 tmp=/tmp/$$
 status=0
 needwrap=true
diff --git a/lsqa.pl b/lsqa.pl
index b4fc83f43f992ee304e1795ccc12c4feda4a6dab..dd45eeda4e2c26f426acc2449e0bb11e3fb6f46b 100755 (executable)
--- a/lsqa.pl
+++ b/lsqa.pl
@@ -1,21 +1,7 @@
 #!/usr/bin/perl -w
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2008 Silicon Graphics, Inc.  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
-#
-
 # Print headers of given tests
 # Accepted parameter types:
 # - nothing - list all tests from all subdirectories in tests/*
index 2504eb85be13e1b992d24f6fd89208b2956ce71c..0a8ad71aa94a4b8a7261064acde1fe2d8e8e203e 100644 (file)
@@ -1,19 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2005 Silicon Graphics, Inc.  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
-#
-
 # randomize stdin.
 
 function randomize(array, N) {
diff --git a/setup b/setup
index eb37d80abe48dd61959d60bca39e6c9e48fd5158..375a54c98ddfe368a2af656c6d450f92b7c8219a 100755 (executable)
--- a/setup
+++ b/setup
@@ -1,20 +1,7 @@
 #!/bin/bash
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2003-2004 Silicon Graphics, Inc.  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
-#
 usage()
 {
 
diff --git a/soak b/soak
index 26b345a3e4a98fe96fea0853443cf4d2b4d57c7e..d5c4229ad6e79b3a5a381e31f0eff61d10955edb 100755 (executable)
--- a/soak
+++ b/soak
@@ -1,22 +1,7 @@
 #!/bin/bash
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2000-2002 Silicon Graphics, Inc.  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
-#
-#-----------------------------------------------------------------------
-#
 
 # get standard environment, filters and checks
 . ./common/rc
index 476f0eaf0315a4b7000e2512b48e02d9dc9edc6b..52acf0f801279b3ef47b2e8e26142191f75e8e58 100755 (executable)
@@ -1,23 +1,11 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2003-2004 Silicon Graphics, Inc.  All Rights Reserved.
+#
 use strict;
 use IO::File;
 use Getopt::Std;
 #
-# Copyright (c) 2003-2004 Silicon Graphics, Inc.  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
-#
 #
 # Modify a filesystem's superblock and AGF metadata structures
 # so that only a subset of the allocation groups will be used.
index b81b0b5960c23046979eeb24d0d7bd7cc9615f8e..1d0cc07cc0a4be9dc63d24322841567294238412 100755 (executable)
@@ -1,21 +1,7 @@
 #!/bin/sh
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2000-2003 Silicon Graphics, Inc.  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
-#
-#
 # automatic qa system. 31/08/00 dxm@sgi.com
 #
 # Usage: auto_qa start-state [stop-state]
index 9604a638555273d89f80262a71d4dcfcd346d73c..d72f168569a750d59c8b17ecdfaba46ca302d581 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat, Inc.  All Rights Reserved.
+#
 # Compare test failures across runs
 #
 # Takes multiple "results" files as arguments, comprised of the
@@ -7,24 +9,6 @@
 #
 # Outputs a table of failures for comparison across runs
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Red Hat, Inc.  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
-#-----------------------------------------------------------------------
-#
-
 filter_names() {
        sed -e s/btrfs/b/ \
            -e s/cifs/c/g \
index b64758706ff4150e9a6a7c8e2afe0158d7a536d1..e0992055959fe758129ad84be59bb581676f1dd3 100755 (executable)
@@ -1,25 +1,9 @@
 #!/usr/bin/perl -w
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  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
-#
-#
 # use db to try to traverse the entire filesystem starting at the root
 #
-#                                                       dxm 5/10/00
-
 my $device;
 my $rootino;
 my $agcount;
index 0c80cd88e5d5dbf81edefe3c2295d1216ecb8813..918e1ad67f369023d241ea8b17bed1911ccc8ab8 100755 (executable)
@@ -1,24 +1,9 @@
 #!/usr/bin/perl -w
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  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
-#
-#
 # traverse the entire filesystem dumping info.
 #
-#                                                       dxm 5/10/00
 use MD5;
 use Getopt::Std;
 
index 0cfa2e4e886df0472ff3aa527be78e30951fa958..dc1652c2b2ee12a1caebe2c9433a31a936babedb 100755 (executable)
@@ -1,21 +1,7 @@
 #!/usr/sbin/perl
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2001 Silicon Graphics, Inc.  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
-#
-
 sub setup()
 {
     $PATH="$PATH:/usr/local/bin/ptools:/sbin:/usr/sbin";