From 0c1a95d06703298160495e96af7800f05a9c3dcd Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Sat, 9 Jun 2018 11:35:53 +1000 Subject: [PATCH] fstests: convert remaining tests to SPDX license tags Fully scripted conversion, see script in initial SPDX license commit message. Signed-off-by: Dave Chinner --- tests/cifs/001 | 22 +++------------------- tests/ext4/001 | 22 +++------------------- tests/ext4/002 | 21 +++------------------ tests/ext4/003 | 16 +++------------- tests/ext4/004 | 22 +++------------------- tests/ext4/005 | 21 +++------------------ tests/ext4/006 | 21 +++------------------ tests/ext4/007 | 21 +++------------------ tests/ext4/008 | 21 +++------------------ tests/ext4/009 | 21 +++------------------ tests/ext4/010 | 21 +++------------------ tests/ext4/011 | 21 +++------------------ tests/ext4/012 | 21 +++------------------ tests/ext4/013 | 21 +++------------------ tests/ext4/014 | 21 +++------------------ tests/ext4/015 | 21 +++------------------ tests/ext4/016 | 21 +++------------------ tests/ext4/017 | 21 +++------------------ tests/ext4/018 | 21 +++------------------ tests/ext4/019 | 21 +++------------------ tests/ext4/020 | 21 +++------------------ tests/ext4/021 | 21 +++------------------ tests/ext4/022 | 21 +++------------------ tests/ext4/023 | 21 +++------------------ tests/ext4/024 | 23 +++-------------------- tests/ext4/025 | 22 +++------------------- tests/ext4/026 | 21 +++------------------ tests/ext4/027 | 20 +++----------------- tests/ext4/028 | 20 +++----------------- tests/ext4/029 | 20 +++----------------- tests/ext4/030 | 21 +++------------------ tests/ext4/031 | 21 +++------------------ tests/ext4/032 | 22 +++------------------- tests/ext4/033 | 21 +++------------------ tests/ext4/271 | 22 +++------------------- tests/ext4/301 | 22 +++------------------- tests/ext4/302 | 22 +++------------------- tests/ext4/303 | 22 +++------------------- tests/ext4/304 | 22 +++------------------- tests/ext4/305 | 21 +++------------------ tests/ext4/306 | 20 +++----------------- tests/ext4/307 | 22 +++------------------- tests/ext4/308 | 20 +++----------------- tests/f2fs/001 | 21 +++------------------ tests/nfs/001 | 21 +++------------------ tests/ocfs2/001 | 20 +++----------------- tests/overlay/001 | 21 +++------------------ tests/overlay/002 | 23 +++-------------------- tests/overlay/003 | 21 +++------------------ tests/overlay/004 | 21 +++------------------ tests/overlay/005 | 21 +++------------------ tests/overlay/006 | 21 +++------------------ tests/overlay/007 | 21 +++------------------ tests/overlay/008 | 21 +++------------------ tests/overlay/009 | 21 +++------------------ tests/overlay/010 | 21 +++------------------ tests/overlay/011 | 21 +++------------------ tests/overlay/012 | 21 +++------------------ tests/overlay/013 | 21 +++------------------ tests/overlay/014 | 21 +++------------------ tests/overlay/015 | 21 +++------------------ tests/overlay/016 | 23 +++-------------------- tests/overlay/017 | 23 +++-------------------- tests/overlay/018 | 23 +++-------------------- tests/overlay/019 | 21 +++------------------ tests/overlay/020 | 21 +++------------------ tests/overlay/021 | 22 +++------------------- tests/overlay/022 | 21 +++------------------ tests/overlay/023 | 21 +++------------------ tests/overlay/024 | 21 +++------------------ tests/overlay/025 | 21 +++------------------ tests/overlay/026 | 21 +++------------------ tests/overlay/027 | 21 +++------------------ tests/overlay/028 | 21 +++------------------ tests/overlay/029 | 21 +++------------------ tests/overlay/030 | 23 +++-------------------- tests/overlay/031 | 21 +++------------------ tests/overlay/032 | 22 +++------------------- tests/overlay/033 | 22 +++------------------- tests/overlay/034 | 22 +++------------------- tests/overlay/035 | 22 +++------------------- tests/overlay/036 | 22 +++------------------- tests/overlay/037 | 22 +++------------------- tests/overlay/038 | 23 +++-------------------- tests/overlay/039 | 22 +++------------------- tests/overlay/040 | 22 +++------------------- tests/overlay/041 | 23 +++-------------------- tests/overlay/042 | 22 +++------------------- tests/overlay/043 | 23 +++-------------------- tests/overlay/044 | 23 +++-------------------- tests/overlay/045 | 22 +++------------------- tests/overlay/046 | 22 +++------------------- tests/overlay/047 | 23 +++-------------------- tests/overlay/048 | 22 +++------------------- tests/overlay/049 | 22 +++------------------- tests/overlay/050 | 22 +++------------------- tests/overlay/051 | 22 +++------------------- tests/overlay/052 | 22 +++------------------- tests/overlay/053 | 22 +++------------------- tests/overlay/054 | 22 +++------------------- tests/overlay/055 | 22 +++------------------- tests/overlay/056 | 22 +++------------------- tests/overlay/057 | 22 +++------------------- tests/overlay/058 | 22 +++------------------- tests/overlay/059 | 22 +++------------------- tests/overlay/060 | 21 +++------------------ tests/perf/001 | 22 +++------------------- tests/shared/001 | 21 +++------------------ tests/shared/002 | 22 +++------------------- tests/shared/003 | 21 +++------------------ tests/shared/004 | 21 +++------------------ tests/shared/005 | 20 +++----------------- tests/shared/006 | 21 +++------------------ tests/shared/007 | 20 +++----------------- tests/shared/032 | 22 +++------------------- tests/shared/272 | 22 +++------------------- tests/shared/289 | 21 +++------------------ tests/shared/298 | 21 +++------------------ tests/udf/102 | 22 +++------------------- 119 files changed, 357 insertions(+), 2191 deletions(-) diff --git a/tests/cifs/001 b/tests/cifs/001 index 57ce7288..193103bf 100755 --- a/tests/cifs/001 +++ b/tests/cifs/001 @@ -1,27 +1,11 @@ #!/bin/bash -# FS QA Test No. cifs/001 -# -# Sanity test for server-side copies initiated via CIFS_IOC_COPYCHUNK_FILE -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2014 SUSE Linux Products GmbH. 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 +# FS QA Test No. cifs/001 # -#----------------------------------------------------------------------- +# Sanity test for server-side copies initiated via CIFS_IOC_COPYCHUNK_FILE # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/001 b/tests/ext4/001 index c22a5e1e..bf2d16b4 100755 --- a/tests/ext4/001 +++ b/tests/ext4/001 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 001 -# -# Test fallocate FALLOC_FL_ZERO_RANGE -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright 2014 (C) Red Hat, Inc., Lukas Czerner # -# 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 +# FS QA Test No. 001 # -#----------------------------------------------------------------------- +# Test fallocate FALLOC_FL_ZERO_RANGE # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/ext4/002 b/tests/ext4/002 index 255a18f8..c4fb3bde 100755 --- a/tests/ext4/002 +++ b/tests/ext4/002 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Google, Inc. All Rights Reserved. +# # FS QA Test No. ext4/002 # # Test to ensure that the EOFBLOCK_FL gets set/unset correctly. @@ -23,24 +26,6 @@ # # Ref: http://thread.gmane.org/gmane.comp.file-systems.ext4/20682 # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Google, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/003 b/tests/ext4/003 index 7f2d6974..19fe4b4c 100755 --- a/tests/ext4/003 +++ b/tests/ext4/003 @@ -1,23 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Fujitsu. All Rights Reserved. +# # FS QA Test No. ext4/003 # # Regression test for commit: # b5b6077 ext4: fix wrong assert in ext4_mb_normalize_request() # This testcase checks whether this bug has been fixed. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Fujitsu. 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. -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/004 b/tests/ext4/004 index 595cd7c4..e34aaa51 100755 --- a/tests/ext4/004 +++ b/tests/ext4/004 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 004 -# -# Test "dump | restore"(as opposed to a tape) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2014 Fujitsu. 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 +# FSQA Test No. 004 # -#----------------------------------------------------------------------- +# Test "dump | restore"(as opposed to a tape) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/005 b/tests/ext4/005 index 1028bf38..db37c2ea 100755 --- a/tests/ext4/005 +++ b/tests/ext4/005 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 005 # # Test corruption issue in converting file with a hole at the beginning to @@ -8,24 +11,6 @@ # ext4: be more strict when migrating to non-extent based file # ext4: correctly migrate a file with a hole at the beginning # -#----------------------------------------------------------------------- -# Copyright (c) 2015 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/006 b/tests/ext4/006 index a1e511e3..63e42f58 100755 --- a/tests/ext4/006 +++ b/tests/ext4/006 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 006 # # Create and populate an ext4 filesystem, fuzz the metadata, then see how # the kernel reacts, how e2fsck fares in fixing the mess, and then # try more kernel accesses to see if it really fixed things. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/007 b/tests/ext4/007 index aeaa2d32..b7f7c6ce 100755 --- a/tests/ext4/007 +++ b/tests/ext4/007 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 007 # # Create and populate an ext4 filesystem, corrupt the primary superblock, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/008 b/tests/ext4/008 index c84a28bf..c553760d 100755 --- a/tests/ext4/008 +++ b/tests/ext4/008 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 008 # # Create and populate an ext4 filesystem, corrupt a group descriptor, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/009 b/tests/ext4/009 index 9e4ac761..9a2cd0f3 100755 --- a/tests/ext4/009 +++ b/tests/ext4/009 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 009 # # Create and populate an ext4 filesystem, corrupt a block bitmap, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/010 b/tests/ext4/010 index 37ba2aaa..ace3cd67 100755 --- a/tests/ext4/010 +++ b/tests/ext4/010 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 010 # # Create and populate an ext4 filesystem, corrupt an inode bitmap, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/011 b/tests/ext4/011 index c21442fc..5905da00 100755 --- a/tests/ext4/011 +++ b/tests/ext4/011 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 011 # # Create and populate an ext4 filesystem, corrupt the MMP block, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/012 b/tests/ext4/012 index 1bf4fe5e..adc482da 100755 --- a/tests/ext4/012 +++ b/tests/ext4/012 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 012 # # Create and populate an ext4 filesystem, corrupt the journal, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/013 b/tests/ext4/013 index de0929bd..aa173e77 100755 --- a/tests/ext4/013 +++ b/tests/ext4/013 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 013 # # Create and populate an ext4 filesystem, corrupt an inode, then see how # the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/014 b/tests/ext4/014 index 831bed49..18862160 100755 --- a/tests/ext4/014 +++ b/tests/ext4/014 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 014 # # Create and populate an ext4 filesystem, corrupt root directory, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/015 b/tests/ext4/015 index 52dfb176..3f4425a7 100755 --- a/tests/ext4/015 +++ b/tests/ext4/015 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 015 # # Create and populate an ext4 filesystem, corrupt an extent tree block, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/016 b/tests/ext4/016 index c09d01ba..c6e3f964 100755 --- a/tests/ext4/016 +++ b/tests/ext4/016 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 016 # # Create and populate an ext4 filesystem, corrupt a dirent block, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/017 b/tests/ext4/017 index 4e3f7da4..67e78905 100755 --- a/tests/ext4/017 +++ b/tests/ext4/017 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 017 # # Create and populate an ext4 filesystem, corrupt a htree block, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/018 b/tests/ext4/018 index 8df6112c..0116c5f7 100755 --- a/tests/ext4/018 +++ b/tests/ext4/018 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 018 # # Create and populate an ext4 filesystem, corrupt a xattr block, then # see how the kernel and e2fsck deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/019 b/tests/ext4/019 index 8eb50416..d3f91665 100755 --- a/tests/ext4/019 +++ b/tests/ext4/019 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 019 # # Create and populate an ext4 filesystem, corrupt a big symlink, then # see how the kernel and e2fsck deal with it. (They won't) # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/020 b/tests/ext4/020 index 600b7b15..4b833f9e 100755 --- a/tests/ext4/020 +++ b/tests/ext4/020 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 020 # # Test partial blocksize defrag integrity issue. @@ -7,24 +10,6 @@ # size is smaller than page size would cause integrity issue on the # partial-blocksize part when copying data between orign file and donor file. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/021 b/tests/ext4/021 index e9c177a2..3d36efd0 100755 --- a/tests/ext4/021 +++ b/tests/ext4/021 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 021 # # Regression test for commit: # 688f869 ext4: Initialize fsync transaction ids in ext4_new_inode() # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/022 b/tests/ext4/022 index 9727603a..7dc19e8e 100755 --- a/tests/ext4/022 +++ b/tests/ext4/022 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 022 -# -# Test extending of i_extra_isize code -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 SUSE Linux Products GmbH. 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. +# FS QA Test 022 # -# 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 -#----------------------------------------------------------------------- +# Test extending of i_extra_isize code # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/023 b/tests/ext4/023 index 7ca3d7de..a598e2b4 100755 --- a/tests/ext4/023 +++ b/tests/ext4/023 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 023 # # Ensure that the populate helpers actually /can/ populate a ext4 # filesystem with all types of metadata and create an image of the # metadata. Check that fsck is happy with the resulting fs. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Oracle, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/024 b/tests/ext4/024 index a9ce24d4..c54d2519 100755 --- a/tests/ext4/024 +++ b/tests/ext4/024 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test ext4/024 # # Regression test for 0d06863f903a ("ext4: don't BUG when truncating encrypted # inodes on the orphan list"). # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# 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 -#----------------------------------------------------------------------- - - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/025 b/tests/ext4/025 index 588c7a3f..2eab4a46 100755 --- a/tests/ext4/025 +++ b/tests/ext4/025 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Fujitsu. All Rights Reserved. +# # FS QA Test ext4/025 # # Regression test for commit: # 3a4b77c ("ext4: validate s_first_meta_bg at mount time"). # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Fujitsu. All Rights Reserved. -# Author: Xiao Yang -# -# 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 -#----------------------------------------------------------------------- - - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/026 b/tests/ext4/026 index 7731e923..f651fe6e 100755 --- a/tests/ext4/026 +++ b/tests/ext4/026 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test 026 # # Test for ea_inode feature in ext4. Without ea_inode feature, an extended @@ -6,24 +9,6 @@ # allows storing xattr values in external inodes and so raises xattr value # size limit to 64k. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/027 b/tests/ext4/027 index f9d99a51..8e426b19 100755 --- a/tests/ext4/027 +++ b/tests/ext4/027 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 027 -# -# Check that getfsmap reports the BG metadata we're expecting. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2017, Oracle and/or its affiliates. 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. +# FS QA Test No. 027 # -# 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. +# Check that getfsmap reports the BG metadata we're expecting. # -# 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 -#----------------------------------------------------------------------- - seq=`basename "$0"` seqres="$RESULT_DIR/$seq" echo "QA output created by $seq" diff --git a/tests/ext4/028 b/tests/ext4/028 index 76fbfb0c..903608a1 100755 --- a/tests/ext4/028 +++ b/tests/ext4/028 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 028 -# -# Populate filesystem, check that fsmap -n10000 matches fsmap -n1. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2017, Oracle and/or its affiliates. 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. +# FS QA Test No. 028 # -# 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. +# Populate filesystem, check that fsmap -n10000 matches fsmap -n1. # -# 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 -#----------------------------------------------------------------------- - seq=`basename "$0"` seqres="$RESULT_DIR/$seq" echo "QA output created by $seq" diff --git a/tests/ext4/029 b/tests/ext4/029 index db0388ea..38082f12 100755 --- a/tests/ext4/029 +++ b/tests/ext4/029 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 029 -# -# Check that getfsmap reports external log devices -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2017, Oracle and/or its affiliates. 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. +# FS QA Test No. 029 # -# 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. +# Check that getfsmap reports external log devices # -# 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 -#----------------------------------------------------------------------- - seq=`basename "$0"` seqres="$RESULT_DIR/$seq" echo "QA output created by $seq" diff --git a/tests/ext4/030 b/tests/ext4/030 index 85da7557..93bbca86 100755 --- a/tests/ext4/030 +++ b/tests/ext4/030 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017-2018 Intel Corporation. All Rights Reserved. +# # FS QA Test ext4/030 # # This is a regression test for kernel patch: # ext4: prevent data corruption with journaling + DAX # created by Ross Zwisler # -#----------------------------------------------------------------------- -# Copyright (c) 2017-2018 Intel Corporation. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/031 b/tests/ext4/031 index 58177b44..53770f03 100755 --- a/tests/ext4/031 +++ b/tests/ext4/031 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017-2018 Intel Corporation. All Rights Reserved. +# # FS QA Test ext4/031 # # This is a regression test for kernel patch: # ext4: prevent data corruption with inline data + DAX # created by Ross Zwisler # -#----------------------------------------------------------------------- -# Copyright (c) 2017-2018 Intel Corporation. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/032 b/tests/ext4/032 index 13faa26a..8534ddd6 100755 --- a/tests/ext4/032 +++ b/tests/ext4/032 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Google, Inc. All Rights Reserved. +# # FS QA Test ext4/032 # # Ext4 online resize tests of small and crucial resizes with bigalloc # feature. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Google, Inc. All Rights Reserved. -# -# Author: Harshad Shirwadkar -# -# 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/033 b/tests/ext4/033 index d3e56ab7..93a06089 100755 --- a/tests/ext4/033 +++ b/tests/ext4/033 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Jan Kara, SUSE. All Rights Reserved. +# # FS QA Test 033 # # Test s_inodes_count overflow for huge filesystems. This bug was fixed # by commit "ext4: Forbid overflowing inode count when resizing". # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Jan Kara, SUSE. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/271 b/tests/ext4/271 index 6f61e51e..eb649157 100755 --- a/tests/ext4/271 +++ b/tests/ext4/271 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 271 -# -# Regression testcase for d583fb87a3ff0 (ext4 extent corruption) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 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 +# FSQA Test No. 271 # -#----------------------------------------------------------------------- +# Regression testcase for d583fb87a3ff0 (ext4 extent corruption) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/301 b/tests/ext4/301 index 2606c33f..bce11c1b 100755 --- a/tests/ext4/301 +++ b/tests/ext4/301 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 301 # # Ext4 defragmentation stress test # Defragment file while other task does direct io -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/302 b/tests/ext4/302 index d6506f69..9e439a6e 100755 --- a/tests/ext4/302 +++ b/tests/ext4/302 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 302 # # Ext4 defragmentation stress test # Perform defragmentation on file under buffered io # while third task does direct io to donor file -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/303 b/tests/ext4/303 index ac75a392..55b6c7ad 100755 --- a/tests/ext4/303 +++ b/tests/ext4/303 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 303 # # Ext4 defragmentation stress test # Two defrag tasks use common donor file # -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/304 b/tests/ext4/304 index 5287ab5d..d9f6cf2e 100755 --- a/tests/ext4/304 +++ b/tests/ext4/304 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 304 # # Ext4 defragmentation stress test # Several threads perform defragmentation at random position # using 'inplace' mode (allocate and free blocks inside defrag event) # which significantly improve load pressure on block allocator. -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/305 b/tests/ext4/305 index b7331ae2..a86135cf 100755 --- a/tests/ext4/305 +++ b/tests/ext4/305 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 305 # # Regression test for commit: # 9559996 ext4: remove mb_groups before tearing down the buddy_cache # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/306 b/tests/ext4/306 index 5b3744d0..b1672262 100755 --- a/tests/ext4/306 +++ b/tests/ext4/306 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. ext4/306 # # Test that blocks are available to non-extent files after a resize2fs # Regression test for commit: # c5c72d8 ext4: fix online resizing for ext3-compat file systems # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/307 b/tests/ext4/307 index 4bca056a..df6c841f 100755 --- a/tests/ext4/307 +++ b/tests/ext4/307 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 307 -# -# Check data integrity during defrag compacting -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 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 +# FSQA Test No. 307 # -#----------------------------------------------------------------------- +# Check data integrity during defrag compacting # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ext4/308 b/tests/ext4/308 index 74bfc1ba..94690846 100755 --- a/tests/ext4/308 +++ b/tests/ext4/308 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 308 # # Check data integrity and layout stability during defrag compacting # EXT4_IOC_MOVE_EXT simply swap extents between target and donor inode. # So if ioctl was performed twice then inode's layout should not change. # -#----------------------------------------------------------------------- -# (c) 2014 Dmitry Monakhov -# -# 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/f2fs/001 b/tests/f2fs/001 index c02363a8..f9cd2cf0 100755 --- a/tests/f2fs/001 +++ b/tests/f2fs/001 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Jaegeuk Kim. All Rights Reserved. +# # FS QA Test No. f2fs/001 # # Test inline_data behaviors when filesystem is full. @@ -12,24 +15,6 @@ # In ext4, up to 132 bytes of data can be stored in 256 bytes-sized inode. # In f2fs, up to 3.4KB of data can be embedded into 4KB-sized inode block. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Jaegeuk Kim. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/nfs/001 b/tests/nfs/001 index 764cde34..d7a79cb0 100755 --- a/tests/nfs/001 +++ b/tests/nfs/001 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc., All Rights Reserved. +# # FS QA Test 001 # # Test nfs4_getfacl gets ACL list correctly from server when the ACL length is @@ -6,24 +9,6 @@ # ERANGE. Upstream commit ed92d8c137b7 ("NFSv4: fix getacl ERANGE for some ACL # buffer sizes") fixed this bug. # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/ocfs2/001 b/tests/ocfs2/001 index 1cd9dc5a..af304b82 100755 --- a/tests/ocfs2/001 +++ b/tests/ocfs2/001 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 001 -# -# Ensure that reflink works correctly with inline-data files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2017, Oracle and/or its affiliates. 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. +# FS QA Test No. 001 # -# 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. +# Ensure that reflink works correctly with inline-data files. # -# 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/001 b/tests/overlay/001 index c0abbfb5..ade7a73a 100755 --- a/tests/overlay/001 +++ b/tests/overlay/001 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 001 # # Test copy up files from lower dir that are <, =, > 4G in size. @@ -6,24 +9,6 @@ # Kernel commit 0480334fa604 ("ovl: use O_LARGEFILE in ovl_copy_up()") # fixed bug when copying up large file from lower dir. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/002 b/tests/overlay/002 index ffdec184..dd96cf0d 100755 --- a/tests/overlay/002 +++ b/tests/overlay/002 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test 002 # # Test that calling fsync against a file using the merged directory does not @@ -8,26 +11,6 @@ # memory access) when the lower or upper directory belonged to a btrfs file # system. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/003 b/tests/overlay/003 index 154531e8..878ecbe7 100755 --- a/tests/overlay/003 +++ b/tests/overlay/003 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 003 # # Test overlayfs basic whiteout. @@ -9,24 +12,6 @@ # prevents mounting overlayfs like this since v4.6-rc1. # No harm to keep this test as a sanity check. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/004 b/tests/overlay/004 index 611847a8..216df203 100755 --- a/tests/overlay/004 +++ b/tests/overlay/004 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 004 -# -# Test file copy up on overlayfs by changing mode bits. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 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. +# FS QA Test 004 # -# 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 -#----------------------------------------------------------------------- +# Test file copy up on overlayfs by changing mode bits. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/005 b/tests/overlay/005 index 87fc9bbc..902eda18 100755 --- a/tests/overlay/005 +++ b/tests/overlay/005 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 005 # # Memleak in overlayfs copy-up error handling path leads to panic # when unmount the underlying fs. # Kernel commit ab79efab0 fixed this issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/006 b/tests/overlay/006 index 815657f4..72aa451a 100755 --- a/tests/overlay/006 +++ b/tests/overlay/006 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc., All Rights Reserved. +# # FS QA Test 006 # # Test visible whiteout issue after renaming file from lowerdir to a dir in @@ -7,24 +10,6 @@ # Upstream commit 45d117389696 ("ovl: ignore lower entries when checking purity # of non-directory entries") fixed the issue # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/007 b/tests/overlay/007 index ed7914b6..5dffc832 100755 --- a/tests/overlay/007 +++ b/tests/overlay/007 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 007 # # Test getcwd() failure after unsuccessful rmdir @@ -6,24 +9,6 @@ # Upstream commit ce9113bbcbf4 ("ovl: fix getcwd() failure after unsuccessful # rmdir") fixed this issue # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/008 b/tests/overlay/008 index d5bc1df3..29fa509b 100755 --- a/tests/overlay/008 +++ b/tests/overlay/008 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 008 # # Create file/dir over whiteout by another user, uid/gid of the file/dir should @@ -7,24 +10,6 @@ # This upstream kernel patch fixed the issue # d0e13f5 ovl: fix uid/gid when creating over whiteout # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/009 b/tests/overlay/009 index f3678874..7fe25f2d 100755 --- a/tests/overlay/009 +++ b/tests/overlay/009 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 009 # # dentry leak for default_permissions mount option @@ -6,24 +9,6 @@ # This is fixed by kernel commit named as # ovl: fix dentry leak for default_permissions # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/010 b/tests/overlay/010 index 32af89c8..c3f4a51d 100755 --- a/tests/overlay/010 +++ b/tests/overlay/010 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 010 # # Remove dir which contains whiteout from lower dir. @@ -6,24 +9,6 @@ # The following kernel commit fixed the kernel crash on the removal # 84889d4 ovl: check dentry positiveness in ovl_cleanup_whiteouts() # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/011 b/tests/overlay/011 index 87ac17b8..e2fedc90 100755 --- a/tests/overlay/011 +++ b/tests/overlay/011 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 011 # # test overlay private xattr on overlayfs with multiple lower dirs, all the @@ -7,24 +10,6 @@ # # Commit b581755b1c56 ("ovl: xattr filter fix") fixed this issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/012 b/tests/overlay/012 index 9cf15268..ca9311ec 100755 --- a/tests/overlay/012 +++ b/tests/overlay/012 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 012 # # The upper dentry may become stale before we remove it from @@ -8,24 +11,6 @@ # Commit cfc9fde0b07c ("ovl: verify upper dentry in # ovl_remove_and_whiteout()") fixed this issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/013 b/tests/overlay/013 index 8ff438d8..b42be6be 100755 --- a/tests/overlay/013 +++ b/tests/overlay/013 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 013 # # Test truncate running executable binaries from lower and upper dirs. # truncate(2) should return ETXTBSY, not other errno nor segfault # # Commit 03bea6040932 ("ovl: get_write_access() in truncate") fixed this issue. -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/014 b/tests/overlay/014 index 67fad9fd..60d48eba 100755 --- a/tests/overlay/014 +++ b/tests/overlay/014 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 014 # # Test copy-up of lowerdir with opaque xattr set. @@ -10,24 +13,6 @@ # # This is fixed by "ovl: don't copy up opaqueness". # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/015 b/tests/overlay/015 index 48940976..7d726f7d 100755 --- a/tests/overlay/015 +++ b/tests/overlay/015 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 015 -# -# SGID bit inheritance over whiteout. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 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. +# FS QA Test 015 # -# 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 -#----------------------------------------------------------------------- +# SGID bit inheritance over whiteout. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/016 b/tests/overlay/016 index 86a7d28f..5c5d9ab6 100755 --- a/tests/overlay/016 +++ b/tests/overlay/016 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 016 # # Test ro/rw fd data inconsistecies @@ -8,26 +11,6 @@ # - process B writes new data to file F # - process A reads old data from file F # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/017 b/tests/overlay/017 index 2102b9e5..436315b0 100755 --- a/tests/overlay/017 +++ b/tests/overlay/017 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 017 # # Test constant inode numbers @@ -12,26 +15,6 @@ # and if inode numbers persist after rename, drop caches and # mount cycle. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/018 b/tests/overlay/018 index 6e026c1b..2c047c25 100755 --- a/tests/overlay/018 +++ b/tests/overlay/018 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 018 # # Test hardlink breakage @@ -8,26 +11,6 @@ # - modify A to trigger copy up # - file A is no longer a hardlink of file B # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/019 b/tests/overlay/019 index 575aaf75..ceb76e94 100755 --- a/tests/overlay/019 +++ b/tests/overlay/019 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 019 -# -# Run fsstress on lower dir and top dir at the same time -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 Google, 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. +# FS QA Test 019 # -# 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 -#----------------------------------------------------------------------- +# Run fsstress on lower dir and top dir at the same time # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/020 b/tests/overlay/020 index de3816c2..85488b83 100755 --- a/tests/overlay/020 +++ b/tests/overlay/020 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 020 # # Reproducer from kernel commit 3fe6e52 # ovl: override creds with the ones from the superblock mounter # Testing ovl copyup/namespace/cred issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/021 b/tests/overlay/021 index 1347f520..01c596f5 100755 --- a/tests/overlay/021 +++ b/tests/overlay/021 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test 021 -# -# Test concurrent copy up -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2016 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein # -# 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. +# FS QA Test 021 # -# 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 -#----------------------------------------------------------------------- +# Test concurrent copy up # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/022 b/tests/overlay/022 index ef4d73f4..b6cfd0d7 100755 --- a/tests/overlay/022 +++ b/tests/overlay/022 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 022 # # Regression test for kernel commit: @@ -7,24 +10,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/023 b/tests/overlay/023 index 8da3c204..7e48349d 100755 --- a/tests/overlay/023 +++ b/tests/overlay/023 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 023 # # The "work" directory in an overlyfs workdir should not inherit @@ -10,24 +13,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/024 b/tests/overlay/024 index 75bd067c..ea939fa3 100755 --- a/tests/overlay/024 +++ b/tests/overlay/024 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 024 # # "work" directory under workdir should be cleaned up @@ -10,24 +13,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/025 b/tests/overlay/025 index bdbb4e51..952d6ade 100755 --- a/tests/overlay/025 +++ b/tests/overlay/025 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 025 # # Overlayfs failed to get posix acls if lower or upper @@ -9,24 +12,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/026 b/tests/overlay/026 index 55adbadf..08cad42f 100755 --- a/tests/overlay/026 +++ b/tests/overlay/026 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 026 # # Overlayfs should only filter out xattr starting with @@ -21,24 +24,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/027 b/tests/overlay/027 index 90da4e74..5c1da309 100755 --- a/tests/overlay/027 +++ b/tests/overlay/027 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 027 # # If underlying upper file is immutable, it should stays @@ -10,24 +13,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/028 b/tests/overlay/028 index 4b8a3a1f..5d5fe027 100755 --- a/tests/overlay/028 +++ b/tests/overlay/028 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 028 # # When file in lower dir is locked and it's been copied up, @@ -10,24 +13,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/029 b/tests/overlay/029 index 2ac674f0..1d2d2092 100755 --- a/tests/overlay/029 +++ b/tests/overlay/029 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 029 # # There are dirs/files in lower dir and upper dir before @@ -12,24 +15,6 @@ # This reproducer was originally written by # Miklos Szeredi # -#----------------------------------------------------------------------- -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/030 b/tests/overlay/030 index bbce1401..379c087d 100755 --- a/tests/overlay/030 +++ b/tests/overlay/030 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 030 # # Run the t_immutable test program for immutable/append-only files @@ -8,26 +11,6 @@ # the original test is _notrun on overlay mount because FS_IOC_GETFLAGS # FS_IOC_SETFLAGS ioctls fail on overlay directory inodes. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/031 b/tests/overlay/031 index 90a06af6..2740c7c3 100755 --- a/tests/overlay/031 +++ b/tests/overlay/031 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Huawei. All Rights Reserved. +# # FS QA Test 031 # # The unmerged and origined directories may contain invalid @@ -6,24 +9,6 @@ # and remount overlay. This may lead to whiteouts exposure and # rmdir failure. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Huawei. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/032 b/tests/overlay/032 index 40dcba9c..8d7bad8c 100755 --- a/tests/overlay/032 +++ b/tests/overlay/032 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 032 # # Test concurrent copy up of lower hardlinks. @@ -9,25 +12,6 @@ # should end up being upper hardlinks and both metadata changes should be # applied. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/033 b/tests/overlay/033 index 3e675001..2fedda6f 100755 --- a/tests/overlay/033 +++ b/tests/overlay/033 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 033 # # Test nlink accounting of overlay hardlinks. @@ -6,25 +9,6 @@ # nlink of overlay inode should account for the union of lower and upper # hardlinks. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/034 b/tests/overlay/034 index d9f9798a..ea0e6f55 100755 --- a/tests/overlay/034 +++ b/tests/overlay/034 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 034 # # Test overlay nlink when adding lower hardlinks. @@ -20,25 +23,6 @@ # With overlayfs indexed copy up and without the fix, the test triggers # WARN_ON(inode->i_nlink == 0) in drop_link(). # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/035 b/tests/overlay/035 index d1b2c19b..f36c1e10 100755 --- a/tests/overlay/035 +++ b/tests/overlay/035 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 035 # # Test cases that force read-only mount @@ -6,25 +9,6 @@ # - No upper dir # - Failure to create work dir # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/036 b/tests/overlay/036 index 8d3ccf49..d7cdc573 100755 --- a/tests/overlay/036 +++ b/tests/overlay/036 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 036 # # Test mount error cases with exclusive directories @@ -22,25 +25,6 @@ # - Upper dir is in-use by another overlay mount # - Work dir is in-use by another overlay mount # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/037 b/tests/overlay/037 index 4e2e5df9..e7375582 100755 --- a/tests/overlay/037 +++ b/tests/overlay/037 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 037 # # Test mount error cases with option index=on @@ -11,25 +14,6 @@ # # Failure to verify lowerdir/upperdir on mount results in ESTALE. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/038 b/tests/overlay/038 index 972a16ea..716d0fca 100755 --- a/tests/overlay/038 +++ b/tests/overlay/038 @@ -1,28 +1,11 @@ #! /bin/bash -# FSQA Test No. 038 -# -# Test consistent d_ino numbers for samefs setup. -# -#----------------------------------------------------------------------- -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2017 IBM Corporation. All Rights Reserved. -# Author: Chandan Rajendra # -# 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. +# FSQA Test No. 038 # -# 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 -#----------------------------------------------------------------------- +# Test consistent d_ino numbers for samefs setup. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/039 b/tests/overlay/039 index cd81ce53..d5f68223 100755 --- a/tests/overlay/039 +++ b/tests/overlay/039 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Huawei. All Rights Reserved. +# # FS QA Test 039 # # Test access time update issue for directories in upper layer. @@ -6,25 +9,6 @@ # Upstream Commit cd91304e7190 ("ovl: fix relatime for directories") # fixed this issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Huawei. All Rights Reserved. -# Author: zhangyi (F) -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/040 b/tests/overlay/040 index 4fff7570..f3e31574 100755 --- a/tests/overlay/040 +++ b/tests/overlay/040 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Huawei. All Rights Reserved. +# # FS QA Test 040 # # chattr with [iap..] attributes open file for read-only and @@ -10,25 +13,6 @@ # ioctl on lower layer") return EPERM for this case to avoid # this issue. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Huawei. All Rights Reserved. -# Author: zhangyi (F) -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/041 b/tests/overlay/041 index 458c9008..2c4f9fd1 100755 --- a/tests/overlay/041 +++ b/tests/overlay/041 @@ -1,30 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 IBM Corporation. All Rights Reserved. +# # FSQA Test No. 041 # # Test consistent d_ino numbers on non-samefs setup # This is a variant of overlay/038 to test consistent d_ino numbers # for non-samefs setup. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 IBM Corporation. All Rights Reserved. -# Author: Chandan Rajendra -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/042 b/tests/overlay/042 index 8967ff37..c739e888 100755 --- a/tests/overlay/042 +++ b/tests/overlay/042 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 042 # # Test creating lower hardlinks for copied up files. @@ -15,25 +18,6 @@ # This test verifies that behavior is sane after creating lower hardlinks # for copied up files while overlayfs is offline. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/043 b/tests/overlay/043 index d11459cf..8debefcc 100755 --- a/tests/overlay/043 +++ b/tests/overlay/043 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 IBM Corporation. All Rights Reserved. +# # FSQA Test No. 043 # # Test constant inode numbers on non-samefs setup @@ -14,26 +17,6 @@ # and if inode numbers persist after rename, drop caches and # mount cycle. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 IBM Corporation. All Rights Reserved. -# Author: Chandan Rajendra -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/044 b/tests/overlay/044 index 7b07f3ce..f5b465aa 100755 --- a/tests/overlay/044 +++ b/tests/overlay/044 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 IBM Corporation. All Rights Reserved. +# # FSQA Test No. 044 # # Test hardlink breakage on non-samefs setup @@ -9,26 +12,6 @@ # - modify A to trigger copy up # - file A is no longer a hardlink of file B # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 IBM Corporation. All Rights Reserved. -# Author: Chandan Rajendra -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/045 b/tests/overlay/045 index 6158dbd5..acc70871 100755 --- a/tests/overlay/045 +++ b/tests/overlay/045 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 045 -# -# Test fsck.overlay how to deal with whiteouts in overlayfs. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2018 Huawei. All Rights Reserved. -# Author: zhangyi (F) # -# 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. +# FS QA Test No. 045 # -# 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 -#----------------------------------------------------------------------- +# Test fsck.overlay how to deal with whiteouts in overlayfs. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/046 b/tests/overlay/046 index b0ede6cd..1c09609c 100755 --- a/tests/overlay/046 +++ b/tests/overlay/046 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 046 -# -# Test fsck.overlay how to deal with redirect xattr in overlayfs. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2018 Huawei. All Rights Reserved. -# Author: zhangyi (F) # -# 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. +# FS QA Test No. 046 # -# 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 -#----------------------------------------------------------------------- +# Test fsck.overlay how to deal with redirect xattr in overlayfs. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/047 b/tests/overlay/047 index ad1aabe4..8fe508db 100755 --- a/tests/overlay/047 +++ b/tests/overlay/047 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 047 # # Test hardlink breakage after unlink and mount cycle @@ -8,26 +11,6 @@ # - unlink A and mount cycle # - check that B still contains the modified data # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/048 b/tests/overlay/048 index 3ce62704..b8a985cf 100755 --- a/tests/overlay/048 +++ b/tests/overlay/048 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test 048 # # Test nlink accounting of overlay hardlinks with offline modifications. @@ -7,25 +10,6 @@ # hardlinks. Orphan index inodes with union nlink 0 should be cleaned on # mount. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/049 b/tests/overlay/049 index 376acf59..8d784d8a 100755 --- a/tests/overlay/049 +++ b/tests/overlay/049 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test 049 # # Test multiple redirects to the same lower dir. @@ -13,25 +16,6 @@ # The check for multiply redirected dir was a by-product of kernel # commit 31747eda41ef ("ovl: hash directory inodes for fsnotify") # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/050 b/tests/overlay/050 index 31d97002..a4c797c6 100755 --- a/tests/overlay/050 +++ b/tests/overlay/050 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 050 # # Test encode/decode overlay file handles @@ -11,25 +14,6 @@ # This test requires and enables overlayfs NFS export support. # NFS export support depends on and requires overlayfs index feature. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/051 b/tests/overlay/051 index 04bd1338..c5b59ddf 100755 --- a/tests/overlay/051 +++ b/tests/overlay/051 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 051 # # Test encode/decode overlay file handles for non-samefs. @@ -14,25 +17,6 @@ # This test requires and enables overlayfs NFS export support. # NFS export support depends on and requires overlayfs index feature. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/052 b/tests/overlay/052 index 130adf22..b1cf0da6 100755 --- a/tests/overlay/052 +++ b/tests/overlay/052 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 052 # # Test encode/decode overlay file handles with renames @@ -12,25 +15,6 @@ # dir rename support (redirect_dir). # NFS export support depends on and requires overlayfs index feature. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/053 b/tests/overlay/053 index d766cde7..ff954247 100755 --- a/tests/overlay/053 +++ b/tests/overlay/053 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 053 # # Test encode/decode of non-samefs overlay file handles with renames @@ -16,25 +19,6 @@ # dir rename support (redirect_dir). # NFS export support depends on and requires overlayfs index feature. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/054 b/tests/overlay/054 index a1011e42..4457d3fc 100755 --- a/tests/overlay/054 +++ b/tests/overlay/054 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 054 # # Test encode/decode overlay file handle of dir with non-indexed ancestor @@ -25,25 +28,6 @@ # Regression test for kernel commit 2ca3c148a062 ("ovl: check lower ancestry # on encode of lower dir file handle") # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/055 b/tests/overlay/055 index 0bb90390..c0bc6122 100755 --- a/tests/overlay/055 +++ b/tests/overlay/055 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 055 # # Test overlay file handle of dir with ancestor under lower redirect @@ -23,25 +26,6 @@ # Regression test for kernel commit 2ca3c148a062 ("ovl: check lower ancestry # on encode of lower dir file handle") # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/056 b/tests/overlay/056 index 3a85c821..778e1f6a 100755 --- a/tests/overlay/056 +++ b/tests/overlay/056 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 056 -# -# Test fsck.overlay how to deal with impure xattr in overlayfs. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2018 Huawei. All Rights Reserved. -# Author: zhangyi (F) # -# 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. +# FS QA Test No. 056 # -# 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 -#----------------------------------------------------------------------- +# Test fsck.overlay how to deal with impure xattr in overlayfs. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/057 b/tests/overlay/057 index 75b907ae..1265a577 100755 --- a/tests/overlay/057 +++ b/tests/overlay/057 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 057 # # Test absolute redirect is followed even if ancestor is opaque @@ -16,25 +19,6 @@ # "redirect" directory in upper should merge with lower1:/a/b/c/ and # lower0:/a/b/d/, despite lower1:/a/b/ being opaque. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. -# Author: Vivek Goyal -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/058 b/tests/overlay/058 index 4c4ca459..fe766342 100755 --- a/tests/overlay/058 +++ b/tests/overlay/058 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 058 # # Test decoding overlay file handles with warm/cold dentry cache @@ -12,25 +15,6 @@ # This test requires and enables overlayfs NFS export support. # NFS export support depends on and requires overlayfs index feature. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/059 b/tests/overlay/059 index 5ac2b1b6..e8639735 100755 --- a/tests/overlay/059 +++ b/tests/overlay/059 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test 059 # # Test multiple origin references to the same lower file. @@ -14,25 +17,6 @@ # The check for multiply referenced origin was a by-product of kernel # commit 31747eda41ef ("ovl: hash directory inodes for fsnotify") # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/overlay/060 b/tests/overlay/060 index f1a9d346..68b8776e 100755 --- a/tests/overlay/060 +++ b/tests/overlay/060 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 060 -# -# Test metadata only copy up functionality. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2018 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. +# FS QA Test No. 060 # -# 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 -#----------------------------------------------------------------------- +# Test metadata only copy up functionality. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/perf/001 b/tests/perf/001 index a9e933df..5a6d9b29 100755 --- a/tests/perf/001 +++ b/tests/perf/001 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # perf/001 Test # # Buffered random write performance test. # -#----------------------------------------------------------------------- -# (c) 2017 Josef Bacik -# -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/001 b/tests/shared/001 index 49991fda..bde6e198 100755 --- a/tests/shared/001 +++ b/tests/shared/001 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 001 # # Test truncate orphan inodes when mounting extN. @@ -6,24 +9,6 @@ # # 721e3eb ext4: lock i_mutex when truncating orphan inodes # -#----------------------------------------------------------------------- -# Copyright (c) 2015 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/002 b/tests/shared/002 index 0b278396..30ece337 100755 --- a/tests/shared/002 +++ b/tests/shared/002 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 002 # # Test that after syncing the filesystem, adding many xattrs to a file, syncing @@ -9,25 +12,6 @@ # # This test is motivated by a bug found in btrfs. # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/003 b/tests/shared/003 index 9a9956cf..761b9691 100755 --- a/tests/shared/003 +++ b/tests/shared/003 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 003 # # Test mount a needs_recovery partition with noload option. @@ -8,24 +11,6 @@ # # Also test on ext2/3. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/004 b/tests/shared/004 index 4bdae189..3021c85d 100755 --- a/tests/shared/004 +++ b/tests/shared/004 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 004 # # Regression test for commit: # c9eb13a ext4: fix hang when processing corrupted orphaned inode list # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/005 b/tests/shared/005 index de7b84ff..67940dd0 100755 --- a/tests/shared/005 +++ b/tests/shared/005 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FSQA Test No. 005 # # Since loff_t is a signed type, it is invalid for a filesystem to load @@ -10,23 +13,6 @@ # So, create this malformed inode and try a buffered append to make # sure we catch this situation. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Oracle, 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/006 b/tests/shared/006 index 6a237c95..aa65e9a2 100755 --- a/tests/shared/006 +++ b/tests/shared/006 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. shared/006 # # Stress test fs by using up all inodes and check fs. @@ -6,24 +9,6 @@ # Also a regression test for xfsprogs commit # d586858 xfs_repair: fix sibling pointer tests in verify_dir2_path() # -#----------------------------------------------------------------------- -# Copyright (c) 2014 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/007 b/tests/shared/007 index 785f19f3..65cb5273 100755 --- a/tests/shared/007 +++ b/tests/shared/007 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FSQA Test No. 007 # # Since loff_t is a signed type, it is invalid for a filesystem to load @@ -10,23 +13,6 @@ # So, create this malformed inode and try a dio append to make sure we # catch this situation. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Oracle, 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 -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/032 b/tests/shared/032 index 3b063826..3b0263b2 100755 --- a/tests/shared/032 +++ b/tests/shared/032 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 032 -# -# cross check mkfs detection of foreign filesystems -# -#----------------------------------------------------------------------- +# 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 +# FS QA Test No. 032 # -#----------------------------------------------------------------------- +# cross check mkfs detection of foreign filesystems # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/272 b/tests/shared/272 index 0c9763df..b94dfc3c 100755 --- a/tests/shared/272 +++ b/tests/shared/272 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 272 -# -# Test data journaling flag switch for a single file -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 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 +# FSQA Test No. 272 # -#----------------------------------------------------------------------- +# Test data journaling flag switch for a single file # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/289 b/tests/shared/289 index 4a2e04c5..94b64430 100755 --- a/tests/shared/289 +++ b/tests/shared/289 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 289 -# -# Test overhead & df output for extN filesystems -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2012 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. +# FS QA Test No. 289 # -# 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 -#----------------------------------------------------------------------- +# Test overhead & df output for extN filesystems # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/shared/298 b/tests/shared/298 index 9c8e0966..e7b7b233 100755 --- a/tests/shared/298 +++ b/tests/shared/298 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 298 -# -# Test that filesystem sends discard requests only on free blocks -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2013 Red Hat, Inc., Tomas Racek # -# 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. +# FS QA Test No. 298 # -# 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 -#----------------------------------------------------------------------- +# Test that filesystem sends discard requests only on free blocks # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/udf/102 b/tests/udf/102 index dd644c01..acfa85c3 100755 --- a/tests/udf/102 +++ b/tests/udf/102 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 102 # # This tests mkfs_udf/mkudffs and the device detection code # Modified from UDFQA test 031. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" -- 2.30.2