From: Dave Chinner Date: Sat, 9 Jun 2018 01:35:45 +0000 (+1000) Subject: xfs: convert tests to SPDX license tags X-Git-Tag: v2022.05.01~1502 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2529c9486a99ffb0a9e0b48819b1f4af796ef20f;p=users%2Fhch%2Fxfstests-dev.git xfs: convert tests to SPDX license tags Fully scripted conversion, see script in initial SPDX license commit message. tests/xfs/044 was hand massaged to remove duplicate copyright and divider lines before running the script. Signed-off-by: Dave Chinner --- diff --git a/tests/xfs/001 b/tests/xfs/001 index 2c205f064..ac86c3b1e 100755 --- a/tests/xfs/001 +++ b/tests/xfs/001 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 SGI. All Rights Reserved. +# # FS QA Test No. 001 # # Test the xfs_db write of the XFS BMBT entries. For each XFS BMBT field, # write the value 0, each bit and finally the entry beyond the maximum legal # value. Also makes sure a core write and hex input still work. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/002 b/tests/xfs/002 index a61147488..bd1c0a7a0 100755 --- a/tests/xfs/002 +++ b/tests/xfs/002 @@ -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. 002 # # Test that garbage in old v4 superblocks doesn't trip verifiers during growfs @@ -10,24 +13,6 @@ # for further explanation. (NB: while the commit log was good, the # patch had a bug which was subsequently fixed) # -#----------------------------------------------------------------------- -# 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/xfs/003 b/tests/xfs/003 index 3cc52423f..1ce3e5ce7 100755 --- a/tests/xfs/003 +++ b/tests/xfs/003 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 003 -# -# exercise xfs_db bug #784078 -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 003 # -#----------------------------------------------------------------------- +# exercise xfs_db bug #784078 # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/004 b/tests/xfs/004 index f06c4f0ff..bf03583d7 100755 --- a/tests/xfs/004 +++ b/tests/xfs/004 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 004 -# -# exercise xfs_db bug #789674 and other freesp functionality -# -#----------------------------------------------------------------------- +# 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. 004 # -#----------------------------------------------------------------------- +# exercise xfs_db bug #789674 and other freesp functionality # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/005 b/tests/xfs/005 index 0978729bc..ab7712232 100755 --- a/tests/xfs/005 +++ b/tests/xfs/005 @@ -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. 005 # # Test that a bad crc on a primary V5 superblock will fail the mount @@ -7,24 +10,6 @@ # inadvertently caused primary SB CRC failures to not error out, this # is a regression test for that fix. # -#----------------------------------------------------------------------- -# 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/xfs/006 b/tests/xfs/006 index 982a161e5..2ee066200 100755 --- a/tests/xfs/006 +++ b/tests/xfs/006 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 006 # # Test xfs' "fail at unmount" error handling configuration. Stop # XFS from retrying to writeback forever at unmount. # -#----------------------------------------------------------------------- -# 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/xfs/007 b/tests/xfs/007 index 215bd1d58..7e965a642 100755 --- a/tests/xfs/007 +++ b/tests/xfs/007 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. xfs/007 -# -# Test to verify Q_XQUOTARM functionality. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. xfs/007 # -# 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 to verify Q_XQUOTARM functionality. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/008 b/tests/xfs/008 index d38d320f0..968a80528 100755 --- a/tests/xfs/008 +++ b/tests/xfs/008 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 008 -# -# randholes test -# -#----------------------------------------------------------------------- +# 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. 008 # -#----------------------------------------------------------------------- +# randholes test # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/009 b/tests/xfs/009 index 1caeb33e7..68f63798c 100755 --- a/tests/xfs/009 +++ b/tests/xfs/009 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 009 -# -# XFS allocator test (preallocation - allocp, resvsp ,etc) -# -#----------------------------------------------------------------------- +# 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. 009 # -#----------------------------------------------------------------------- +# XFS allocator test (preallocation - allocp, resvsp ,etc) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/010 b/tests/xfs/010 index 17607d6d5..ee1595c89 100755 --- a/tests/xfs/010 +++ b/tests/xfs/010 @@ -1,29 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. xfs/010 # # Test xfs_repair of the free inode btree (finobt). Make a couple targeted # corruptions and verify that xfs_repair detects and repairs the filesystem to # a consistent state. # -#----------------------------------------------------------------------- -# 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/xfs/011 b/tests/xfs/011 index dde06d765..69723a908 100755 --- a/tests/xfs/011 +++ b/tests/xfs/011 @@ -1,29 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. xfs/011 # # Test the xfs log reservation mechanism for leaks. Run an fsstress workload to # include a variety of fs operations, freeze the filesystem and verify that # there are no oustanding reservations against the log. # -#----------------------------------------------------------------------- -# 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/xfs/012 b/tests/xfs/012 index e2c810dd6..d7818a76c 100755 --- a/tests/xfs/012 +++ b/tests/xfs/012 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 012 -# -# holes -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 012 # -#----------------------------------------------------------------------- +# holes # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/013 b/tests/xfs/013 index 394b9bce8..4d31d793a 100755 --- a/tests/xfs/013 +++ b/tests/xfs/013 @@ -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. xfs/013 # # Exercise the free inode btree (finobt). XFS allocates physical inodes in @@ -7,25 +10,6 @@ # and modifies a sparsely allocated set of inodes in combination with an # fsstress workload. # -#----------------------------------------------------------------------- -# 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/xfs/014 b/tests/xfs/014 index 08cd001f7..84e4e71ab 100755 --- a/tests/xfs/014 +++ b/tests/xfs/014 @@ -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. xfs/014 # # Test the behavior of XFS dynamic speculative preallocation at ENOSPC and @@ -8,25 +11,6 @@ # new writers reclaim said preallocations rather than prematurely fail with # ENOSPC/EDQUOT. # -#----------------------------------------------------------------------- -# 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/xfs/015 b/tests/xfs/015 index 4939bb92f..80a49497e 100755 --- a/tests/xfs/015 +++ b/tests/xfs/015 @@ -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. xfs/015 # # Make sure inodes can be allocated in new space added by xfs_growfs @@ -6,24 +9,6 @@ # Regression test for # xfs: allow inode allocations in post-growfs disk space # -#----------------------------------------------------------------------- -# 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/xfs/016 b/tests/xfs/016 index fde76622f..3407a4b16 100755 --- a/tests/xfs/016 +++ b/tests/xfs/016 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 016 -# -# test end of log overwrite bug #796141 -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 016 # -#----------------------------------------------------------------------- +# test end of log overwrite bug #796141 # - # # pv 796141 # diff --git a/tests/xfs/017 b/tests/xfs/017 index 5aeba16e0..879e11b0a 100755 --- a/tests/xfs/017 +++ b/tests/xfs/017 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 017 -# -# test remount ro - pv 795642 -# -#----------------------------------------------------------------------- +# 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. 017 # -#----------------------------------------------------------------------- +# test remount ro - pv 795642 # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/018 b/tests/xfs/018 index b29138215..aa57dec9b 100755 --- a/tests/xfs/018 +++ b/tests/xfs/018 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 018 -# -# xfs_logprint test - test v2 logs of different LR sizes -# -#----------------------------------------------------------------------- +# 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. 018 # -#----------------------------------------------------------------------- +# xfs_logprint test - test v2 logs of different LR sizes # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/019 b/tests/xfs/019 index 10d449468..f42b62bb2 100755 --- a/tests/xfs/019 +++ b/tests/xfs/019 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 019 -# -# mkfs protofile test -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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 +# FS QA Test No. 019 # -#----------------------------------------------------------------------- +# mkfs protofile test # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/020 b/tests/xfs/020 index b03736955..61da41017 100755 --- a/tests/xfs/020 +++ b/tests/xfs/020 @@ -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. xfs/020 # # Test segfault issue when repairing large xfs. @@ -6,24 +9,6 @@ # Regression test for xfsprogs commit # 7f2d6b8 xfs_repair: avoid segfault if reporting progress early in repair # -#----------------------------------------------------------------------- -# 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/xfs/021 b/tests/xfs/021 index f8f4e1565..e600b8184 100755 --- a/tests/xfs/021 +++ b/tests/xfs/021 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 021 -# -# xfs_db type attr test (pv 797508 linux-xfs & IRIX) -# -#----------------------------------------------------------------------- +# 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. 021 # -#----------------------------------------------------------------------- +# xfs_db type attr test (pv 797508 linux-xfs & IRIX) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/022 b/tests/xfs/022 index ebe539ab9..e11627989 100755 --- a/tests/xfs/022 +++ b/tests/xfs/022 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 022 # # Test out a level 0 dump/restore to a tape of a subdir @@ -6,25 +9,6 @@ # # Use fsstress to create a directory structure with a mix of files # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/023 b/tests/xfs/023 index fff49d563..b07634023 100755 --- a/tests/xfs/023 +++ b/tests/xfs/023 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 023 # # To test xfsdump/restore to tape using a directory with # files with data created by src/fill. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/024 b/tests/xfs/024 index 2e1328877..bf2221506 100755 --- a/tests/xfs/024 +++ b/tests/xfs/024 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 024 -# -# Test out incremental dumps -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 024 # -#----------------------------------------------------------------------- +# Test out incremental dumps # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/025 b/tests/xfs/025 index ff29b995d..5ce844e62 100755 --- a/tests/xfs/025 +++ b/tests/xfs/025 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 025 -# -# Test dump/restore using -m option (min strategy) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 025 # -#----------------------------------------------------------------------- +# Test dump/restore using -m option (min strategy) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/026 b/tests/xfs/026 index 2111190bc..d4fd636c7 100755 --- a/tests/xfs/026 +++ b/tests/xfs/026 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 026 -# -# Test xfsdump/xfsrestore to a dump file (as opposed to a tape) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 026 # -#----------------------------------------------------------------------- +# Test xfsdump/xfsrestore to a dump file (as opposed to a tape) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/027 b/tests/xfs/027 index 58a62482a..8459c5ad5 100755 --- a/tests/xfs/027 +++ b/tests/xfs/027 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 027 -# -# Test out "xfsdump | xfsrestore" -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 027 # -#----------------------------------------------------------------------- +# Test out "xfsdump | xfsrestore" # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/028 b/tests/xfs/028 index 19e096037..b71039b90 100755 --- a/tests/xfs/028 +++ b/tests/xfs/028 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 028 -# -# To test out xfsinvutil -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 028 # -#----------------------------------------------------------------------- +# To test out xfsinvutil # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/029 b/tests/xfs/029 index 0709fceaf..f532a21b8 100755 --- a/tests/xfs/029 +++ b/tests/xfs/029 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 029 -# -# exercise mkfs log (internal/external) zeroing -# -#----------------------------------------------------------------------- +# 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. 029 # -#----------------------------------------------------------------------- +# exercise mkfs log (internal/external) zeroing # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/030 b/tests/xfs/030 index fcea75447..5ed996283 100755 --- a/tests/xfs/030 +++ b/tests/xfs/030 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 030 -# -# exercise xfs_repair repairing broken 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. 030 # -#----------------------------------------------------------------------- +# exercise xfs_repair repairing broken filesystems # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/031 b/tests/xfs/031 index b05f28b0d..6403fd400 100755 --- a/tests/xfs/031 +++ b/tests/xfs/031 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 031 -# -# exercise xfs_repair - ensure repeated use doesn't corrupt -# -#----------------------------------------------------------------------- +# 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. 031 # -#----------------------------------------------------------------------- +# exercise xfs_repair - ensure repeated use doesn't corrupt # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/032 b/tests/xfs/032 index a6923b087..597fd0ee0 100755 --- a/tests/xfs/032 +++ b/tests/xfs/032 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 032 # # Test xfs_copy for all filesystem sector size / block size # combinations possible on this platform. # -#----------------------------------------------------------------------- -# 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/xfs/033 b/tests/xfs/033 index 321856fcd..5af0aefc1 100755 --- a/tests/xfs/033 +++ b/tests/xfs/033 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 033 -# -# exercise xfs_repair repairing broken filesystems (root inodes) -# -#----------------------------------------------------------------------- +# 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. 033 # -#----------------------------------------------------------------------- +# exercise xfs_repair repairing broken filesystems (root inodes) # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/034 b/tests/xfs/034 index a3db571ad..a831a96d7 100755 --- a/tests/xfs/034 +++ b/tests/xfs/034 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 034 -# -# pv 801241 - check for reference leaks from the *handle xfsctls -# -#----------------------------------------------------------------------- +# 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. 034 # -#----------------------------------------------------------------------- +# pv 801241 - check for reference leaks from the *handle xfsctls # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/035 b/tests/xfs/035 index 1fde45df1..1874173f4 100755 --- a/tests/xfs/035 +++ b/tests/xfs/035 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 035 -# -# Test doing multiple dumps to tape and restoring the 2nd one -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 035 # -#----------------------------------------------------------------------- +# Test doing multiple dumps to tape and restoring the 2nd one # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/036 b/tests/xfs/036 index 2a930b20d..8d61a7193 100755 --- a/tests/xfs/036 +++ b/tests/xfs/036 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 036 -# -# Test xfsdump/restore minrmt to a remote IRIX tape -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 036 # -#----------------------------------------------------------------------- +# Test xfsdump/restore minrmt to a remote IRIX tape # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/037 b/tests/xfs/037 index ff736d57f..478157e47 100755 --- a/tests/xfs/037 +++ b/tests/xfs/037 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 037 -# -# Test xfsdump/restore minrmt to a remote linux tape -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 037 # -#----------------------------------------------------------------------- +# Test xfsdump/restore minrmt to a remote linux tape # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/038 b/tests/xfs/038 index 107e8029c..43fdc2c33 100755 --- a/tests/xfs/038 +++ b/tests/xfs/038 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 038 -# -# Test xfsdump/restore to a remote linux tape -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 038 # -#----------------------------------------------------------------------- +# Test xfsdump/restore to a remote linux tape # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/039 b/tests/xfs/039 index 51d5544af..79284afd5 100755 --- a/tests/xfs/039 +++ b/tests/xfs/039 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 039 -# -# Test xfsdump/restore to a remote IRIX tape -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 039 # -#----------------------------------------------------------------------- +# Test xfsdump/restore to a remote IRIX tape # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/040 b/tests/xfs/040 index 3fd318992..c1a94699b 100755 --- a/tests/xfs/040 +++ b/tests/xfs/040 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 040 # # compare-libxfs test @@ -8,25 +11,6 @@ # is no functional need for anyone to actually run this test to confirm # proper XFS functionalilty, this is an xfsprogs maintainer test. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/041 b/tests/xfs/041 index d5ecc6df8..1c45b8c34 100755 --- a/tests/xfs/041 +++ b/tests/xfs/041 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 041 # # growfs QA tests - repeatedly fill/grow the filesystem # check the filesystem contents after each operation # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# set +x seq=`basename $0` diff --git a/tests/xfs/042 b/tests/xfs/042 index 45117d9c5..43276f7f0 100755 --- a/tests/xfs/042 +++ b/tests/xfs/042 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 042 # # xfs_fsr QA tests # create a large fragmented file and check that xfs_fsr doesn't corrupt # it or the other contents of the filesystem # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# set +x seq=`basename $0` diff --git a/tests/xfs/043 b/tests/xfs/043 index 9bd6f1ec0..b60c28709 100755 --- a/tests/xfs/043 +++ b/tests/xfs/043 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 043 # # Test out xfsdump/restore but rmv inventory prior to restore. # This checks that the on-disk inventory can be successfully # rebuilt from the on-tape inventory. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/044 b/tests/xfs/044 index 70f72d693..4a476985f 100755 --- a/tests/xfs/044 +++ b/tests/xfs/044 @@ -1,31 +1,11 @@ #! /bin/bash -# FS QA Test No. 044 -# -# external log uuid/format tests (TODO - version 2 log format) -# -#----------------------------------------------------------------------- -# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. -#----------------------------------------------------------------------- -# -#----------------------------------------------------------------------- +# 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. 044 # -#----------------------------------------------------------------------- +# external log uuid/format tests (TODO - version 2 log format) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/045 b/tests/xfs/045 index adf856637..0c9e1b79a 100755 --- a/tests/xfs/045 +++ b/tests/xfs/045 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 045 -# -# test mount of two FSes with identical UUID and mount with unknown option -# -#----------------------------------------------------------------------- +# 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. 045 # -#----------------------------------------------------------------------- +# test mount of two FSes with identical UUID and mount with unknown option # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/046 b/tests/xfs/046 index 446a69dc7..c5358c29c 100755 --- a/tests/xfs/046 +++ b/tests/xfs/046 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 046 -# -# check on symlinks permissions -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 046 # -#----------------------------------------------------------------------- +# check on symlinks permissions # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/047 b/tests/xfs/047 index 6ade16783..ddf871f87 100755 --- a/tests/xfs/047 +++ b/tests/xfs/047 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 047 -# -# invutil with interactive responses -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 047 # -#----------------------------------------------------------------------- +# invutil with interactive responses # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/048 b/tests/xfs/048 index 32dbc0578..424e15ced 100755 --- a/tests/xfs/048 +++ b/tests/xfs/048 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 048 -# -# test return codes from xfsctl on bad userspace address -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 048 # -#----------------------------------------------------------------------- +# test return codes from xfsctl on bad userspace address # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/049 b/tests/xfs/049 index 8d4e07479..050dd1fb6 100755 --- a/tests/xfs/049 +++ b/tests/xfs/049 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 049 -# -# XFS on loop test -# -#----------------------------------------------------------------------- +# 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. 049 # -#----------------------------------------------------------------------- +# XFS on loop test # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/050 b/tests/xfs/050 index ac7feb482..dd77971c4 100755 --- a/tests/xfs/050 +++ b/tests/xfs/050 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 050 # # Exercises basic XFS quota functionality # uquota, gquota, uqnoenforce, gqnoenforce, pquota, pqnoenforce # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/051 b/tests/xfs/051 index f38743c30..bcc824f82 100755 --- a/tests/xfs/051 +++ b/tests/xfs/051 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 051 # # Simulate a buffer use after free race in XFS log recovery. The race triggers # on I/O failures during log recovery. Note that this test is dangerous as it # causes BUG() errors or a panic. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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/xfs/052 b/tests/xfs/052 index faad218e0..fed5723f3 100755 --- a/tests/xfs/052 +++ b/tests/xfs/052 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 052 # # Ensure that quota(1) displays blocksizes matching ondisk dquots. @@ -6,25 +9,6 @@ # MOUNT_OPTIONS can be set to gquota to test group quota, # defaults to uquota if MOUNT_OPTIONS is not set. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/053 b/tests/xfs/053 index 353dda349..84d841045 100755 --- a/tests/xfs/053 +++ b/tests/xfs/053 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 053 # # Ensure that xfs_repair can properly spot SGI_ACL_FILE @@ -7,24 +10,6 @@ # Due to bugs here and there, we sometimes matched on partial # strings with those names, and threw off xfs_repair. # -#----------------------------------------------------------------------- -# 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/xfs/054 b/tests/xfs/054 index 57b49e79b..74153d2bd 100755 --- a/tests/xfs/054 +++ b/tests/xfs/054 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 054 -# -# Exercise the xfs_io inode command -# -#----------------------------------------------------------------------- +# 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 054 # -# 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 -#----------------------------------------------------------------------- +# Exercise the xfs_io inode command # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/055 b/tests/xfs/055 index 9f67e1766..8a30d4b3a 100755 --- a/tests/xfs/055 +++ b/tests/xfs/055 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 055 -# -# Test xfsdump/restore to a remote IRIX tape using RMT user -# -#----------------------------------------------------------------------- +# 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. 055 # -#----------------------------------------------------------------------- +# Test xfsdump/restore to a remote IRIX tape using RMT user # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/056 b/tests/xfs/056 index 613539a70..533fef2ef 100755 --- a/tests/xfs/056 +++ b/tests/xfs/056 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 056 # # Test xfsdump/xfsrestore to a dump file (as opposed to a tape) # and test restoring various permissions/modes # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/057 b/tests/xfs/057 index 228f52bb0..0729b79b6 100755 --- a/tests/xfs/057 +++ b/tests/xfs/057 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 057 # # Attempt to reproduce log recovery failure by writing corrupt log records over @@ -17,24 +20,6 @@ # # Note that this test requires a DEBUG mode kernel. # -#----------------------------------------------------------------------- -# 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/xfs/058 b/tests/xfs/058 index 32ceb0d12..681275806 100755 --- a/tests/xfs/058 +++ b/tests/xfs/058 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 058 -# -# Ensure that xfs_db fuzz command works as advertised. -# -#----------------------------------------------------------------------- +# 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. 058 # -# 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 xfs_db fuzz command works as advertised. # -# 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/xfs/059 b/tests/xfs/059 index 69338acda..949dbe815 100755 --- a/tests/xfs/059 +++ b/tests/xfs/059 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 059 -# -# Test multi-stream xfsdump/xfsrestore. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001, 2011 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 059 # -#----------------------------------------------------------------------- +# Test multi-stream xfsdump/xfsrestore. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/060 b/tests/xfs/060 index 477b96462..ca7099832 100755 --- a/tests/xfs/060 +++ b/tests/xfs/060 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 060 -# -# Test multi-stream xfsdump and restoring one stream at a time. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001, 2011 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 060 # -#----------------------------------------------------------------------- +# Test multi-stream xfsdump and restoring one stream at a time. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/061 b/tests/xfs/061 index 8a4e254a8..fcea0ee89 100755 --- a/tests/xfs/061 +++ b/tests/xfs/061 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 061 -# -# Test restoring a dump created in IRIX/XFS -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 061 # -#----------------------------------------------------------------------- +# Test restoring a dump created in IRIX/XFS # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/062 b/tests/xfs/062 index cc3782e00..755c52438 100755 --- a/tests/xfs/062 +++ b/tests/xfs/062 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 062 # # Use the bstat utility to verify bulkstat finds all inodes in a filesystem. # Test under various inode counts, inobt record layouts and bulkstat batch # sizes. # -#----------------------------------------------------------------------- -# 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/xfs/063 b/tests/xfs/063 index 8494f8f36..f4c658070 100755 --- a/tests/xfs/063 +++ b/tests/xfs/063 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 063 -# -# xfsdump/xfsrestore with EAs -# -#----------------------------------------------------------------------- +# 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. 063 # -#----------------------------------------------------------------------- +# xfsdump/xfsrestore with EAs # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/064 b/tests/xfs/064 index 306e2cce7..f8fc382af 100755 --- a/tests/xfs/064 +++ b/tests/xfs/064 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 064 -# -# test multilevel dump and restores with hardlinks -# -#----------------------------------------------------------------------- +# 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. 064 # -#----------------------------------------------------------------------- +# test multilevel dump and restores with hardlinks # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/065 b/tests/xfs/065 index b7da0b8cf..3fcdb604f 100755 --- a/tests/xfs/065 +++ b/tests/xfs/065 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 065 # # Testing incremental dumps and cumulative restores with @@ -6,25 +9,6 @@ # directories". # Do different operations for each level. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/066 b/tests/xfs/066 index 061ce2ddb..b7da7966a 100755 --- a/tests/xfs/066 +++ b/tests/xfs/066 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 066 -# -# Test dumping of large files -# -#----------------------------------------------------------------------- +# 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. 066 # -#----------------------------------------------------------------------- +# Test dumping of large files # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/067 b/tests/xfs/067 index 4aa8966d7..ae96ded84 100755 --- a/tests/xfs/067 +++ b/tests/xfs/067 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 067 -# -# Test out acl/dacls which fit in shortform in the inode -# -#----------------------------------------------------------------------- +# 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. 067 # -#----------------------------------------------------------------------- +# Test out acl/dacls which fit in shortform in the inode # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/068 b/tests/xfs/068 index 7151e28ef..c755bc3e5 100755 --- a/tests/xfs/068 +++ b/tests/xfs/068 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 068 # # Test out a level 0 dump/restore of a subdir to a file @@ -7,25 +10,6 @@ # Test for regression caused by # c7cb51d xfs: fix error handling at xfs_inumbers # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Eric Sandeen. 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 -# -#----------------------------------------------------------------------- -# - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/069 b/tests/xfs/069 index 82c5c6c92..bad44ccb0 100755 --- a/tests/xfs/069 +++ b/tests/xfs/069 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Google Inc. All Rights Reserved. +# # FS QA Test No. 069 # # Determine whether the extent size hint can be set on directories # with allocated extents correctly. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 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/xfs/070 b/tests/xfs/070 index 81111d5d0..5d52a830b 100755 --- a/tests/xfs/070 +++ b/tests/xfs/070 @@ -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. 070 # # As part of superblock verification, xfs_repair checks the primary sb and @@ -15,24 +18,6 @@ # verify it repairs the fs correctly. We explicitly detect a brute force scan # and abort the repair to save time in the failure case. # -#----------------------------------------------------------------------- -# 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/xfs/071 b/tests/xfs/071 index c214dd51f..d0e598ca8 100755 --- a/tests/xfs/071 +++ b/tests/xfs/071 @@ -1,26 +1,10 @@ #! /bin/bash -# FS QA Test No. 071 -# -# Exercise IO at large file offsets. -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- +# FS QA Test No. 071 # - +# Exercise IO at large file offsets. seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/072 b/tests/xfs/072 index 074c78697..735260b7f 100755 --- a/tests/xfs/072 +++ b/tests/xfs/072 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 072 -# -# Check some unwritten extent boundary conditions -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 072 # -#----------------------------------------------------------------------- +# Check some unwritten extent boundary conditions # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/073 b/tests/xfs/073 index c1870be22..6939e1027 100755 --- a/tests/xfs/073 +++ b/tests/xfs/073 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 073 -# -# Test xfs_copy -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003,2008 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 073 # -#----------------------------------------------------------------------- +# Test xfs_copy # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/074 b/tests/xfs/074 index 9f24512ed..e5888d5e5 100755 --- a/tests/xfs/074 +++ b/tests/xfs/074 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 074-extsz-hints-vs-maxextlen # # Check some extent size hint boundary conditions that can result in # MAXEXTLEN overflows. # -#----------------------------------------------------------------------- -# 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/xfs/075 b/tests/xfs/075 index 3c2c89482..caf612bb8 100755 --- a/tests/xfs/075 +++ b/tests/xfs/075 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 075 # # Commit bbe051c8 disallows ro->rw remount on norecovery mount # This test makes sure the behavior is correct. # -#----------------------------------------------------------------------- -# 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/xfs/076 b/tests/xfs/076 index 86f9a056f..e8b191c49 100755 --- a/tests/xfs/076 +++ b/tests/xfs/076 @@ -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. xfs/076 # # Verify that a filesystem with sparse inode support can allocate inodes in the @@ -14,25 +17,6 @@ # space, allocates inodes to ENOSPC and then verifies that most of the available # inodes (.i.e., free space) have been consumed. # -#----------------------------------------------------------------------- -# 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/xfs/077 b/tests/xfs/077 index c4b4de96a..3eaa5ffde 100755 --- a/tests/xfs/077 +++ b/tests/xfs/077 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 077 # # test UUID modification of CRC-enabled filesystems @@ -9,24 +12,6 @@ # matches all the existing metadata) to a new superblock location. # Exercise some of that behavior. # -#----------------------------------------------------------------------- -# 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/xfs/078 b/tests/xfs/078 index 44de65904..321d6582b 100755 --- a/tests/xfs/078 +++ b/tests/xfs/078 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 078 -# -# Check several growfs corner cases -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003,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 +# FS QA Test No. 078 # -#----------------------------------------------------------------------- +# Check several growfs corner cases # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/079 b/tests/xfs/079 index 3079455a5..bf965a7f7 100755 --- a/tests/xfs/079 +++ b/tests/xfs/079 @@ -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. 079 # # Regression test for a bug in the log record checksum mechanism of XFS. Log @@ -11,24 +14,6 @@ # Test that log recovery succeeds with a different log buffer size from when the # filesystem crashed. # -#----------------------------------------------------------------------- -# 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/xfs/080 b/tests/xfs/080 index 20c4a72a2..668380f67 100755 --- a/tests/xfs/080 +++ b/tests/xfs/080 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 080 -# -# rwtest (iogen|doio) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 080 # -#----------------------------------------------------------------------- +# rwtest (iogen|doio) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/081 b/tests/xfs/081 index b54c8d548..39f4c3ca6 100755 --- a/tests/xfs/081 +++ b/tests/xfs/081 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 081 -# -# To test out logprint with quotas -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 081 # -#----------------------------------------------------------------------- +# To test out logprint with quotas # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/082 b/tests/xfs/082 index 038783794..f2b5be29b 100755 --- a/tests/xfs/082 +++ b/tests/xfs/082 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 082 -# -# Test out the v2 stripe logs with logprint -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 082 # -#----------------------------------------------------------------------- +# Test out the v2 stripe logs with logprint # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/083 b/tests/xfs/083 index 5490bd20e..2770ab3ec 100755 --- a/tests/xfs/083 +++ b/tests/xfs/083 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 083 # # Create and populate an XFS filesystem, fuzz the metadata, then see how # the kernel reacts, how xfs_repair 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/xfs/084 b/tests/xfs/084 index 6d20ef3ac..8e9aff3c6 100755 --- a/tests/xfs/084 +++ b/tests/xfs/084 @@ -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. 084 # # Exercises unwritten extent reads and writes, looking # for data corruption (zeroes read) near the end of file. # -#----------------------------------------------------------------------- -# 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" diff --git a/tests/xfs/085 b/tests/xfs/085 index 8f932292f..230954139 100755 --- a/tests/xfs/085 +++ b/tests/xfs/085 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 085 # # Create and populate an XFS filesystem, corrupt a superblock, then see how # the kernel and xfs_repair 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/xfs/086 b/tests/xfs/086 index d05b06190..2a8df3add 100755 --- a/tests/xfs/086 +++ b/tests/xfs/086 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 086 # # Create and populate an XFS filesystem, corrupt an AGF, then see how # the kernel and xfs_repair 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/xfs/087 b/tests/xfs/087 index 4549597c2..625ed355a 100755 --- a/tests/xfs/087 +++ b/tests/xfs/087 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 087 # # Create and populate an XFS filesystem, corrupt the AGI, then see how # the kernel and xfs_repair 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/xfs/088 b/tests/xfs/088 index f46c1ead2..df5b05114 100755 --- a/tests/xfs/088 +++ b/tests/xfs/088 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 088 # # Create and populate an XFS filesystem, corrupt the AGFL, then see how # the kernel and xfs_repair 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/xfs/089 b/tests/xfs/089 index 5b8086046..e905e21a9 100755 --- a/tests/xfs/089 +++ b/tests/xfs/089 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 089 # # Create and populate an XFS filesystem, corrupt the bnobt, then see how # the kernel and xfs_repair 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/xfs/090 b/tests/xfs/090 index f4230bc29..b8f90a27c 100755 --- a/tests/xfs/090 +++ b/tests/xfs/090 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 090 -# -# Exercise IO on the realtime device (direct, buffered, mmapd) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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 +# FS QA Test No. 090 # -#----------------------------------------------------------------------- +# Exercise IO on the realtime device (direct, buffered, mmapd) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/091 b/tests/xfs/091 index 5e50e8a8f..22c877946 100755 --- a/tests/xfs/091 +++ b/tests/xfs/091 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 091 # # Create and populate an XFS filesystem, corrupt the cntbt, then see how # the kernel and xfs_repair 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/xfs/092 b/tests/xfs/092 index ea3b12294..4e5299583 100755 --- a/tests/xfs/092 +++ b/tests/xfs/092 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 092 -# -# Make sure that we can mount inode64 filesystems -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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 +# FS QA Test No. 092 # -#----------------------------------------------------------------------- +# Make sure that we can mount inode64 filesystems # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/093 b/tests/xfs/093 index aa9c360bf..3e1821af4 100755 --- a/tests/xfs/093 +++ b/tests/xfs/093 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 093 # # Create and populate an XFS filesystem, corrupt the inobt, then see how # the kernel and xfs_repair 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/xfs/094 b/tests/xfs/094 index 13dcf6e2e..08a57e49e 100755 --- a/tests/xfs/094 +++ b/tests/xfs/094 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 094 -# -# Exercising the inheritable realtime inode bit. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 094 # -#----------------------------------------------------------------------- +# Exercising the inheritable realtime inode bit. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/095 b/tests/xfs/095 index 290ccf294..35119aad1 100755 --- a/tests/xfs/095 +++ b/tests/xfs/095 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 095 -# -# Test upgrading the XFS log to v2 -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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 +# FS QA Test No. 095 # -#----------------------------------------------------------------------- +# Test upgrading the XFS log to v2 # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/096 b/tests/xfs/096 index a9451f43f..ef6136afc 100755 --- a/tests/xfs/096 +++ b/tests/xfs/096 @@ -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. 096 # # test out mkfs_xfs output on IRIX/Linux and some of its error handling # ensure pv#920679 is addressed # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/097 b/tests/xfs/097 index 56104ee3e..174aee084 100755 --- a/tests/xfs/097 +++ b/tests/xfs/097 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 097 # # Create and populate an XFS filesystem, corrupt the finobt, then see how # the kernel and xfs_repair 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/xfs/098 b/tests/xfs/098 index b32fc493f..c63b9d60f 100755 --- a/tests/xfs/098 +++ b/tests/xfs/098 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 098 # # Create and populate an XFS filesystem, corrupt the journal, then see how # the kernel and xfs_repair 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/xfs/099 b/tests/xfs/099 index d9aad7e33..f5750be68 100755 --- a/tests/xfs/099 +++ b/tests/xfs/099 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 099 # # Create and populate an XFS filesystem, corrupt a block directory, then see # how the kernel and xfs_repair 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/xfs/100 b/tests/xfs/100 index 1e76fc456..6b9ca5383 100755 --- a/tests/xfs/100 +++ b/tests/xfs/100 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 100 # # Create and populate an XFS filesystem, corrupt a leaf directory's data # extent, then see how the kernel and xfs_repair 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/xfs/101 b/tests/xfs/101 index 0e5ed6048..57983a8fd 100755 --- a/tests/xfs/101 +++ b/tests/xfs/101 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 101 # # Create and populate an XFS filesystem, corrupt a leaf directory's leaf # extent, then see how the kernel and xfs_repair 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/xfs/102 b/tests/xfs/102 index ec55c3a62..9920bad47 100755 --- a/tests/xfs/102 +++ b/tests/xfs/102 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 102 # # Create and populate an XFS filesystem, corrupt a node directory's data # extent, then see how the kernel and xfs_repair 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/xfs/103 b/tests/xfs/103 index 90109e3bd..d2b690a26 100755 --- a/tests/xfs/103 +++ b/tests/xfs/103 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 103 -# -# Exercise the XFS nosymlinks inode flag -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 103 # -#----------------------------------------------------------------------- +# Exercise the XFS nosymlinks inode flag # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/104 b/tests/xfs/104 index b71643740..218e2b606 100755 --- a/tests/xfs/104 +++ b/tests/xfs/104 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 104 -# -# XFS online growfs-while-allocating tests (data subvol variant) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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 +# FS QA Test No. 104 # -#----------------------------------------------------------------------- +# XFS online growfs-while-allocating tests (data subvol variant) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/105 b/tests/xfs/105 index bac6e282d..fe4513446 100755 --- a/tests/xfs/105 +++ b/tests/xfs/105 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 105 # # Create and populate an XFS filesystem, corrupt a node directory's leaf # extent, then see how the kernel and xfs_repair 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/xfs/106 b/tests/xfs/106 index d4914100d..7a71ec092 100755 --- a/tests/xfs/106 +++ b/tests/xfs/106 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 106 # # Exercise basic xfs_quota functionality (user/group/project quota) # Use of "sync" mount option here is an attempt to get deterministic # allocator behaviour. # -#----------------------------------------------------------------------- -# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/107 b/tests/xfs/107 index 7640bff34..628922cdc 100755 --- a/tests/xfs/107 +++ b/tests/xfs/107 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 107 # # Project quota. # Use of "sync" mount option here is an attempt to get deterministic # allocator behaviour. # -#----------------------------------------------------------------------- -# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/108 b/tests/xfs/108 index 86415366a..c47f4f37b 100755 --- a/tests/xfs/108 +++ b/tests/xfs/108 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 108 -# -# Simple quota accounting test for direct/buffered/mmap IO. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 108 # -#----------------------------------------------------------------------- +# Simple quota accounting test for direct/buffered/mmap IO. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/109 b/tests/xfs/109 index 2625f154a..a063dc3f6 100755 --- a/tests/xfs/109 +++ b/tests/xfs/109 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 109 -# -# ENOSPC deadlock case from Asano Masahiro. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 109 # -#----------------------------------------------------------------------- +# ENOSPC deadlock case from Asano Masahiro. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/110 b/tests/xfs/110 index 19eddafb6..d4542b980 100755 --- a/tests/xfs/110 +++ b/tests/xfs/110 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 110 -# -# Incorrect dir2 freetab warning case from Masanori Tsuda. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# FS QA Test No. 110 # -#----------------------------------------------------------------------- +# Incorrect dir2 freetab warning case from Masanori Tsuda. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/111 b/tests/xfs/111 index 8bc5e28b6..2ef69f078 100755 --- a/tests/xfs/111 +++ b/tests/xfs/111 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 111 -# -# Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks. -# -#----------------------------------------------------------------------- +# 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 +# FS QA Test No. 111 # -#----------------------------------------------------------------------- +# Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/112 b/tests/xfs/112 index fc2ee95da..0bd685058 100755 --- a/tests/xfs/112 +++ b/tests/xfs/112 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 112 # # Create and populate an XFS filesystem, corrupt a node directory's freeindex # extent, then see how the kernel and xfs_repair 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/xfs/113 b/tests/xfs/113 index b19d948d5..9394a257b 100755 --- a/tests/xfs/113 +++ b/tests/xfs/113 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 113 # # Create and populate an XFS filesystem, corrupt a btree directory's data # extent, then see how the kernel and xfs_repair 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/xfs/114 b/tests/xfs/114 index 674d8848d..613699e1c 100755 --- a/tests/xfs/114 +++ b/tests/xfs/114 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 114 # # Make sure that we can handle insert-range followed by collapse-range. # In particular, make sure that fcollapse works for rmap when the # extents on either side of the collapse area are mergeable. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/115 b/tests/xfs/115 index f77d0dd29..dc612fe57 100755 --- a/tests/xfs/115 +++ b/tests/xfs/115 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 115 # # Check if the filesystem will lockup when trying to allocate a new inode in @@ -6,24 +9,6 @@ # # At the end of the test, the scratch device will purposely be in a corrupted # state, so there is no need for checking that. -#----------------------------------------------------------------------- -# 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/xfs/116 b/tests/xfs/116 index af2bcb992..6887d7e58 100755 --- a/tests/xfs/116 +++ b/tests/xfs/116 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 116 # # pv#940491 # Test out resetting of sb_qflags when mounting with no quotas after # having mounted with quotas. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/117 b/tests/xfs/117 index 31eac2958..8c1ab632e 100755 --- a/tests/xfs/117 +++ b/tests/xfs/117 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 117 # # Create and populate an XFS filesystem, corrupt an inode, then see how # the kernel and xfs_repair 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/xfs/118 b/tests/xfs/118 index fac3aa776..621879c68 100755 --- a/tests/xfs/118 +++ b/tests/xfs/118 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, inc. All Rights Reserved. +# # FS QA Test 118 # # Test xfs_fsr's handling of 2-extent files with preallocation @@ -12,24 +15,6 @@ # Fixed upstream by proper nextents counting using # ip->i_df.if_bytes not ip->i_d.di_nextents in xfs_swap_extent_forks # -#----------------------------------------------------------------------- -# 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/xfs/119 b/tests/xfs/119 index ad6db455e..bf7f1ca88 100755 --- a/tests/xfs/119 +++ b/tests/xfs/119 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 119 # # Leaking reservation space in the GRH # Test out pv#942130 # This can hang when things aren't working # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/120 b/tests/xfs/120 index 39c41d98f..9bdcc7bfb 100755 --- a/tests/xfs/120 +++ b/tests/xfs/120 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 120 # # Create and populate an XFS filesystem, corrupt the bmbt, then see how # the kernel and xfs_repair 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/xfs/121 b/tests/xfs/121 index a380b7fb8..d82a367f8 100755 --- a/tests/xfs/121 +++ b/tests/xfs/121 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 121 # # To test log replay for the unlinked list. @@ -7,25 +10,6 @@ # are happening. # See pv#953263. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/122 b/tests/xfs/122 index 0de99b6da..b66b78a64 100755 --- a/tests/xfs/122 +++ b/tests/xfs/122 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 122 # # pv#952498 # Keep an eye on some of the xfs type sizes # Motivation from differing ondisk types for 32 and 64 bit word versions. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/123 b/tests/xfs/123 index 2640d675a..8a494ef92 100755 --- a/tests/xfs/123 +++ b/tests/xfs/123 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 123 # # Create and populate an XFS filesystem, corrupt a long symlink, then see how # the kernel and xfs_repair 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/xfs/124 b/tests/xfs/124 index 742ef75a0..41f982787 100755 --- a/tests/xfs/124 +++ b/tests/xfs/124 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 124 # # Create and populate an XFS filesystem, corrupt a block xattr, then see # how the kernel and xfs_repair 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/xfs/125 b/tests/xfs/125 index 4ab0177d5..1dbe966ed 100755 --- a/tests/xfs/125 +++ b/tests/xfs/125 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 125 # # Create and populate an XFS filesystem, corrupt a leaf xattr's index extent, # then see how the kernel and xfs_repair 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/xfs/126 b/tests/xfs/126 index de6e2fdbc..e5a2d9edb 100755 --- a/tests/xfs/126 +++ b/tests/xfs/126 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 126 # # Create and populate an XFS filesystem, corrupt a leaf xattr's data extent, # then see how the kernel and xfs_repair 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/xfs/127 b/tests/xfs/127 index 863581dfa..41dacd79a 100755 --- a/tests/xfs/127 +++ b/tests/xfs/127 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 127 -# -# Tests xfs_growfs on a reflinked filesystem -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015, 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. -# -# 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. 127 # -# 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 -#----------------------------------------------------------------------- +# Tests xfs_growfs on a reflinked filesystem # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/128 b/tests/xfs/128 index 8e29b8dd1..40ea0f04e 100755 --- a/tests/xfs/128 +++ b/tests/xfs/128 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 128 -# -# Ensure that xfs_fsr un-reflinks files while defragmenting -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015, 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. -# -# 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. 128 # -# 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 -#----------------------------------------------------------------------- +# Ensure that xfs_fsr un-reflinks files while defragmenting # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/129 b/tests/xfs/129 index 687d62749..86c243481 100755 --- a/tests/xfs/129 +++ b/tests/xfs/129 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 129 # # Ensure that we can create enough distinct reflink entries to force creation # of a multi-level refcount btree, and that metadump will successfully copy # said block. # -#----------------------------------------------------------------------- -# Copyright (c) 2015, 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. -# -# 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/xfs/130 b/tests/xfs/130 index 71df9bbd2..71c1181f7 100755 --- a/tests/xfs/130 +++ b/tests/xfs/130 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 130 # # Create and populate an XFS filesystem, corrupt the refcount btree, # then see how the kernel and xfs_repair 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/xfs/131 b/tests/xfs/131 index 8df77fff8..c11c63320 100755 --- a/tests/xfs/131 +++ b/tests/xfs/131 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 131 -# -# Ensure that we can't reflink realtime files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015, 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. 131 # -# 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 we can't reflink realtime 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/xfs/132 b/tests/xfs/132 index 6bb03e799..c5fe8b5ac 100755 --- a/tests/xfs/132 +++ b/tests/xfs/132 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 132 -# -# Catch inobt/on disk inode free state mismatches on V4 filesystems -# -#----------------------------------------------------------------------- +# 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. 132 # -# 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 -#----------------------------------------------------------------------- +# Catch inobt/on disk inode free state mismatches on V4 filesystems # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/133 b/tests/xfs/133 index ff73a415f..35d949bc0 100755 --- a/tests/xfs/133 +++ b/tests/xfs/133 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FSQA Test No. 133 # # 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/xfs/134 b/tests/xfs/134 index f06447649..c6937bee5 100755 --- a/tests/xfs/134 +++ b/tests/xfs/134 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FSQA Test No. 134 # # 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/xfs/135 b/tests/xfs/135 index 01fa4a6e3..cc5059806 100755 --- a/tests/xfs/135 +++ b/tests/xfs/135 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 135 # # This test verifies that the xfsprogs log formatting infrastructure works # correctly for various log stripe unit values. The log is formatted with xfs_db # and verified with xfs_logprint. # -#----------------------------------------------------------------------- -# 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/xfs/136 b/tests/xfs/136 index cbba64f71..b2e70ddad 100755 --- a/tests/xfs/136 +++ b/tests/xfs/136 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 136 # # Test the attr2 code # Let's look, xfs_db, at the inode and its literal area for the # extents and the attributes # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/137 b/tests/xfs/137 index 6a1931186..79106c668 100755 --- a/tests/xfs/137 +++ b/tests/xfs/137 @@ -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. 137 # # XFS v5 supers carry an LSN in various on-disk structures to track when @@ -8,24 +11,6 @@ # put the current LSN behind metadata LSNs and verifies that the kernel and # xfs_repair detect the problem. # -#----------------------------------------------------------------------- -# 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/xfs/138 b/tests/xfs/138 index 6f4bbd1f5..36490e6a4 100755 --- a/tests/xfs/138 +++ b/tests/xfs/138 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 138 -# -# Test nesting the 'source' command in xfs_db via -c and interactive. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 138 # -# 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-1303 USA -#----------------------------------------------------------------------- +# Test nesting the 'source' command in xfs_db via -c and interactive. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/139 b/tests/xfs/139 index 4ee7ea2a3..2a2663522 100755 --- a/tests/xfs/139 +++ b/tests/xfs/139 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 139 # # Try to ENOSPC while expanding the refcntbt by CoWing every block # of a file that eats the whole AG. # -#----------------------------------------------------------------------- -# Copyright (c) 2015, 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. -# -# 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/xfs/140 b/tests/xfs/140 index 74d8f12e5..6e89fe35b 100755 --- a/tests/xfs/140 +++ b/tests/xfs/140 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 140 # # Try to ENOSPC while expanding the refcntbt by CoWing every other block # of a file that eats the whole AG. # -#----------------------------------------------------------------------- -# Copyright (c) 2015, 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. -# -# 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/xfs/141 b/tests/xfs/141 index 80b5cb04b..754ca37a6 100755 --- a/tests/xfs/141 +++ b/tests/xfs/141 @@ -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. 141 # # Use the XFS log record CRC error injection mechanism to test torn writes to @@ -8,24 +11,6 @@ # # Note that this test requires a DEBUG mode kernel. # -#----------------------------------------------------------------------- -# 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/xfs/142 b/tests/xfs/142 index 8a11d8bc1..e6a3bc3e5 100755 --- a/tests/xfs/142 +++ b/tests/xfs/142 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 142 -# -# Dmapi get/set_dmattr -# -#----------------------------------------------------------------------- +# 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. 142 # -#----------------------------------------------------------------------- +# Dmapi get/set_dmattr # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/143 b/tests/xfs/143 index 4a3bd4738..fccb57b90 100755 --- a/tests/xfs/143 +++ b/tests/xfs/143 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 143 -# -# Dmapi get/set_eventlist -# -#----------------------------------------------------------------------- +# 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. 143 # -#----------------------------------------------------------------------- +# Dmapi get/set_eventlist # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/144 b/tests/xfs/144 index da3995e9a..53451aa82 100755 --- a/tests/xfs/144 +++ b/tests/xfs/144 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 144 -# -# Dmapi get/set_fileattr, get_bulkattr, get_dirattrs -# -#----------------------------------------------------------------------- +# 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. 144 # -#----------------------------------------------------------------------- +# Dmapi get/set_fileattr, get_bulkattr, get_dirattrs # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/145 b/tests/xfs/145 index 14a979b56..26983272b 100755 --- a/tests/xfs/145 +++ b/tests/xfs/145 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 145 -# -# Dmapi probe/punch_hole -# -#----------------------------------------------------------------------- +# 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. 145 # -#----------------------------------------------------------------------- +# Dmapi probe/punch_hole # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/146 b/tests/xfs/146 index 9d93e951f..fcfde483c 100755 --- a/tests/xfs/146 +++ b/tests/xfs/146 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 146 -# -# Dmapi read/write_invis -# -#----------------------------------------------------------------------- +# 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. 146 # -#----------------------------------------------------------------------- +# Dmapi read/write_invis # - seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/xfs/147 b/tests/xfs/147 index 26b885c70..9f547b94a 100755 --- a/tests/xfs/147 +++ b/tests/xfs/147 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 147 -# -# Dmapi get/set_region -# -#----------------------------------------------------------------------- +# 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. 147 # -#----------------------------------------------------------------------- +# Dmapi get/set_region # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/148 b/tests/xfs/148 index 89f6906d3..d9d7d2219 100755 --- a/tests/xfs/148 +++ b/tests/xfs/148 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 148 # # Exercise xfs parallel repair on broken filesystems # This is a clone of test 030 useing xfs_prepair64 instead of xfs_repair # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/149 b/tests/xfs/149 index a72a5ba44..fbf668723 100755 --- a/tests/xfs/149 +++ b/tests/xfs/149 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 149 # # Exercise xfs_prepair - ensure repeated use doesn't corrupt # This is a clone of test 031 using xfs_prepair instead of xfs_repair # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/150 b/tests/xfs/150 index 8ab2682d3..9c247b6d4 100755 --- a/tests/xfs/150 +++ b/tests/xfs/150 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 150 -# -# Set DM_EVENT_RENAME event on a DMAPI filesystem and verify it is set. -# -#----------------------------------------------------------------------- +# 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. 150 # -#----------------------------------------------------------------------- +# Set DM_EVENT_RENAME event on a DMAPI filesystem and verify it is set. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/151 b/tests/xfs/151 index 982f10b47..3ec42f283 100755 --- a/tests/xfs/151 +++ b/tests/xfs/151 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 151 # # Create three DMAPI sessions, # verify they have been created, # then distroy first session # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/152 b/tests/xfs/152 index 1a6473f2e..de30742d0 100755 --- a/tests/xfs/152 +++ b/tests/xfs/152 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 152 -# -# Verify DMAPI functions -# -#----------------------------------------------------------------------- +# 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. 152 # -#----------------------------------------------------------------------- +# Verify DMAPI functions # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/153 b/tests/xfs/153 index 4fd348d6c..4ac743602 100755 --- a/tests/xfs/153 +++ b/tests/xfs/153 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 153 # # Associate filesystem with a session by setting DMAPI DM_EVENT_RENAME # disposition. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/154 b/tests/xfs/154 index 398dd2804..d72ee1b1e 100755 --- a/tests/xfs/154 +++ b/tests/xfs/154 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 154 -# -# Get DMAPI filesystem handle -# -#----------------------------------------------------------------------- +# 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. 154 # -#----------------------------------------------------------------------- +# Get DMAPI filesystem handle # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/155 b/tests/xfs/155 index 6f5ebfe38..3d27c63fe 100755 --- a/tests/xfs/155 +++ b/tests/xfs/155 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 155 -# -# DMAPI event DM_EVENT_RENAME generation -# -#----------------------------------------------------------------------- +# 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. 155 # -#----------------------------------------------------------------------- +# DMAPI event DM_EVENT_RENAME generation # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/156 b/tests/xfs/156 index 9e17e078c..6f4d8ad3f 100755 --- a/tests/xfs/156 +++ b/tests/xfs/156 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 156 -# -# DMAPI get directory attributes (simple check -# -#----------------------------------------------------------------------- +# 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. 156 # -#----------------------------------------------------------------------- +# DMAPI get directory attributes (simple check # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/157 b/tests/xfs/157 index ac7b63b73..54f78e192 100755 --- a/tests/xfs/157 +++ b/tests/xfs/157 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 157 -# -# get/set DMAPI attributes -# -#----------------------------------------------------------------------- +# 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. 157 # -#----------------------------------------------------------------------- +# get/set DMAPI attributes # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/158 b/tests/xfs/158 index 22710a127..fb8a75173 100755 --- a/tests/xfs/158 +++ b/tests/xfs/158 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 158 -# -# get/set file attributes -# -#----------------------------------------------------------------------- +# 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. 158 # -#----------------------------------------------------------------------- +# get/set file attributes # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/159 b/tests/xfs/159 index 29bd72437..2c69916e2 100755 --- a/tests/xfs/159 +++ b/tests/xfs/159 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 159 -# -# Create DMAPI event and respond to it. -# -#----------------------------------------------------------------------- +# 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. 159 # -#----------------------------------------------------------------------- +# Create DMAPI event and respond to it. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/160 b/tests/xfs/160 index 8b8e2ec43..5067679ea 100755 --- a/tests/xfs/160 +++ b/tests/xfs/160 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 160 -# -# Change and view DMAPI access rights. -# -#----------------------------------------------------------------------- +# 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. 160 # -#----------------------------------------------------------------------- +# Change and view DMAPI access rights. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/161 b/tests/xfs/161 index 4124c7f9b..8a3a92f33 100755 --- a/tests/xfs/161 +++ b/tests/xfs/161 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 161 # # DMAPI function punch hole. Create 3Mb file and punch a hole from # offset 1Mb to EOF # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/162 b/tests/xfs/162 index 4e6fc6f79..2845d9e40 100755 --- a/tests/xfs/162 +++ b/tests/xfs/162 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 162 -# -# Placing holds on objects -# -#----------------------------------------------------------------------- +# 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. 162 # -#----------------------------------------------------------------------- +# Placing holds on objects # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/163 b/tests/xfs/163 index 32fff300e..56c06fcd0 100755 --- a/tests/xfs/163 +++ b/tests/xfs/163 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 163 -# -# File descriptor to handle conversion -# -#----------------------------------------------------------------------- +# 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. 163 # -#----------------------------------------------------------------------- +# File descriptor to handle conversion # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/164 b/tests/xfs/164 index d8efaa635..fdd9293df 100755 --- a/tests/xfs/164 +++ b/tests/xfs/164 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 164 # # To test for short dio reads on IRIX and Linux - pv#962005/962547 @@ -9,25 +12,6 @@ # * eof on an unwritten extent # * eof on a sector boundary and not on a sector boundary # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/165 b/tests/xfs/165 index c4ae531f0..4f6738d40 100755 --- a/tests/xfs/165 +++ b/tests/xfs/165 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 165 # # Test out prealloc, direct writes and buffered read @@ -6,25 +9,6 @@ # pv#962014 - DMF 3.7 reading incorrect data # Doesn't actually reproduce the problem but it tried to :-) # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/166 b/tests/xfs/166 index 2a96f8a32..9814e4a34 100755 --- a/tests/xfs/166 +++ b/tests/xfs/166 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 166 -# -# ->page-mkwrite test - unwritten extents and mmap -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2007 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. 166 # -#----------------------------------------------------------------------- +# ->page-mkwrite test - unwritten extents and mmap # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/167 b/tests/xfs/167 index a9f0e6125..40b45e868 100755 --- a/tests/xfs/167 +++ b/tests/xfs/167 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 167 -# -# unwritten extent conversion test -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2007 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. 167 # -#----------------------------------------------------------------------- +# unwritten extent conversion test # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/168 b/tests/xfs/168 index 6fc4540d6..6e06e5131 100755 --- a/tests/xfs/168 +++ b/tests/xfs/168 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 168 # # Check for DMAPI destroy events when removing files without attributes # See PV960928 for details # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/169 b/tests/xfs/169 index 96f7c5e6c..2142ed526 100755 --- a/tests/xfs/169 +++ b/tests/xfs/169 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 169 # # Ensure that we can create enough distinct reflink entries to force creation # of a multi-level refcount btree. Delete and recreate a few times to # exercise the refcount btree grow/shrink functions. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/170 b/tests/xfs/170 index 6deef1b29..f82df69dc 100755 --- a/tests/xfs/170 +++ b/tests/xfs/170 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # # FSQA Test No. 170 # # Check the filestreams allocator is doing its job. # Multi-file data streams should always write into seperate AGs. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/171 b/tests/xfs/171 index a6151f0aa..050d02ab9 100755 --- a/tests/xfs/171 +++ b/tests/xfs/171 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 171 # # Check the filestreams allocator is doing its job. # Multi-file data streams should always write into seperate AGs. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/172 b/tests/xfs/172 index 17463d799..c100481cd 100755 --- a/tests/xfs/172 +++ b/tests/xfs/172 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 172 # # Check the filestreams allocator is doing its job. # Multi-file data streams should always write into seperate AGs. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/173 b/tests/xfs/173 index 3a20a9e47..1569146fb 100755 --- a/tests/xfs/173 +++ b/tests/xfs/173 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 173 # # Check the filestreams allocator is doing its job. # Multi-file data streams should always write into seperate AGs. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/174 b/tests/xfs/174 index daa65a96b..781a1967a 100755 --- a/tests/xfs/174 +++ b/tests/xfs/174 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 174 # # Check the filestreams allocator is doing its job. # Multi-file data streams should always write into seperate AGs. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/175 b/tests/xfs/175 index ad18e4214..54c629e8d 100755 --- a/tests/xfs/175 +++ b/tests/xfs/175 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 175 # # Hole punching with extsize hints, holes may not reported by xfs_bmap. @@ -6,25 +9,6 @@ # being visible in the file so later on they know where to migrate # back the data from the tape. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/176 b/tests/xfs/176 index 035d3b454..bf671c564 100755 --- a/tests/xfs/176 +++ b/tests/xfs/176 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 176 # # Check if resvsp on file create effects bmap output after hole punch. # 967674: hole not show when file is created with resvsp -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/177 b/tests/xfs/177 index 2aa4c7993..307b2a55d 100755 --- a/tests/xfs/177 +++ b/tests/xfs/177 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 177 # # Test to reproduce PV#: 964316 # Check sync reclaims and flushes unlinked inodes to their buffers. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/178 b/tests/xfs/178 index 9db8d0585..841510564 100755 --- a/tests/xfs/178 +++ b/tests/xfs/178 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 178 # # Reproduce PV#:967665 # Test if mkfs.xfs wipes old AG headers when using -f option # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/179 b/tests/xfs/179 index 4aeabb232..6a50d3d13 100755 --- a/tests/xfs/179 +++ b/tests/xfs/179 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 179 -# -# See how well reflink handles overflowing reflink counts. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 179 # -# 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. +# See how well reflink handles overflowing reflink counts. # -# 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/xfs/180 b/tests/xfs/180 index 736267e1a..665fc165e 100755 --- a/tests/xfs/180 +++ b/tests/xfs/180 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 180 # # Test fragmentation after a lot of random CoW: @@ -7,23 +10,6 @@ # - Rewrite the whole file to use up reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/181 b/tests/xfs/181 index 3daea7880..882a974b5 100755 --- a/tests/xfs/181 +++ b/tests/xfs/181 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 181 # # Like 121 only creating large EAs @@ -7,25 +10,6 @@ # will here) also call xfs_inactive_attrs. # We want to test out this xfs_inactive_attrs code being called in recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/182 b/tests/xfs/182 index 6d7d21ef9..a1b42d156 100755 --- a/tests/xfs/182 +++ b/tests/xfs/182 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 182 # # Test fragmentation after a lot of random CoW: @@ -7,23 +10,6 @@ # - Rewrite the whole file to use up reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/183 b/tests/xfs/183 index 390cfc8e4..20a571800 100755 --- a/tests/xfs/183 +++ b/tests/xfs/183 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 183 # # Test to check bulkstat returns unlinked-but-referenced inodes # (PVs: 972128, 972004) # -#----------------------------------------------------------------------- -# Copyright (c) 2007 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" diff --git a/tests/xfs/184 b/tests/xfs/184 index 2ae19abf3..6273eead9 100755 --- a/tests/xfs/184 +++ b/tests/xfs/184 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 184 # # Test fragmentation after a lot of random CoW: @@ -7,23 +10,6 @@ # - falloc the whole file to unshare blocks. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/185 b/tests/xfs/185 index d7dfef7a5..f19e91468 100755 --- a/tests/xfs/185 +++ b/tests/xfs/185 @@ -1,27 +1,11 @@ #! /bin/bash -# FSQA Test No. 185 -# -# Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE); -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2007 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. 185 # -#----------------------------------------------------------------------- +# Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE); # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/186 b/tests/xfs/186 index a4527ed77..abff2e2fc 100755 --- a/tests/xfs/186 +++ b/tests/xfs/186 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 186 # # Test out: @@ -14,25 +17,6 @@ # and then turn on attr1 and add one more EA which # will write over the shortform dirents. # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/187 b/tests/xfs/187 index 5b81daf19..e705cf553 100755 --- a/tests/xfs/187 +++ b/tests/xfs/187 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 187 # # To test out the noattr2 flag which is broken in pv#980021 @@ -8,25 +11,6 @@ # Test the case where there are no more features2 bits on and # so the morebitsbit should be off. # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/188 b/tests/xfs/188 index 370b93ca5..cb18b9306 100755 --- a/tests/xfs/188 +++ b/tests/xfs/188 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 188 # # drive the src/nametest program for CI mode @@ -10,25 +13,6 @@ # value in XFS stressing leaf block traversal in # node form directories as well. # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/189 b/tests/xfs/189 index e2654e516..c1c52a225 100755 --- a/tests/xfs/189 +++ b/tests/xfs/189 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 189 # # Test remount behaviour @@ -30,25 +33,6 @@ # <---- Normal programming is resumed ----> # # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/190 b/tests/xfs/190 index 251b72834..3275e29d4 100755 --- a/tests/xfs/190 +++ b/tests/xfs/190 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 190 # # This test uses xfs_io to unreserve space in a file at various different @@ -7,25 +10,6 @@ # # PV 985792 # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - #This is the list of holes to punch in the file limited to $filesize #NOTE holes cannot overlap or this script will fail. holes="4096:4096 303104:4096 1048576:512 1051648:8192 1065984:8192 1085440:7168" diff --git a/tests/xfs/191-input-validation b/tests/xfs/191-input-validation index cff3efa96..b6658015c 100755 --- a/tests/xfs/191-input-validation +++ b/tests/xfs/191-input-validation @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. xfs/191 # # mkfs.xfs input validation test. Designed to break mkfs.xfs if it doesn't # filter garbage input or invalid option combinations correctly. # -#----------------------------------------------------------------------- -# 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/xfs/192 b/tests/xfs/192 index eeb602570..54af11c89 100755 --- a/tests/xfs/192 +++ b/tests/xfs/192 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 192 # # Test fragmentation after a lot of random CoW: @@ -7,23 +10,6 @@ # - falloc the whole file to unshare blocks. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/193 b/tests/xfs/193 index c45f05a88..955412edc 100755 --- a/tests/xfs/193 +++ b/tests/xfs/193 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 193 # # Test fragmentation after a lot of random CoW: @@ -6,23 +9,6 @@ # - Buffered write to random offsets to scatter CoW reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/194 b/tests/xfs/194 index 3226431f4..6c1eddbaf 100755 --- a/tests/xfs/194 +++ b/tests/xfs/194 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 194 -# -# Test mapping around/over holes for sub-page blocks -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2008 Eric Sandeen. 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. 194 # -# 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 mapping around/over holes for sub-page blocks # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/195 b/tests/xfs/195 index 3948ca40e..b58308a56 100755 --- a/tests/xfs/195 +++ b/tests/xfs/195 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Christoph Hellwig. +# # FS QA Test No. 195 # # Make sure the chattr dump flag gets picked up by xfsdump without a sync # # http://oss.sgi.com/bugzilla/show_bug.cgi?id=340 # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Christoph Hellwig. -# -# 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/xfs/196 b/tests/xfs/196 index fe3f57091..5dc28670d 100755 --- a/tests/xfs/196 +++ b/tests/xfs/196 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 196 # # This test stresses indirect block reservation for delayed allocation extents. @@ -9,24 +12,6 @@ # without any indirect block reservation whatsoever. This leads to assert # failures and possibly other problems in XFS. # -#----------------------------------------------------------------------- -# 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/xfs/197 b/tests/xfs/197 index 7706e03a6..76f6f0d6b 100755 --- a/tests/xfs/197 +++ b/tests/xfs/197 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Christoph Hellwig. +# # FS QA Test No. 197 # # Check that d_off can be represented in a 32 bit long type without @@ -9,24 +12,6 @@ # # http://oss.sgi.com/bugzilla/show_bug.cgi?id=808 # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Christoph Hellwig. -# -# 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/xfs/198 b/tests/xfs/198 index bdfd44a47..b7338ddd5 100755 --- a/tests/xfs/198 +++ b/tests/xfs/198 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 198 # # Test fragmentation after a lot of random CoW: @@ -6,23 +9,6 @@ # - Directio write to random offsets to scatter CoW reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/199 b/tests/xfs/199 index a0f48ad90..dd909b09e 100755 --- a/tests/xfs/199 +++ b/tests/xfs/199 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Christoph Hellwig. +# # FS QA Test No. 199 # # Check that the features2 location fixups work correctly. We check both @@ -6,24 +9,6 @@ # filesystem is first mounted read-only and then later remounted read-write, # which is the usual case for the root filesystem. # -#----------------------------------------------------------------------- -# Copyright (c) 2008 Christoph Hellwig. -# -# 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/xfs/200 b/tests/xfs/200 index 328341c94..70853159f 100755 --- a/tests/xfs/200 +++ b/tests/xfs/200 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 200 # # Test fragmentation after a lot of random CoW: @@ -9,23 +12,6 @@ # - falloc the whole fle to see if the extsz hints still apply. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/201 b/tests/xfs/201 index 45dc42fae..a91c58fec 100755 --- a/tests/xfs/201 +++ b/tests/xfs/201 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. +# # FS QA Test No. 201 # # Test out the infamous xfs_btree_delrec corruption. @@ -6,24 +9,6 @@ # Only happens on 32-bit kernels without CONFIG_LBD, but it should be harmless # to run this everywhere. # -#----------------------------------------------------------------------- -# Copyright (c) 2009 Christoph Hellwig. -# -# 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/xfs/202 b/tests/xfs/202 index b9827a7f7..3d080c9c9 100755 --- a/tests/xfs/202 +++ b/tests/xfs/202 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 202 -# -# Test out the xfs_repair -o force_geometry option on single-AG filesystems. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2009 Christoph Hellwig. # -# 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. 202 # -# 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 out the xfs_repair -o force_geometry option on single-AG filesystems. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/203 b/tests/xfs/203 index 2ac529031..6a375ef12 100755 --- a/tests/xfs/203 +++ b/tests/xfs/203 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. +# # FS QA Test No. 203 # # Test out reallocation of the extent array in xfs_io. # Based on a testcase from Tomasz Majkowski . # -#----------------------------------------------------------------------- -# Copyright (c) 2009 Christoph Hellwig. -# -# 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/xfs/204 b/tests/xfs/204 index 9a134e962..86156a1af 100755 --- a/tests/xfs/204 +++ b/tests/xfs/204 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 204 # # Test fragmentation after a lot of random CoW: @@ -9,23 +12,6 @@ # - falloc the whole fle to see if the extsz hints still apply. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/205 b/tests/xfs/205 index debdc2a41..ed07d1658 100755 --- a/tests/xfs/205 +++ b/tests/xfs/205 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 205 -# -# Test out ENOSPC flushing on small filesystems. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2009 Dave Chinner # -# 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. 205 # -# 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 out ENOSPC flushing on small filesystems. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/206 b/tests/xfs/206 index 91467e90d..7f4e725ec 100755 --- a/tests/xfs/206 +++ b/tests/xfs/206 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. +# # FS QA Test No. 206 # # Test trim of last small AG for large filesystem resizes @@ -9,24 +12,6 @@ # Patch and testcase at # http://article.gmane.org/gmane.comp.file-systems.xfs.general/29193 # -#----------------------------------------------------------------------- -# Copyright (c) 2009 Eric Sandeen. -# -# 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/xfs/207 b/tests/xfs/207 index f9998ee10..e830534b9 100755 --- a/tests/xfs/207 +++ b/tests/xfs/207 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 207 # # Test setting the extsz and cowextsz hints: @@ -6,23 +9,6 @@ # - Ensure that we can set only cowextsz on a many-byte file. # - Ensure that whatever we set we get back later. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/208 b/tests/xfs/208 index b00e4ab46..0030d9c9d 100755 --- a/tests/xfs/208 +++ b/tests/xfs/208 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 208 # # Ensure that the effective cow extent allocation size hint is the maximum of @@ -10,23 +13,6 @@ # - Check the number of extents. # - Repeat, but with extsz = 1MB and cowextsz = $blocksize. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/209 b/tests/xfs/209 index 83ccdf6b0..e7b49f7f6 100755 --- a/tests/xfs/209 +++ b/tests/xfs/209 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 209 -# -# Make sure setting cowextsz on a directory propagates it to subfiles. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 209 # -# 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. +# Make sure setting cowextsz on a directory propagates it to subfiles. # -# 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/xfs/210 b/tests/xfs/210 index 8a77464ab..dae3e9157 100755 --- a/tests/xfs/210 +++ b/tests/xfs/210 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 210 # # During reflink, XFS should carry the cowextsz setting to the destination file @@ -7,23 +10,6 @@ # destination does not already have a cowextsz setting. It should not do so # otherwise. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/211 b/tests/xfs/211 index bd4b7991c..f42b46d32 100755 --- a/tests/xfs/211 +++ b/tests/xfs/211 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 211 # # Test fragmentation in a big file after a lot of random CoW: @@ -7,23 +10,6 @@ # - Rewrite the whole file to use up reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/212 b/tests/xfs/212 index 90f6903de..f05a16abd 100755 --- a/tests/xfs/212 +++ b/tests/xfs/212 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 212 # # Test recovery of "lost" CoW blocks after a crash: @@ -6,23 +9,6 @@ # - Dirty one byte on the second file and fsync. # - Crash the FS to test recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/213 b/tests/xfs/213 index 2029abb25..fa94914ca 100755 --- a/tests/xfs/213 +++ b/tests/xfs/213 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 213 # # Ensure that quota charges us for reflnking a file and that we're not # charged for buffered copy on write. Same test as g/305, but we get to # play with cowextsz. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/214 b/tests/xfs/214 index 719ea2bde..4686504a2 100755 --- a/tests/xfs/214 +++ b/tests/xfs/214 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 214 # # Ensure that quota charges us for reflnking a file and that we're not # charged for directio copy on write. Same as g/326, but we get to play # with cowextsz. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/215 b/tests/xfs/215 index c2b9c0eda..c75f15f26 100755 --- a/tests/xfs/215 +++ b/tests/xfs/215 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 215 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -9,23 +12,6 @@ # - directio CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/216 b/tests/xfs/216 index 76f79ca1f..b1fd8ecca 100755 --- a/tests/xfs/216 +++ b/tests/xfs/216 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 216 -# -# log size mkfs test - ensure the log size scaling works for small filesystems -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# FS QA Test No. 216 # -# 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 -#----------------------------------------------------------------------- +# log size mkfs test - ensure the log size scaling works for small filesystems # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/217 b/tests/xfs/217 index 8aacdf96a..20775fb3c 100755 --- a/tests/xfs/217 +++ b/tests/xfs/217 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 217 -# -# large log size mkfs test - ensure the log size scaling works -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# FS QA Test No. 217 # -# 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 -#----------------------------------------------------------------------- +# large log size mkfs test - ensure the log size scaling works # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/218 b/tests/xfs/218 index 31cac4462..4aaf5cbe1 100755 --- a/tests/xfs/218 +++ b/tests/xfs/218 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 218 # # Ensuring that copy on write in buffered mode works when the CoW @@ -9,23 +12,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/219 b/tests/xfs/219 index 2a8d966f7..f167d584b 100755 --- a/tests/xfs/219 +++ b/tests/xfs/219 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 219 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -9,23 +12,6 @@ # - directio CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/220 b/tests/xfs/220 index 69b539cc8..227d5452e 100755 --- a/tests/xfs/220 +++ b/tests/xfs/220 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 220 # # Test quota off handling. @@ -6,25 +9,6 @@ # Based on bug reports from Utako Kusaka and # Ryota Yamauchi . # -#----------------------------------------------------------------------- -# Copyright (c) 2009 Christoph Hellwig. 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/xfs/221 b/tests/xfs/221 index 405d2d5b0..537a13cde 100755 --- a/tests/xfs/221 +++ b/tests/xfs/221 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 221 # # Ensuring that copy on write in buffered mode works when the CoW @@ -9,23 +12,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/222 b/tests/xfs/222 index 77ecfc614..10409e34a 100755 --- a/tests/xfs/222 +++ b/tests/xfs/222 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Dave Chinner. All Rights Reserved. +# # FS QA Test No. 222 # # xfs_fsr QA tests @@ -6,25 +9,6 @@ # inodes to try to defragment. This is effectively a crash/assert failure # test looking for corruption induced by xfs_fsr runs. # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Dave Chinner. 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/xfs/223 b/tests/xfs/223 index 66548727e..169f10be0 100755 --- a/tests/xfs/223 +++ b/tests/xfs/223 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 223 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -10,23 +13,6 @@ # - directio CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/224 b/tests/xfs/224 index 376abe164..f1ef1faa0 100755 --- a/tests/xfs/224 +++ b/tests/xfs/224 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 224 # # Ensuring that copy on write in buffered mode works when the CoW @@ -10,23 +13,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/225 b/tests/xfs/225 index 586467736..6145b2ff3 100755 --- a/tests/xfs/225 +++ b/tests/xfs/225 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 225 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -9,23 +12,6 @@ # - directio CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/226 b/tests/xfs/226 index 44605b1e7..19296c9b4 100755 --- a/tests/xfs/226 +++ b/tests/xfs/226 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 226 # # Ensuring that copy on write in buffered mode works when the CoW @@ -9,23 +12,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/227 b/tests/xfs/227 index 817c96817..da0b20561 100755 --- a/tests/xfs/227 +++ b/tests/xfs/227 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Dave Chinner. All Rights Reserved. +# # FS QA Test No. 227 # # xfs_fsr QA tests @@ -8,25 +11,6 @@ # the indoes to be swapped. It also is good for validating fsr's attribute fork # generation code. # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Dave Chinner. 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/xfs/228 b/tests/xfs/228 index 9d8e9a907..bcff8f6e8 100755 --- a/tests/xfs/228 +++ b/tests/xfs/228 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 228 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -13,23 +16,6 @@ # - directio CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/229 b/tests/xfs/229 index 0a42bcf6f..5a5e6ea7a 100755 --- a/tests/xfs/229 +++ b/tests/xfs/229 @@ -1,4 +1,8 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Christoph Hellwig. All Rights Reserved. +# Copyright (c) 2010 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 221 # # Check for file corruption when using the extent size hint on @@ -8,26 +12,6 @@ # # Based on a bug report and testcase from Geoffrey Wehrman . # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Christoph Hellwig. All Rights Reserved. -# Copyright (c) 2010 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" diff --git a/tests/xfs/230 b/tests/xfs/230 index e42013f9e..8348f0313 100755 --- a/tests/xfs/230 +++ b/tests/xfs/230 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 230 # # Ensuring that copy on write in buffered mode works when the CoW @@ -13,23 +16,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/231 b/tests/xfs/231 index ac1dd1628..865c03312 100755 --- a/tests/xfs/231 +++ b/tests/xfs/231 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 231 # # Test recovery of unused CoW reservations: @@ -8,23 +11,6 @@ # - Wait for the reclaim to run. # - Write more and see how bad fragmentation is. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/232 b/tests/xfs/232 index 8638ee636..3a88cc334 100755 --- a/tests/xfs/232 +++ b/tests/xfs/232 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 232 # # Test non-recovery of unused CoW reservations for dirty files: @@ -9,23 +12,6 @@ # - Wait for the reclaim to run. # - Write more and see how bad fragmentation is. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/233 b/tests/xfs/233 index 9e7d3b325..daaf0bbcd 100755 --- a/tests/xfs/233 +++ b/tests/xfs/233 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 233 -# -# Tests xfs_growfs on a rmapbt filesystem -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. -# -# 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. 233 # -# 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 -#----------------------------------------------------------------------- +# Tests xfs_growfs on a rmapbt filesystem # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/234 b/tests/xfs/234 index 348075828..dff512d46 100755 --- a/tests/xfs/234 +++ b/tests/xfs/234 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 234 # # Ensure that we can create enough distinct rmap entries to force creation # of a multi-level rmap btree, and that metadump will successfully copy # said block. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/235 b/tests/xfs/235 index f7d75e78b..97db55cc4 100755 --- a/tests/xfs/235 +++ b/tests/xfs/235 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 235 # # Create and populate an XFS filesystem, corrupt the rmap btree, # then see how the kernel and xfs_repair deal with it. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 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-7031 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/236 b/tests/xfs/236 index 3ce4de811..34a4c9ee5 100755 --- a/tests/xfs/236 +++ b/tests/xfs/236 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 236 # # Ensure that we can create enough distinct rmapbt entries to force creation # of a multi-level rmap btree. Delete and recreate a few times to # exercise the rmap btree grow/shrink functions. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/237 b/tests/xfs/237 index f961de3e4..286fd6879 100755 --- a/tests/xfs/237 +++ b/tests/xfs/237 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 237 -# -# Test AIO DIO CoW behavior when the write temporarily fails. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 237 # -# 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. +# Test AIO DIO CoW behavior when the write temporarily fails. # -# 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/xfs/238 b/tests/xfs/238 index 0bbda8f9b..c6065184a 100755 --- a/tests/xfs/238 +++ b/tests/xfs/238 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 238 -# -# Check stale handles pointing to unlinked files are detected correctly -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2010 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. 238 # -# 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 -#----------------------------------------------------------------------- +# Check stale handles pointing to unlinked files are detected correctly # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/239 b/tests/xfs/239 index c658dda64..6a13319b3 100755 --- a/tests/xfs/239 +++ b/tests/xfs/239 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 239 -# -# Test AIO DIO CoW behavior. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 239 # -# 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. +# Test AIO DIO CoW behavior. # -# 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/xfs/240 b/tests/xfs/240 index fa0edc779..0560651db 100755 --- a/tests/xfs/240 +++ b/tests/xfs/240 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 240 -# -# Test AIO CoW behavior when the write temporarily fails. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 240 # -# 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. +# Test AIO CoW behavior when the write temporarily fails. # -# 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/xfs/241 b/tests/xfs/241 index b30967329..6b642a801 100755 --- a/tests/xfs/241 +++ b/tests/xfs/241 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 241 -# -# Test AIO CoW behavior. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 241 # -# 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. +# Test AIO CoW behavior. # -# 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/xfs/242 b/tests/xfs/242 index 4e1a8b445..9ae1aebdf 100755 --- a/tests/xfs/242 +++ b/tests/xfs/242 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 242 -# -# Test XFS_IOC_ZERO_RANGE -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2010 Red Hat. 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. 242 # -#----------------------------------------------------------------------- +# Test XFS_IOC_ZERO_RANGE # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/243 b/tests/xfs/243 index ecec0e2e3..ae6307787 100755 --- a/tests/xfs/243 +++ b/tests/xfs/243 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 243 # # Ensuring that copy on write in buffered mode works when the CoW @@ -13,23 +16,6 @@ # - CoW across the halfway mark, starting with the unwritten extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/244 b/tests/xfs/244 index a84d87a23..17941eb56 100755 --- a/tests/xfs/244 +++ b/tests/xfs/244 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 244 -# -# test to verify that proper project quota id is correctly set -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2010 Arkadiusz Miśkiewicz. 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. 244 # -#----------------------------------------------------------------------- +# test to verify that proper project quota id is correctly set # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/245 b/tests/xfs/245 index 8335a0ffd..36eb28a40 100755 --- a/tests/xfs/245 +++ b/tests/xfs/245 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 245 # # Make sure that reflink deals with extents going beyond EOF. @@ -7,23 +10,6 @@ # - reflink file1 to file2 # - compare file[12] # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/246 b/tests/xfs/246 index db57622e4..cd18afd26 100755 --- a/tests/xfs/246 +++ b/tests/xfs/246 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 246 -# -# Create an empty file and try to query the (nonexistant) CoW fork. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 246 # -# 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. +# Create an empty file and try to query the (nonexistant) CoW fork. # -# 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/xfs/247 b/tests/xfs/247 index 1581dd3e4..26198b92c 100755 --- a/tests/xfs/247 +++ b/tests/xfs/247 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 247 # # Mount a reflink/rmap filesystem ro (so the per-AG reservation isn't # created) and unmount, to ensure that we free correctly. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/248 b/tests/xfs/248 index 471205c9d..cad279692 100755 --- a/tests/xfs/248 +++ b/tests/xfs/248 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 248 # # Ensuring that copy on write in buffered mode to the source file when the @@ -10,23 +13,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/249 b/tests/xfs/249 index 0a7fbf15a..4e56fca38 100755 --- a/tests/xfs/249 +++ b/tests/xfs/249 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 249 # # Ensuring that copy on write in directio mode to the source file when the @@ -10,23 +13,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/250 b/tests/xfs/250 index f807c5a5a..f8b800e47 100755 --- a/tests/xfs/250 +++ b/tests/xfs/250 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 250 -# -# Bmap btree corruption regression test -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2011 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. 250 # -# 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 -#----------------------------------------------------------------------- +# Bmap btree corruption regression test # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/251 b/tests/xfs/251 index 48a027c75..d98f1c9bb 100755 --- a/tests/xfs/251 +++ b/tests/xfs/251 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 251 # # Ensuring that copy on write in buffered mode to the source file when the @@ -12,23 +15,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/252 b/tests/xfs/252 index ddafda6f6..df795b81d 100755 --- a/tests/xfs/252 +++ b/tests/xfs/252 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 252 -# -# Test fallocate hole punching -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2010 Red Hat. 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. 252 # -#----------------------------------------------------------------------- +# Test fallocate hole punching # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/253 b/tests/xfs/253 index 91eb0417b..dc897c18c 100755 --- a/tests/xfs/253 +++ b/tests/xfs/253 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 SGI. All Rights Reserved. +# # FS QA Test No. 253 # # Test xfs_db metadump functionality. @@ -14,24 +17,6 @@ # instances where the obfuscation process has produced a filename # that is already in use (and no other name is available to use). # -#----------------------------------------------------------------------- -# Copyright (c) 2011 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/254 b/tests/xfs/254 index ac87e49e9..e8e2ed8ae 100755 --- a/tests/xfs/254 +++ b/tests/xfs/254 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 254 # # Ensuring that copy on write in directio mode to the source file when the @@ -12,23 +15,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/255 b/tests/xfs/255 index 97cbb77be..403508126 100755 --- a/tests/xfs/255 +++ b/tests/xfs/255 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 255 # # Ensuring that copy on write in buffered mode to the source file when the @@ -12,23 +15,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/256 b/tests/xfs/256 index a182953d4..40c01dce4 100755 --- a/tests/xfs/256 +++ b/tests/xfs/256 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 256 # # Ensuring that copy on write in directio mode to the source file when the @@ -12,23 +15,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/257 b/tests/xfs/257 index 1fc401b58..495409fa2 100755 --- a/tests/xfs/257 +++ b/tests/xfs/257 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 257 # # Ensuring that copy on write in buffered mode to the source file when the @@ -13,23 +16,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/258 b/tests/xfs/258 index a3ffc8991..4101e571c 100755 --- a/tests/xfs/258 +++ b/tests/xfs/258 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 258 # # Ensuring that copy on write in directio mode to the source file when the @@ -13,23 +16,6 @@ # regular extent. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/259 b/tests/xfs/259 index 17f3c6d67..1d5fb5e84 100755 --- a/tests/xfs/259 +++ b/tests/xfs/259 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 259 -# -# Test fs creation on 4 TB minus few bytes partition -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2011 Red Hat. 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. 259 # -#----------------------------------------------------------------------- +# Test fs creation on 4 TB minus few bytes partition # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/260 b/tests/xfs/260 index e613cc0b6..ba6069983 100755 --- a/tests/xfs/260 +++ b/tests/xfs/260 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 260 -# -# Test per-inode DAX flag by mmap direct/buffered IO. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test 260 # -# 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 per-inode DAX flag by mmap direct/buffered IO. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/261 b/tests/xfs/261 index e3c259192..0fabcd643 100755 --- a/tests/xfs/261 +++ b/tests/xfs/261 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 SGI. All Rights Reserved. +# # FS QA Test No. 261 # # This test exercises an issue in libxcmd where a problem with any @@ -7,24 +10,6 @@ # directory, even if the problem directory is completely unrelated # to the directory one wants to operate on. # -#----------------------------------------------------------------------- -# Copyright (c) 2011 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/262 b/tests/xfs/262 index 629470a5a..6c39268ac 100755 --- a/tests/xfs/262 +++ b/tests/xfs/262 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 262 # # Copy xfs_scrub to the scratch device, then run xfs_scrub in forced # repair mode (which will rebuild the data forks of the running scrub # executable and libraries!) to see what happens. # -#----------------------------------------------------------------------- -# 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-1335 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/263 b/tests/xfs/263 index e713dfdd3..75477937b 100755 --- a/tests/xfs/263 +++ b/tests/xfs/263 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 263 -# -# test xfs_quota state command -# -#----------------------------------------------------------------------- +# 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 263 # -# 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 xfs_quota state command # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/264 b/tests/xfs/264 index 245b0ad36..3b3750b41 100755 --- a/tests/xfs/264 +++ b/tests/xfs/264 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 264 # # Test XFS EIO error handling configuration. Stop XFS from retrying # to writeback forever when hit EIO. # -#----------------------------------------------------------------------- -# 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/xfs/265 b/tests/xfs/265 index 3dfeb7047..abe1a6007 100755 --- a/tests/xfs/265 +++ b/tests/xfs/265 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 265 # # Ensure that we can create enough distinct reflink entries to force creation @@ -6,23 +9,6 @@ # truncating the copies at successively lower sizes. Delete and recreate a few # times to exercise the refcount btree grow/shrink functions. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/266 b/tests/xfs/266 index 70d4b7fa0..c4c3e8d9f 100755 --- a/tests/xfs/266 +++ b/tests/xfs/266 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 266 -# -# Test incremental dumps with -D (skip unchanged dirs) -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2011 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 266 # -# 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 incremental dumps with -D (skip unchanged dirs) # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/267 b/tests/xfs/267 index 65e532180..8887f4c1b 100755 --- a/tests/xfs/267 +++ b/tests/xfs/267 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 267 -# -# Test xfsdump with a file spanning multiple media files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2011 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 267 # -# 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 xfsdump with a file spanning multiple media files. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/268 b/tests/xfs/268 index bc2bb621c..c26863029 100755 --- a/tests/xfs/268 +++ b/tests/xfs/268 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 SGI. All Rights Reserved. +# # FS QA Test No. 268 # # Test xfsdump with multiple media files where a file ends # at the end of the first media file (i.e., no file is split # across media files). # -#----------------------------------------------------------------------- -# Copyright (c) 2011 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/269 b/tests/xfs/269 index 318dd2288..25ae50d0d 100755 --- a/tests/xfs/269 +++ b/tests/xfs/269 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 269 -# -# Check that attr_list_by_handle copies the cursor back to userspace. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 269 # -# 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 attr_list_by_handle copies the cursor back to userspace. # -# 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/xfs/270 b/tests/xfs/270 index 05dee7418..d5c8df197 100755 --- a/tests/xfs/270 +++ b/tests/xfs/270 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 270 # # Today ro-compat features can't be mounted rw, but a bug allows @@ -6,24 +9,6 @@ # kernel (d0a58e8 xfs: disallow rw remount on fs with unknown # ro-compat features), and this case is the regression testcase. # -#----------------------------------------------------------------------- -# 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/xfs/271 b/tests/xfs/271 index d82b19b7d..db14bfec5 100755 --- a/tests/xfs/271 +++ b/tests/xfs/271 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 271 -# -# Check that getfsmap reports the AG metadata we're expecting. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 271 # -# 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 AG 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/xfs/272 b/tests/xfs/272 index f8e9eb3f2..1f878deb2 100755 --- a/tests/xfs/272 +++ b/tests/xfs/272 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 272 -# -# Check that getfsmap agrees with getbmap. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 272 # -# 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 agrees with getbmap. # -# 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/xfs/273 b/tests/xfs/273 index f784a3540..7737e7354 100755 --- a/tests/xfs/273 +++ b/tests/xfs/273 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 273 -# -# Populate filesystem, check that fsmap -n10000 matches fsmap -n1. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 273 # -# 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/xfs/274 b/tests/xfs/274 index ee433e0da..592c90368 100755 --- a/tests/xfs/274 +++ b/tests/xfs/274 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 274 -# -# Check that getfsmap agrees with getbmap for reflinked files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 274 # -# 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 agrees with getbmap for reflinked 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/xfs/275 b/tests/xfs/275 index 3ccfd775b..dec956f0d 100755 --- a/tests/xfs/275 +++ b/tests/xfs/275 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 275 -# -# Check that getfsmap reports external log devices -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 275 # -# 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/xfs/276 b/tests/xfs/276 index e39b5d5d6..ed29844dd 100755 --- a/tests/xfs/276 +++ b/tests/xfs/276 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 276 -# -# Check that getfsmap agrees with getbmap when realtime files are present. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 276 # -# 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 agrees with getbmap when realtime files are present. # -# 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/xfs/277 b/tests/xfs/277 index cb4f1ee75..5f1ec9ce7 100755 --- a/tests/xfs/277 +++ b/tests/xfs/277 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 277 -# -# Check that getfsmap reports internal log devices -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 277 # -# 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 internal 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/xfs/278 b/tests/xfs/278 index 47012a36e..3d2a846ac 100755 --- a/tests/xfs/278 +++ b/tests/xfs/278 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 278 # # Test xfs_repair to ensure it fixes the lost+found link count # at the first run. See also commit 198b747f255346bca64408875763b6ca0ed3d57d # from xfsprogs tree. # -#----------------------------------------------------------------------- -# Copyright (c) 2011 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/xfs/279 b/tests/xfs/279 index 9dee4cfb0..7ab8bdd59 100755 --- a/tests/xfs/279 +++ b/tests/xfs/279 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 279 # # Test mkfs.xfs against various types of devices with varying # logical & physical sector sizes and offsets. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/280 b/tests/xfs/280 index 80a82becb..172eee218 100755 --- a/tests/xfs/280 +++ b/tests/xfs/280 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 280 -# -# Check that GETBMAPX accurately report shared extents. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 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. +# FS QA Test No. 280 # -# 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 -#----------------------------------------------------------------------- +# Check that GETBMAPX accurately report shared extents. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/281 b/tests/xfs/281 index fbfa06e2d..9df6154c6 100755 --- a/tests/xfs/281 +++ b/tests/xfs/281 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 281 -# -# Test that xfsdump can generate a format 2 dump. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2012 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 281 # -#----------------------------------------------------------------------- +# Test that xfsdump can generate a format 2 dump. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/282 b/tests/xfs/282 index 15ccc3f4b..bb4975c46 100755 --- a/tests/xfs/282 +++ b/tests/xfs/282 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 SGI. All Rights Reserved. +# # FS QA Test No. 282 # # Test incremental dumps containing a mix of dump formats. # level 0 - format 2 # level 1 - current format # -#----------------------------------------------------------------------- -# Copyright (c) 2012 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/283 b/tests/xfs/283 index def210715..e647cef97 100755 --- a/tests/xfs/283 +++ b/tests/xfs/283 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 SGI. All Rights Reserved. +# # FS QA Test No. 283 # # Test incremental dumps containing a mix of dump formats. # level 0 - current format # level 1 - format 2 # -#----------------------------------------------------------------------- -# Copyright (c) 2012 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/284 b/tests/xfs/284 index d0eb5bd6b..fc51af0e7 100755 --- a/tests/xfs/284 +++ b/tests/xfs/284 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat. All Rights Reserved. +# # FS QA Test 284 # # Do xfs_metadump, xfs_mdrestore, xfs_copy, xfs_db, xfs_repair and mkfs.xfs # on mounted XFS to make sure they refuse to proceed. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Red Hat. 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/xfs/285 b/tests/xfs/285 index 579d9529b..ad8b1bac4 100755 --- a/tests/xfs/285 +++ b/tests/xfs/285 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 285 -# -# Race fio and xfs_scrub for a while to see if we crash or livelock. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 285 # -# 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-1335 USA -#----------------------------------------------------------------------- +# Race fio and xfs_scrub for a while to see if we crash or livelock. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/286 b/tests/xfs/286 index e71b933c0..8bc1e59ef 100755 --- a/tests/xfs/286 +++ b/tests/xfs/286 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 286 -# -# Race fio and xfs_scrub for a while to see if we crash or livelock. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 286 # -# 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-1335 USA -#----------------------------------------------------------------------- +# Race fio and xfs_scrub for a while to see if we crash or livelock. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/287 b/tests/xfs/287 index 13424bae2..bde15e942 100755 --- a/tests/xfs/287 +++ b/tests/xfs/287 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 287 # # Test to verify project quota xfs_admin, xfsdump/xfsrestore and # xfs_db functionality # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/288 b/tests/xfs/288 index 06350014f..e7a08a5db 100755 --- a/tests/xfs/288 +++ b/tests/xfs/288 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 288 # # When an attribute leaf block count is 0, xfs_repair should junk # that leaf directly (as xfsprogs commit f714016). # -#----------------------------------------------------------------------- -# 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/xfs/289 b/tests/xfs/289 index dac0ba27d..0403cacb5 100755 --- a/tests/xfs/289 +++ b/tests/xfs/289 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 289 # # Test to ensure xfs_growfs command rejects non-existent mount points # and accepts mounted targets. # -#----------------------------------------------------------------------- -# 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/xfs/290 b/tests/xfs/290 index adc398f0c..4b6e2aab3 100755 --- a/tests/xfs/290 +++ b/tests/xfs/290 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 SGI. All Rights Reserved. +# # FS QA Test No. 290 # # Makes calls to XFS_IOC_ZERO_RANGE and checks tossed ranges @@ -8,24 +11,6 @@ # Primarily tests page boundries and boundries that are # off-by-one to ensure we're only tossing what's expected # -#----------------------------------------------------------------------- -# Copyright (c) 2012 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/291 b/tests/xfs/291 index fd5c1f1c2..349d0cd0e 100755 --- a/tests/xfs/291 +++ b/tests/xfs/291 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 291 -# -# Test xfs_repair on fragmented multi-block dir2 fs -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 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. 291 # -# 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 xfs_repair on fragmented multi-block dir2 fs # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/292 b/tests/xfs/292 index 984040852..8b0081cee 100755 --- a/tests/xfs/292 +++ b/tests/xfs/292 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 292 # # Ensure mkfs with stripe geometry goes into multidisk mode # which results in more AGs # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/293 b/tests/xfs/293 index 60245a993..2aa5162ae 100755 --- a/tests/xfs/293 +++ b/tests/xfs/293 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 293 -# -# Ensure all xfs_io commands are documented -# -#----------------------------------------------------------------------- +# 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. 293 # -# 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 -#----------------------------------------------------------------------- +# Ensure all xfs_io commands are documented # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/294 b/tests/xfs/294 index 60c461f2d..4c919432c 100755 --- a/tests/xfs/294 +++ b/tests/xfs/294 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 294 # # Test readdir on fragmented multi-fsb dir blocks @@ -10,25 +13,6 @@ # # Failure is a hang; KASAN should also catch this. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. -# Author: Eric Sandeen -# -# 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/xfs/295 b/tests/xfs/295 index c783df72d..7d1c8faff 100755 --- a/tests/xfs/295 +++ b/tests/xfs/295 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 295 -# -# Test xfs_logprint w/ multiply-logged inodes & continued transactions -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 295 # -# 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 xfs_logprint w/ multiply-logged inodes & continued transactions # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/296 b/tests/xfs/296 index 8baf97abd..bc190fafa 100755 --- a/tests/xfs/296 +++ b/tests/xfs/296 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 296 -# -# Test that xfsdump/restore preserves file capabilities -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 296 # -# 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 xfsdump/restore preserves file capabilities # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/297 b/tests/xfs/297 index 2ae2d437e..1a048b4b6 100755 --- a/tests/xfs/297 +++ b/tests/xfs/297 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 297 # # Test freeze/unfreeze file system randomly under fsstress # Regression test for commit: # 437a255 xfs: fix direct IO nested transaction deadlock. # -#----------------------------------------------------------------------- -# 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/xfs/298 b/tests/xfs/298 index 26fb5c86e..91d75292b 100755 --- a/tests/xfs/298 +++ b/tests/xfs/298 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 SGI. All Rights Reserved. +# # FS QA Test No. 298 # # Test that inline symlinks are removed from the inode when an extended # attributes forces it into being remote symlink. # Warning: this test will ASSERT on unpatched DEBUG XFS. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 SGI. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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/xfs/299 b/tests/xfs/299 index 997c5dc0c..f0012ffb4 100755 --- a/tests/xfs/299 +++ b/tests/xfs/299 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 299 # # Exercises basic XFS quota functionality, with all 3 quotas together # uquota, gquota, pquota # uqnoenforce, gqnoenforce, pqnoenforce # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/300 b/tests/xfs/300 index 9489cbea1..28608b811 100755 --- a/tests/xfs/300 +++ b/tests/xfs/300 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 300 -# -# Test xfs_fsr / swapext management of di_forkoff w/ selinux -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 300 # -# 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. +# Test xfs_fsr / swapext management of di_forkoff w/ selinux # -# 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/xfs/301 b/tests/xfs/301 index 130bc899a..440d314bd 100755 --- a/tests/xfs/301 +++ b/tests/xfs/301 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 301 -# -# Verify multi-stream xfsdump/restore preserves extended attributes -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 301 # -# 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 -#----------------------------------------------------------------------- +# Verify multi-stream xfsdump/restore preserves extended attributes # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/302 b/tests/xfs/302 index 163887966..de619874d 100755 --- a/tests/xfs/302 +++ b/tests/xfs/302 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 302 -# -# Dump and restore partialmax + 1 wholly-sparse files -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2013 SGI. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# 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. 302 # -# 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 -#----------------------------------------------------------------------- +# Dump and restore partialmax + 1 wholly-sparse files # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/303 b/tests/xfs/303 index 532abd7f6..3065dba05 100755 --- a/tests/xfs/303 +++ b/tests/xfs/303 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Oracle Inc. All Rights Reserved. +# # FS QA Test No. 303 # # Test to verify xfs_quota(8) administrator commands can deal with invalid # storage mount point without NULL pointer dereference problem. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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/xfs/304 b/tests/xfs/304 index 495356da6..eeec220f9 100755 --- a/tests/xfs/304 +++ b/tests/xfs/304 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 304 # # Test to verify that turn group/project quotas off while user quotas # are left on. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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/xfs/305 b/tests/xfs/305 index 692e9908f..2719accc1 100755 --- a/tests/xfs/305 +++ b/tests/xfs/305 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 305 # # Test to verify that turn group/project quotas off while fstress and # user quotas are left on. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 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/xfs/306 b/tests/xfs/306 index b37307940..b56b18f2e 100755 --- a/tests/xfs/306 +++ b/tests/xfs/306 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 306 # # Regression test for an XFS multi-block buffer logging bug. @@ -9,24 +12,6 @@ # transaction submission, when the associated buffer log item is pushed from the # CIL (i.e., when the log is subsequently flushed). # -#----------------------------------------------------------------------- -# 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/xfs/307 b/tests/xfs/307 index 4d88fccd0..705643da5 100755 --- a/tests/xfs/307 +++ b/tests/xfs/307 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 307 # # Test recovery of "lost" CoW blocks: # - Use the debugger to fake a leftover CoW extent # - See if xfs_repair fixes it # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/308 b/tests/xfs/308 index 3d346ec6f..f809b499e 100755 --- a/tests/xfs/308 +++ b/tests/xfs/308 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 308 # # Test recovery of "lost" CoW blocks: # - Use the debugger to fake a leftover CoW extent # - See if mount/umount fixes it # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/309 b/tests/xfs/309 index 0dd2dcf9b..c11292ce8 100755 --- a/tests/xfs/309 +++ b/tests/xfs/309 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 309 # # Ensure that we can create enough distinct reflink entries to force creation @@ -6,23 +9,6 @@ # truncating the copies at successively lower sizes. Delete and recreate a few # times to exercise the refcount btree grow/shrink functions. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/310 b/tests/xfs/310 index f655693d2..091cf3974 100755 --- a/tests/xfs/310 +++ b/tests/xfs/310 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 310 -# -# Create a file with more than 2^21 blocks (the max length of a bmbt record). -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 310 # -# 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. +# Create a file with more than 2^21 blocks (the max length of a bmbt record). # -# 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/xfs/311 b/tests/xfs/311 index a2aa3d87d..e70b52f9e 100755 --- a/tests/xfs/311 +++ b/tests/xfs/311 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 311 # # Test to reproduce an XFS unmount crash due to races with directory readahead. @@ -7,24 +10,6 @@ # certain metadata read verifier checks could access invalid memory and cause a # panic. # -#----------------------------------------------------------------------- -# 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/xfs/312 b/tests/xfs/312 index 098752747..cdec92333 100755 --- a/tests/xfs/312 +++ b/tests/xfs/312 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 312 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. # Inject an error during block remap to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/313 b/tests/xfs/313 index 0904b57fc..47ef7ec8b 100755 --- a/tests/xfs/313 +++ b/tests/xfs/313 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 313 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. # Inject an error during refcount updates to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/314 b/tests/xfs/314 index e2e4d7c55..64262bdc5 100755 --- a/tests/xfs/314 +++ b/tests/xfs/314 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 314 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. # Inject an error during rmap updates to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/315 b/tests/xfs/315 index db2655517..1e003dcc7 100755 --- a/tests/xfs/315 +++ b/tests/xfs/315 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 315 # # Reflink a file with a few dozen extents and CoW a few blocks. # Inject an error during extent freeing to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/316 b/tests/xfs/316 index 68d94662d..d0cd1e2f5 100755 --- a/tests/xfs/316 +++ b/tests/xfs/316 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 316 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. # Force XFS into "two refcount updates per transaction" mode. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/317 b/tests/xfs/317 index 651a06737..55470fbfb 100755 --- a/tests/xfs/317 +++ b/tests/xfs/317 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 317 -# -# Simulate rmap update errors with a file write and a file remove. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 317 # -# 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. +# Simulate rmap update errors with a file write and a file remove. # -# 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/xfs/318 b/tests/xfs/318 index 946388720..2f2a34b08 100755 --- a/tests/xfs/318 +++ b/tests/xfs/318 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 318 -# -# Simulate free extent errors with a file write and a file remove. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 318 # -# 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. +# Simulate free extent errors with a file write and a file remove. # -# 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/xfs/319 b/tests/xfs/319 index 457f1815a..d7ef123f5 100755 --- a/tests/xfs/319 +++ b/tests/xfs/319 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 319 # # Reflink a file. # Inject an error during block remap to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/320 b/tests/xfs/320 index 90a370562..b5a2f78be 100755 --- a/tests/xfs/320 +++ b/tests/xfs/320 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 320 # # Reflink a file. # Inject an error during block remap to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/321 b/tests/xfs/321 index 1b9af732e..09f253eaa 100755 --- a/tests/xfs/321 +++ b/tests/xfs/321 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 321 # # Reflink a file. # Inject an error during refcount update to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/322 b/tests/xfs/322 index ef402c8e7..b9224035c 100755 --- a/tests/xfs/322 +++ b/tests/xfs/322 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 322 # # Reflink a file. # Inject an error during rmap update to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/323 b/tests/xfs/323 index 18893f202..97966c803 100755 --- a/tests/xfs/323 +++ b/tests/xfs/323 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 323 # # Reflink a file. # Inject an error during extent free to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/324 b/tests/xfs/324 index 9ac6c5550..a1be33180 100755 --- a/tests/xfs/324 +++ b/tests/xfs/324 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 324 # # Reflink a file with a few dozen extents. # Force XFS into "two refcount updates per transaction" mode. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/325 b/tests/xfs/325 index 8a0cce2fc..b156de94c 100755 --- a/tests/xfs/325 +++ b/tests/xfs/325 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 325 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. # Inject an error during extent freeing to test log recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/326 b/tests/xfs/326 index 929d3e6b7..b6e01862e 100755 --- a/tests/xfs/326 +++ b/tests/xfs/326 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 326 # # Reflink a file with a few dozen extents, CoW a few blocks, and rm. @@ -6,23 +9,6 @@ # cowextsize so that the refcount failure is somewhere in the CoW remap # instead of when we're stashing the CoW orphan record. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/327 b/tests/xfs/327 index 36130b027..76e2c998e 100755 --- a/tests/xfs/327 +++ b/tests/xfs/327 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 327 # # Create 100 reflinked files, CoW them all, and see if xfs_repair will @@ -6,23 +9,6 @@ # that (fortunately) triggered asserts in the rmap code when clearing # the reflink flag. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/328 b/tests/xfs/328 index 90c5f2b2a..ab8af12f5 100755 --- a/tests/xfs/328 +++ b/tests/xfs/328 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 328 -# -# See how well xfs_fsr handles "defragging" a file with a hojillion extents. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 328 # -# 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. +# See how well xfs_fsr handles "defragging" a file with a hojillion extents. # -# 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/xfs/329 b/tests/xfs/329 index cd93e93f3..6e4afc5d2 100755 --- a/tests/xfs/329 +++ b/tests/xfs/329 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 329 -# -# Ensure that xfs_fsr handles errors correctly while defragging files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 329 # -# 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 xfs_fsr handles errors correctly while defragging 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/xfs/330 b/tests/xfs/330 index d49f27233..3682525db 100755 --- a/tests/xfs/330 +++ b/tests/xfs/330 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 330 -# -# Ensure that xfs_fsr handles quota correctly while defragging files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 330 # -# 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 xfs_fsr handles quota correctly while defragging 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/xfs/331 b/tests/xfs/331 index 8a1367c79..8053c9584 100755 --- a/tests/xfs/331 +++ b/tests/xfs/331 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 331 -# -# Create a big enough rmapbt that we tickle a fdblocks accounting bug. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 331 # -# 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. +# Create a big enough rmapbt that we tickle a fdblocks accounting bug. # -# 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/xfs/332 b/tests/xfs/332 index e10c53bc2..cf4bbf337 100755 --- a/tests/xfs/332 +++ b/tests/xfs/332 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 332 -# -# Make sure query_range returns -EINVAL if lowkey > highkey. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 332 # -# 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. +# Make sure query_range returns -EINVAL if lowkey > highkey. # -# 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/xfs/333 b/tests/xfs/333 index 41949f922..06e3746e2 100755 --- a/tests/xfs/333 +++ b/tests/xfs/333 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 333 -# -# Set rrmapino to another inode on an non-rt rmap fs and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 333 # -# 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. +# Set rrmapino to another inode on an non-rt rmap fs and see if repair fixes it. # -# 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/xfs/334 b/tests/xfs/334 index 1eb1e38f5..5b0c64be6 100755 --- a/tests/xfs/334 +++ b/tests/xfs/334 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 334 -# -# Ensure that we can create a few realtime files on a rmapbt filesystem. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 334 # -# 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 we can create a few realtime files on a rmapbt filesystem. # -# 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/xfs/335 b/tests/xfs/335 index 5afeaa874..98255c63a 100755 --- a/tests/xfs/335 +++ b/tests/xfs/335 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 335 -# -# Exercise expanding and shrinking the realtime rmap btree. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 335 # -# 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. +# Exercise expanding and shrinking the realtime rmap btree. # -# 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/xfs/336 b/tests/xfs/336 index 39838e9d1..1cb53b937 100755 --- a/tests/xfs/336 +++ b/tests/xfs/336 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 336 -# -# Exercise metadump on realtime rmapbt preservation. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 336 # -# 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. +# Exercise metadump on realtime rmapbt preservation. # -# 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/xfs/337 b/tests/xfs/337 index 851b6439b..37898ad97 100755 --- a/tests/xfs/337 +++ b/tests/xfs/337 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 337 -# -# Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 337 # -# 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. +# Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal. # -# 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/xfs/338 b/tests/xfs/338 index 25e6aec9c..724f37e7e 100755 --- a/tests/xfs/338 +++ b/tests/xfs/338 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 338 -# -# Set rrmapino to zero on an rtrmap fs and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 338 # -# 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. +# Set rrmapino to zero on an rtrmap fs and see if repair fixes it. # -# 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/xfs/339 b/tests/xfs/339 index 78b714f96..9c1125a4d 100755 --- a/tests/xfs/339 +++ b/tests/xfs/339 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 339 -# -# Link rrmapino into the rootdir on an rtrmap fs and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 339 # -# 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. +# Link rrmapino into the rootdir on an rtrmap fs and see if repair fixes it. # -# 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/xfs/340 b/tests/xfs/340 index 8e82c0884..3308409f1 100755 --- a/tests/xfs/340 +++ b/tests/xfs/340 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 340 -# -# Set rrmapino to another inode on an rtrmap fs and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 340 # -# 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. +# Set rrmapino to another inode on an rtrmap fs and see if repair fixes it. # -# 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/xfs/341 b/tests/xfs/341 index 058e98ef1..5b811f9d4 100755 --- a/tests/xfs/341 +++ b/tests/xfs/341 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 341 -# -# Cross-link file block into rtrmapbt and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 341 # -# 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. +# Cross-link file block into rtrmapbt and see if repair fixes it. # -# 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/xfs/342 b/tests/xfs/342 index a95b49d6f..58b7625c7 100755 --- a/tests/xfs/342 +++ b/tests/xfs/342 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 342 -# -# Cross-link rtrmapbt block into a file and see if repair fixes it. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 342 # -# 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. +# Cross-link rtrmapbt block into a file and see if repair fixes it. # -# 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/xfs/343 b/tests/xfs/343 index 19b3c8c90..34d3971d6 100755 --- a/tests/xfs/343 +++ b/tests/xfs/343 @@ -1,25 +1,11 @@ #! /bin/bash -# FS QA Test No. 343 -# -# Basic rmap manipulation tests for realtime files. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016, 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. 343 # -# 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. +# Basic rmap manipulation tests for realtime 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/xfs/344 b/tests/xfs/344 index d5288cf9e..df067d2da 100755 --- a/tests/xfs/344 +++ b/tests/xfs/344 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 344 # # Test fragmentation after a lot of random CoW: @@ -7,23 +10,6 @@ # - falloc the whole file to unshare blocks. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/345 b/tests/xfs/345 index ccfdb8f2b..f0ea8ec90 100755 --- a/tests/xfs/345 +++ b/tests/xfs/345 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 345 # # Test fragmentation after a lot of random CoW: @@ -6,23 +9,6 @@ # - Buffered write to random offsets to scatter CoW reservations. # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/346 b/tests/xfs/346 index f189b5daa..eab8bd77c 100755 --- a/tests/xfs/346 +++ b/tests/xfs/346 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 346 # # Test fragmentation after writing and dropping CoW extent hint reservation: @@ -7,23 +10,6 @@ # - Unmount, remount, repeat (twice more). # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/347 b/tests/xfs/347 index fbc5ce336..80511a640 100755 --- a/tests/xfs/347 +++ b/tests/xfs/347 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 347 # # Test fragmentation after writing and dropping CoW extent hint reservation: @@ -7,23 +10,6 @@ # - Unmount, remount, repeat (twice more). # - Check the number of extents. # -#----------------------------------------------------------------------- -# Copyright (c) 2016, 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. -# -# 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/xfs/348 b/tests/xfs/348 index 4702629eb..458aa9a40 100755 --- a/tests/xfs/348 +++ b/tests/xfs/348 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 348 # # Test handling of invalid inode modes @@ -6,26 +9,6 @@ # Set all possible file type values for different types of files # and verify that xfs_repair detects the correct errors. # -#----------------------------------------------------------------------- -# -# 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/xfs/349 b/tests/xfs/349 index 3f23b0840..095b2504e 100755 --- a/tests/xfs/349 +++ b/tests/xfs/349 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 349 # # Populate a XFS filesystem and ensure that scrub and repair are happy. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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/xfs/350 b/tests/xfs/350 index 618af58f3..3b919af37 100755 --- a/tests/xfs/350 +++ b/tests/xfs/350 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 350 # # Populate a XFS filesystem and fuzz every superblock field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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/xfs/351 b/tests/xfs/351 index 6f0cef331..1228c23fd 100755 --- a/tests/xfs/351 +++ b/tests/xfs/351 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 351 # # Populate a XFS filesystem and fuzz every superblock field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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/xfs/352 b/tests/xfs/352 index c3d8cf5b2..766ab0f88 100755 --- a/tests/xfs/352 +++ b/tests/xfs/352 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 352 # # Populate a XFS filesystem and fuzz every AGF field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1302 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/353 b/tests/xfs/353 index 8c8bfff7f..200a3fe47 100755 --- a/tests/xfs/353 +++ b/tests/xfs/353 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 353 # # Populate a XFS filesystem and fuzz every AGF field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1302 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/354 b/tests/xfs/354 index 5c2e32f5c..e124b7f28 100755 --- a/tests/xfs/354 +++ b/tests/xfs/354 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 354 # # Populate a XFS filesystem and fuzz every AGFL field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/355 b/tests/xfs/355 index ff652bf10..a9acfcb21 100755 --- a/tests/xfs/355 +++ b/tests/xfs/355 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 355 # # Populate a XFS filesystem and fuzz every AGFL field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/356 b/tests/xfs/356 index ffade1730..caab7974f 100755 --- a/tests/xfs/356 +++ b/tests/xfs/356 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 356 # # Populate a XFS filesystem and fuzz every AGI field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/357 b/tests/xfs/357 index fa097e597..a76fdbefe 100755 --- a/tests/xfs/357 +++ b/tests/xfs/357 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 357 # # Populate a XFS filesystem and fuzz every AGI field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/358 b/tests/xfs/358 index dbc3e8d78..539c035cf 100755 --- a/tests/xfs/358 +++ b/tests/xfs/358 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 358 # # Populate a XFS filesystem and fuzz every bnobt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/359 b/tests/xfs/359 index 6d47a10bd..fc9de53a9 100755 --- a/tests/xfs/359 +++ b/tests/xfs/359 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 359 # # Populate a XFS filesystem and fuzz every bnobt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/360 b/tests/xfs/360 index e8f200a32..4e7cd92e1 100755 --- a/tests/xfs/360 +++ b/tests/xfs/360 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 360 # # Populate a XFS filesystem and fuzz every bnobt key/pointer. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/361 b/tests/xfs/361 index 48a9447b6..bc5c9863c 100755 --- a/tests/xfs/361 +++ b/tests/xfs/361 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 361 # # Populate a XFS filesystem and fuzz every bnobt key/pointer. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/362 b/tests/xfs/362 index 221df5294..dd2d82335 100755 --- a/tests/xfs/362 +++ b/tests/xfs/362 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 362 # # Populate a XFS filesystem and fuzz every cntbt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/363 b/tests/xfs/363 index 829c135d6..7ad14ccbb 100755 --- a/tests/xfs/363 +++ b/tests/xfs/363 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 363 # # Populate a XFS filesystem and fuzz every cntbt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/364 b/tests/xfs/364 index c4d5a8f7a..5f902ba5e 100755 --- a/tests/xfs/364 +++ b/tests/xfs/364 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 364 # # Populate a XFS filesystem and fuzz every inobt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/365 b/tests/xfs/365 index a23d94600..64e910edc 100755 --- a/tests/xfs/365 +++ b/tests/xfs/365 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 365 # # Populate a XFS filesystem and fuzz every inobt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/366 b/tests/xfs/366 index 0c281d818..b3182a8a3 100755 --- a/tests/xfs/366 +++ b/tests/xfs/366 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 366 # # Populate a XFS filesystem and fuzz every finobt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/367 b/tests/xfs/367 index 14cdfa965..b3f8b5b70 100755 --- a/tests/xfs/367 +++ b/tests/xfs/367 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 367 # # Populate a XFS filesystem and fuzz every finobt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/368 b/tests/xfs/368 index 38b004427..86af835f4 100755 --- a/tests/xfs/368 +++ b/tests/xfs/368 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 368 # # Populate a XFS filesystem and fuzz every rmapbt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/369 b/tests/xfs/369 index 80501ba1b..456634a91 100755 --- a/tests/xfs/369 +++ b/tests/xfs/369 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 369 # # Populate a XFS filesystem and fuzz every rmapbt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/370 b/tests/xfs/370 index c11ac5f07..4549ec772 100755 --- a/tests/xfs/370 +++ b/tests/xfs/370 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 370 # # Populate a XFS filesystem and fuzz every rmapbt key/pointer field. # Use xfs_repair to fix the corruption. # Use xfs_repair to repair the problems. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/371 b/tests/xfs/371 index 8ddd89de7..fbe733652 100755 --- a/tests/xfs/371 +++ b/tests/xfs/371 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 371 # # Populate a XFS filesystem and fuzz every rmapbt key/pointer field. # Use xfs_scrub to fix the corruption. # Use xfs_scrub to repair the problems. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/372 b/tests/xfs/372 index 277aa5187..fc1452b0f 100755 --- a/tests/xfs/372 +++ b/tests/xfs/372 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 372 # # Populate a XFS filesystem and fuzz every refcountbt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/373 b/tests/xfs/373 index 532dd0a4f..66ce78331 100755 --- a/tests/xfs/373 +++ b/tests/xfs/373 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 373 # # Populate a XFS filesystem and fuzz every refcountbt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/374 b/tests/xfs/374 index 63ad9a143..af6a053cc 100755 --- a/tests/xfs/374 +++ b/tests/xfs/374 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 374 # # Populate a XFS filesystem and fuzz every btree-format directory inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/375 b/tests/xfs/375 index f2a071937..f4ae36986 100755 --- a/tests/xfs/375 +++ b/tests/xfs/375 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 375 # # Populate a XFS filesystem and fuzz every btree-format directory inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/376 b/tests/xfs/376 index 74864d794..30451af68 100755 --- a/tests/xfs/376 +++ b/tests/xfs/376 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 376 # # Populate a XFS filesystem and fuzz every extents-format file inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/377 b/tests/xfs/377 index 94e5c0c2c..931bba8b6 100755 --- a/tests/xfs/377 +++ b/tests/xfs/377 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 377 # # Populate a XFS filesystem and fuzz every extents-format file inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/378 b/tests/xfs/378 index d456d5fae..a71f517a6 100755 --- a/tests/xfs/378 +++ b/tests/xfs/378 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 378 # # Populate a XFS filesystem and fuzz every btree-format file inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/379 b/tests/xfs/379 index 8163446cb..543bebfbb 100755 --- a/tests/xfs/379 +++ b/tests/xfs/379 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 379 # # Populate a XFS filesystem and fuzz every btree-format file inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/380 b/tests/xfs/380 index 67ba7e1fb..cfb86e006 100755 --- a/tests/xfs/380 +++ b/tests/xfs/380 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 380 # # Populate a XFS filesystem and fuzz every bmbt block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/381 b/tests/xfs/381 index 199d087b7..47cf1c1be 100755 --- a/tests/xfs/381 +++ b/tests/xfs/381 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 381 # # Populate a XFS filesystem and fuzz every bmbt block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/382 b/tests/xfs/382 index 65d3b3caf..c68978d8f 100755 --- a/tests/xfs/382 +++ b/tests/xfs/382 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 382 # # Populate a XFS filesystem and fuzz every symlink remote block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/383 b/tests/xfs/383 index e241157c3..a2d00c778 100755 --- a/tests/xfs/383 +++ b/tests/xfs/383 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 383 # # Populate a XFS filesystem and fuzz every symlink remote block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/384 b/tests/xfs/384 index 904903da3..a6153d60d 100755 --- a/tests/xfs/384 +++ b/tests/xfs/384 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 384 # # Populate a XFS filesystem and fuzz every inline directory inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/385 b/tests/xfs/385 index e0a6e1bdd..3a3818b7f 100755 --- a/tests/xfs/385 +++ b/tests/xfs/385 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 385 # # Populate a XFS filesystem and fuzz every inline directory inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/386 b/tests/xfs/386 index 38cd87359..148db7bee 100755 --- a/tests/xfs/386 +++ b/tests/xfs/386 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 386 # # Populate a XFS filesystem and fuzz every block-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/387 b/tests/xfs/387 index 3375fe53b..be2823d6a 100755 --- a/tests/xfs/387 +++ b/tests/xfs/387 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 387 # # Populate a XFS filesystem and fuzz every block-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/388 b/tests/xfs/388 index 96cd2307c..00e6a704e 100755 --- a/tests/xfs/388 +++ b/tests/xfs/388 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 388 # # Populate a XFS filesystem and fuzz every data-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/389 b/tests/xfs/389 index 9fa3e8a85..63abc255a 100755 --- a/tests/xfs/389 +++ b/tests/xfs/389 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 389 # # Populate a XFS filesystem and fuzz every data-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/390 b/tests/xfs/390 index 31be9462f..e14bf689e 100755 --- a/tests/xfs/390 +++ b/tests/xfs/390 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 390 # # Populate a XFS filesystem and fuzz every leaf1-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/391 b/tests/xfs/391 index 9d753cf56..d0d463eba 100755 --- a/tests/xfs/391 +++ b/tests/xfs/391 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 391 # # Populate a XFS filesystem and fuzz every leaf1-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/392 b/tests/xfs/392 index 4e6e623f8..302b4f367 100755 --- a/tests/xfs/392 +++ b/tests/xfs/392 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 392 # # Populate a XFS filesystem and fuzz every leafn-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/393 b/tests/xfs/393 index f05c4bc3c..29f0eeeae 100755 --- a/tests/xfs/393 +++ b/tests/xfs/393 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 393 # # Populate a XFS filesystem and fuzz every leafn-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/394 b/tests/xfs/394 index 292fba12b..e3f16cef5 100755 --- a/tests/xfs/394 +++ b/tests/xfs/394 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 394 # # Populate a XFS filesystem and fuzz every node-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/395 b/tests/xfs/395 index c40535b93..71f49e814 100755 --- a/tests/xfs/395 +++ b/tests/xfs/395 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 395 # # Populate a XFS filesystem and fuzz every node-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/396 b/tests/xfs/396 index 4e57caa7c..01cd9375d 100755 --- a/tests/xfs/396 +++ b/tests/xfs/396 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 396 # # Populate a XFS filesystem and fuzz every freeindex-format dir block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/397 b/tests/xfs/397 index 6f5eb94be..49936b7cf 100755 --- a/tests/xfs/397 +++ b/tests/xfs/397 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 397 # # Populate a XFS filesystem and fuzz every freeindex-format dir block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/398 b/tests/xfs/398 index dbb760795..17ce86173 100755 --- a/tests/xfs/398 +++ b/tests/xfs/398 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 398 # # Populate a XFS filesystem and fuzz every inline attr inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/399 b/tests/xfs/399 index 51cfaccbd..1828f8073 100755 --- a/tests/xfs/399 +++ b/tests/xfs/399 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 399 # # Populate a XFS filesystem and fuzz every inline attr inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/400 b/tests/xfs/400 index 54ba30c68..1e74cd469 100755 --- a/tests/xfs/400 +++ b/tests/xfs/400 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 400 # # Populate a XFS filesystem and fuzz every leaf-format attr block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/401 b/tests/xfs/401 index bc4ccfe2b..c26baf766 100755 --- a/tests/xfs/401 +++ b/tests/xfs/401 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 401 # # Populate a XFS filesystem and fuzz every leaf-format attr block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/402 b/tests/xfs/402 index 8e6164546..1d7c2c686 100755 --- a/tests/xfs/402 +++ b/tests/xfs/402 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 402 # # Populate a XFS filesystem and fuzz every node-format attr block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/403 b/tests/xfs/403 index a6f64fe1b..111c75732 100755 --- a/tests/xfs/403 +++ b/tests/xfs/403 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 403 # # Populate a XFS filesystem and fuzz every node-format attr block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/404 b/tests/xfs/404 index aa4b7e7b4..96dbd60fc 100755 --- a/tests/xfs/404 +++ b/tests/xfs/404 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 404 # # Populate a XFS filesystem and fuzz every external attr block field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/405 b/tests/xfs/405 index a2d2b8282..6c83a2fc4 100755 --- a/tests/xfs/405 +++ b/tests/xfs/405 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 405 # # Populate a XFS filesystem and fuzz every external attr block field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/406 b/tests/xfs/406 index a9050f4b3..004b6432e 100755 --- a/tests/xfs/406 +++ b/tests/xfs/406 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 406 # # Populate a XFS filesystem and fuzz every rtrmapbt record field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/407 b/tests/xfs/407 index cd589fd20..f816a9544 100755 --- a/tests/xfs/407 +++ b/tests/xfs/407 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 407 # # Populate a XFS filesystem and fuzz every rtrmapbt record field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/408 b/tests/xfs/408 index bdd7151e8..59bf3d726 100755 --- a/tests/xfs/408 +++ b/tests/xfs/408 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 408 # # Populate a XFS filesystem and fuzz every rtrmapbt keyptr field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/409 b/tests/xfs/409 index a822300d3..c175c82fa 100755 --- a/tests/xfs/409 +++ b/tests/xfs/409 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 409 # # Populate a XFS filesystem and fuzz every rtrmapbt keyptr field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/410 b/tests/xfs/410 index db001364e..cbd6f8c55 100755 --- a/tests/xfs/410 +++ b/tests/xfs/410 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 410 # # Populate a XFS filesystem and fuzz every refcountbt field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/411 b/tests/xfs/411 index 95ba0d446..baa6ed442 100755 --- a/tests/xfs/411 +++ b/tests/xfs/411 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 411 # # Populate a XFS filesystem and fuzz every refcountbt field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/412 b/tests/xfs/412 index edff30c2d..15a43fd0a 100755 --- a/tests/xfs/412 +++ b/tests/xfs/412 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 412 # # Populate a XFS filesystem and fuzz every btree-format attr inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/413 b/tests/xfs/413 index 7884dc4b5..73b919bb5 100755 --- a/tests/xfs/413 +++ b/tests/xfs/413 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 413 # # Populate a XFS filesystem and fuzz every btree-format attr inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/414 b/tests/xfs/414 index 0fb3db15d..05fb98cf1 100755 --- a/tests/xfs/414 +++ b/tests/xfs/414 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 414 # # Populate a XFS filesystem and fuzz every blockdev inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/415 b/tests/xfs/415 index efbbe0415..6d8b3fa09 100755 --- a/tests/xfs/415 +++ b/tests/xfs/415 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 415 # # Populate a XFS filesystem and fuzz every blockdev inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/416 b/tests/xfs/416 index 7ff3d29c3..e21de41b0 100755 --- a/tests/xfs/416 +++ b/tests/xfs/416 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 416 # # Populate a XFS filesystem and fuzz every local-format symlink inode field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/417 b/tests/xfs/417 index 090916b99..9803f3860 100755 --- a/tests/xfs/417 +++ b/tests/xfs/417 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 417 # # Populate a XFS filesystem and fuzz every local-format symlink inode field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/418 b/tests/xfs/418 index 8b60c08dc..71a160af4 100755 --- a/tests/xfs/418 +++ b/tests/xfs/418 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 418 # # Populate a XFS filesystem and fuzz every AG1 superblock field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1335 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/419 b/tests/xfs/419 index 66fd5c9a1..33d2d0dad 100755 --- a/tests/xfs/419 +++ b/tests/xfs/419 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test No. 419 -# -# Check that we can't swapon a realtime file. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # 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. +# FS QA Test No. 419 # -# 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 -#----------------------------------------------------------------------- +# Check that we can't swapon a realtime file. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/420 b/tests/xfs/420 index 081588464..a083a12ba 100755 --- a/tests/xfs/420 +++ b/tests/xfs/420 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 420 # # Test SEEK_HOLE/SEEK_DATA into a region that is marked CoW'd for @@ -26,23 +29,6 @@ # second dirty block. We need the huge cowextsize so that the hole # area receives preallocation in the CoW fork. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/421 b/tests/xfs/421 index 1b5137d8e..a2734abaa 100755 --- a/tests/xfs/421 +++ b/tests/xfs/421 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 421 # # Test SEEK_HOLE/SEEK_DATA into a region that is marked CoW'd for @@ -26,23 +29,6 @@ # second dirty block. We need the huge cowextsize so that the hole # area receives preallocation in the CoW fork. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/422 b/tests/xfs/422 index abb842ff7..8430b1fe1 100755 --- a/tests/xfs/422 +++ b/tests/xfs/422 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 422 # # Race freeze and rmapbt repair for a while to see if we crash or livelock. # rmapbt repair requires us to freeze the filesystem to stop all filesystem # activity, so we can't have userspace wandering in and thawing it. # -#----------------------------------------------------------------------- -# 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-1335 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/423 b/tests/xfs/423 index 8be25d9d0..85f8a0e9e 100755 --- a/tests/xfs/423 +++ b/tests/xfs/423 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 423 # # Race scrubbing the inode record while appending to a file. @@ -6,24 +9,6 @@ # extents for di_nblocks if the fork is in extents format, but we don't # count them if the fork is in btree format. # -#----------------------------------------------------------------------- -# 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-1335 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/424 b/tests/xfs/424 index 41180d818..66d794585 100755 --- a/tests/xfs/424 +++ b/tests/xfs/424 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 424 # # This case checks if setting type causes error. @@ -14,24 +17,6 @@ # emit spurious verifier errors for all but the first. # This issue has been fixed in xfsprogs-dev: # '533d1d2 ("xfs_db: properly set inode type")' -#----------------------------------------------------------------------- -# 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/xfs/425 b/tests/xfs/425 index 9e91b88f9..3bc76113c 100755 --- a/tests/xfs/425 +++ b/tests/xfs/425 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 425 # # Populate a XFS filesystem and fuzz every user dquot field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/426 b/tests/xfs/426 index bf6b821c0..82c8d3b8b 100755 --- a/tests/xfs/426 +++ b/tests/xfs/426 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 426 # # Populate a XFS filesystem and fuzz every user dquot field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/427 b/tests/xfs/427 index 353ccaa0c..881242112 100755 --- a/tests/xfs/427 +++ b/tests/xfs/427 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 427 # # Populate a XFS filesystem and fuzz every group dquot field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/428 b/tests/xfs/428 index bb6e2ad15..49ecbf9d3 100755 --- a/tests/xfs/428 +++ b/tests/xfs/428 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 428 # # Populate a XFS filesystem and fuzz every group dquot field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/429 b/tests/xfs/429 index 505da66ed..2f1e203e2 100755 --- a/tests/xfs/429 +++ b/tests/xfs/429 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 429 # # Populate a XFS filesystem and fuzz every project dquot field. # Use xfs_repair to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/430 b/tests/xfs/430 index 2868a4237..e02c0d92a 100755 --- a/tests/xfs/430 +++ b/tests/xfs/430 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 430 # # Populate a XFS filesystem and fuzz every project dquot field. # Use xfs_scrub to fix the corruption. # -#----------------------------------------------------------------------- -# 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-1303 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/431 b/tests/xfs/431 index ed1a69e32..63b45fd4a 100755 --- a/tests/xfs/431 +++ b/tests/xfs/431 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Facebook, Inc. All Rights Reserved. +# # FS QA Test 431 # # Verify kernel doesn't panic when user attempts to set realtime flags @@ -8,24 +11,6 @@ # # See CVE-2017-14340 for more information. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Facebook, 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/xfs/432 b/tests/xfs/432 index 19e763668..db0a3606d 100755 --- a/tests/xfs/432 +++ b/tests/xfs/432 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 432 # # Ensure that metadump copies large directory extents @@ -10,23 +13,6 @@ # Now that we've upped metadump's default too-long-extent discard # threshold to 2^21 blocks, make sure we never do that again. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/433 b/tests/xfs/433 index be1ccfcfe..db31954fd 100755 --- a/tests/xfs/433 +++ b/tests/xfs/433 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 433 # # Regression test for an XFS NULL xattr buffer problem during unlink. XFS had a @@ -14,24 +17,6 @@ # Commit f35c5e10c6ed ("xfs: reinit btree pointer on attr tree inactivation # walk") fixed the 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/xfs/434 b/tests/xfs/434 index e859aebb1..8056ba90b 100755 --- a/tests/xfs/434 +++ b/tests/xfs/434 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 434 # # Ensure that we don't leak quota inodes when CoW recovery fails. @@ -14,23 +17,6 @@ # be able to release the quota inodes when we're aborting the mount. We # also should not leak dquots. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/435 b/tests/xfs/435 index dea28149e..c6c846ad7 100755 --- a/tests/xfs/435 +++ b/tests/xfs/435 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 435 # # Ensure that we don't leak dquots when CoW recovery fails. @@ -9,23 +12,6 @@ # On a subsequent mount attempt, we should be able to release the quota # inodes when we're aborting the mount. We also should not leak dquots. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/436 b/tests/xfs/436 index d357b8303..cfa01419c 100755 --- a/tests/xfs/436 +++ b/tests/xfs/436 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 436 # # Ensure that we don't leak inodes when CoW recovery fails. @@ -12,23 +15,6 @@ # the unlinked inode and without leaking the linked inode, and we should # be able to release all the inodes when we're aborting the mount. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/437 b/tests/xfs/437 index c249b96cd..97ae47483 100755 --- a/tests/xfs/437 +++ b/tests/xfs/437 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle, Inc. +# # FS QA Test No. 437 # # find-api-violations test @@ -7,25 +10,6 @@ # libxfs_ symbols (in libxfs-api-defs.h) instead of raw xfs_ functions. # This is for the maintainers; it's not a functionality test. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle, Inc. -# -# 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/xfs/438 b/tests/xfs/438 index a6c370191..69df83354 100755 --- a/tests/xfs/438 +++ b/tests/xfs/438 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved. +# # FS QA Test No. 438 # # Test for XFS umount hang problem caused by the unceasing push @@ -17,24 +20,6 @@ # # Fixed by upstream commit 373b058 ("xfs: Properly retry failed dquot # items in case of error during buffer writeback") -#----------------------------------------------------------------------- -# Copyright (c) 2018 Huawei Technologies Co., Ltd. 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/xfs/439 b/tests/xfs/439 index 4ab1c9868..9e4a25139 100755 --- a/tests/xfs/439 +++ b/tests/xfs/439 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 FUJITSU. All Rights Reserved. +# # FS QA Test No. 439 # # Regression test for commit: @@ -8,24 +11,6 @@ # the invalid sb_logsunit leads to crash as soon as we try to write to # the log. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/xfs/440 b/tests/xfs/440 index a116f0084..1e986534c 100755 --- a/tests/xfs/440 +++ b/tests/xfs/440 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 440 # # Regression test for a quota accounting bug when changing the owner of # a file that has CoW reservations and no dirty pages. The reservations # should shift over to the new owner, but they do not. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/xfs/441 b/tests/xfs/441 index a89d30d47..7d57f0a2b 100755 --- a/tests/xfs/441 +++ b/tests/xfs/441 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 441 # # Regression test for a quota accounting bug when reflinking across EOF # of a file in which we forgot dq_attach. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/xfs/442 b/tests/xfs/442 index 8478426ad..7a5f2e8ee 100755 --- a/tests/xfs/442 +++ b/tests/xfs/442 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 442 # # Force enable all XFS quotas, run fsstress until the fs runs out of @@ -6,24 +9,6 @@ # This is a general regression/stress test for numerous quota bugs with # reflink and copy on write. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/xfs/443 b/tests/xfs/443 index 5653849d9..319e08889 100755 --- a/tests/xfs/443 +++ b/tests/xfs/443 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 443 # # Regression test for the XFS rmapbt based extent swap algorithm. The extent @@ -11,24 +14,6 @@ # blocks than expected, lead to block reservation overrun and free space # accounting inconsistency. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/444 b/tests/xfs/444 index 9700422be..f1c0ed03d 100755 --- a/tests/xfs/444 +++ b/tests/xfs/444 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle, Inc. +# # FS QA Test No. 444 # # Make sure XFS can fix a v5 AGFL that wraps over the last block. @@ -7,25 +10,6 @@ # and the patch "xfs: detect agfl count corruption and reset agfl") for details # about the fix. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle, Inc. -# -# 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/xfs/445 b/tests/xfs/445 index 41b54d932..2d205a402 100755 --- a/tests/xfs/445 +++ b/tests/xfs/445 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 445 # # Test the XFS filestreams allocator for use-after-free inode access. The @@ -14,24 +17,6 @@ # the backing pages for freed inodes may still reside in the cache with the # freed inodes in a partially initialized state. # -#----------------------------------------------------------------------- -# 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. -# -# 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/xfs/446 b/tests/xfs/446 index ac74723f4..4e1bac987 100755 --- a/tests/xfs/446 +++ b/tests/xfs/446 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 446 -# -# checkbashisms on all /bin/sh scripts. This is a maintainer script. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2018 Oracle, Inc. # -# 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. 446 # -#----------------------------------------------------------------------- +# checkbashisms on all /bin/sh scripts. This is a maintainer script. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/447 b/tests/xfs/447 index 05b1b677c..4ed8b76a2 100755 --- a/tests/xfs/447 +++ b/tests/xfs/447 @@ -1,26 +1,11 @@ #! /bin/bash -# FS QA Test 447 -# -# Exercise mount vs superblock shrinker races. -# -#----------------------------------------------------------------------- +# 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 447 # -# 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 -#----------------------------------------------------------------------- +# Exercise mount vs superblock shrinker races. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/xfs/448 b/tests/xfs/448 index 9ea929583..bd15b7907 100755 --- a/tests/xfs/448 +++ b/tests/xfs/448 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 FUJITSU LIMITED. All Rights Reserved. +# # FS QA Test No. 448 # # Regression test for commit: @@ -14,23 +17,6 @@ # we should have non fatal asserts configured, because assert # failures triggered by the intentional corrupt would crash system. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 FUJITSU LIMITED. 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/xfs/449 b/tests/xfs/449 index f12fffa2e..6a0316850 100755 --- a/tests/xfs/449 +++ b/tests/xfs/449 @@ -1,27 +1,11 @@ #! /bin/bash -# FS QA Test No. 449 -# -# Make sure pretty printed XFS geometry is the same across all programs. -# -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2018 Oracle, Inc. # -# 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. 449 # -#----------------------------------------------------------------------- +# Make sure pretty printed XFS geometry is the same across all programs. # - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"