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: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=2529c9486a99ffb0a9e0b48819b1f4af796ef20f 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 2c205f06..ac86c3b1 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 a6114748..bd1c0a7a 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 3cc52423..1ce3e5ce 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 f06c4f0f..bf03583d 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 0978729b..ab771223 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 982a161e..2ee06620 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 215bd1d5..7e965a64 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 d38d320f..968a8052 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 1caeb33e..68f63798 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 17607d6d..ee1595c8 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 dde06d76..69723a90 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 e2c810dd..d7818a76 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 394b9bce..4d31d793 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 08cd001f..84e4e71a 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 4939bb92..80a49497 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 fde76622..3407a4b1 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 5aeba16e..879e11b0 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 b2913821..aa57dec9 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 10d44946..f42b62bb 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 b0373695..61da4101 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 f8f4e156..e600b818 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 ebe539ab..e1162798 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 fff49d56..b0763402 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 2e132887..bf222150 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 ff29b995..5ce844e6 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 2111190b..d4fd636c 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 58a62482..8459c5ad 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 19e09603..b71039b9 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 0709fcea..f532a21b 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 fcea7544..5ed99628 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 b05f28b0..6403fd40 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 a6923b08..597fd0ee 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 321856fc..5af0aefc 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 a3db571a..a831a96d 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 1fde45df..1874173f 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 2a930b20..8d61a719 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 ff736d57..478157e4 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 107e8029..43fdc2c3 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 51d5544a..79284afd 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 3fd31899..c1a94699 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 d5ecc6df..1c45b8c3 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 45117d9c..43276f7f 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 9bd6f1ec..b60c2870 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 70f72d69..4a476985 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 adf85663..0c9e1b79 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 446a69dc..c5358c29 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 6ade1678..ddf871f8 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 32dbc057..424e15ce 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 8d4e0747..050dd1fb 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 ac7feb48..dd77971c 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 f38743c3..bcc824f8 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 faad218e..fed5723f 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 353dda34..84d84104 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 57b49e79..74153d2b 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 9f67e176..8a30d4b3 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 613539a7..533fef2e 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 228f52bb..0729b79b 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 32ceb0d1..68127580 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 69338acd..949dbe81 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 477b9646..ca709983 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 8a4e254a..fcea0ee8 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 cc3782e0..755c5243 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 8494f8f3..f4c65807 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 306e2cce..f8fc382a 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 b7da0b8c..3fcdb604 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 061ce2dd..b7da7966 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 4aa8966d..ae96ded8 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 7151e28e..c755bc3e 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 82c5c6c9..bad44ccb 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 81111d5d..5d52a830 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 c214dd51..d0e598ca 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 074c7869..735260b7 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 c1870be2..6939e102 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 9f24512e..e5888d5e 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 3c2c8948..caf612bb 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 86f9a056..e8b191c4 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 c4b4de96..3eaa5ffd 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 44de6590..321d6582 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 3079455a..bf965a7f 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 20c4a72a..668380f6 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 b54c8d54..39f4c3ca 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 03878379..f2b5be29 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 5490bd20..2770ab3e 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 6d20ef3a..8e9aff3c 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 8f932292..23095413 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 d05b0619..2a8df3ad 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 4549597c..625ed355 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 f46c1ead..df5b0511 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 5b808604..e905e21a 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 f4230bc2..b8f90a27 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 5e50e8a8..22c87794 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 ea3b1229..4e529958 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 aa9c360b..3e1821af 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 13dcf6e2..08a57e49 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 290ccf29..35119aad 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 a9451f43..ef6136af 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 56104ee3..174aee08 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 b32fc493..c63b9d60 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 d9aad7e3..f5750be6 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 1e76fc45..6b9ca538 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 0e5ed604..57983a8f 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 ec55c3a6..9920bad4 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 90109e3b..d2b690a2 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 b7164374..218e2b60 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 bac6e282..fe451344 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 d4914100..7a71ec09 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 7640bff3..628922cd 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 86415366..c47f4f37 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 2625f154..a063dc3f 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 19eddafb..d4542b98 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 8bc5e28b..2ef69f07 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 fc2ee95d..0bd68505 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 b19d948d..9394a257 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 674d8848..613699e1 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 f77d0dd2..dc612fe5 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 af2bcb99..6887d7e5 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 31eac295..8c1ab632 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 fac3aa77..621879c6 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 ad6db455..bf7f1ca8 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 39c41d98..9bdcc7bf 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 a380b7fb..d82a367f 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 0de99b6d..b66b78a6 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 2640d675..8a494ef9 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 742ef75a..41f98278 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 4ab0177d..1dbe966e 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 de6e2fdb..e5a2d9ed 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 863581df..41dacd79 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 8e29b8dd..40ea0f04 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 687d6274..86c24348 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 71df9bbd..71c1181f 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 8df77fff..c11c6332 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 6bb03e79..c5fe8b5a 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 ff73a415..35d949bc 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 f0644764..c6937bee 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 01fa4a6e..cc505980 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 cbba64f7..b2e70dda 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 6a193118..79106c66 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 6f4bbd1f..36490e6a 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 4ee7ea2a..2a266352 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 74d8f12e..6e89fe35 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 80b5cb04..754ca37a 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 8a11d8bc..e6a3bc3e 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 4a3bd473..fccb57b9 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 da3995e9..53451aa8 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 14a979b5..26983272 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 9d93e951..fcfde483 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 26b885c7..9f547b94 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 89f6906d..d9d7d221 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 a72a5ba4..fbf66872 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 8ab2682d..9c247b6d 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 982f10b4..3ec42f28 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 1a6473f2..de30742d 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 4fd348d6..4ac74360 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 398dd280..d72ee1b1 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 6f5ebfe3..3d27c63f 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 9e17e078..6f4d8ad3 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 ac7b63b7..54f78e19 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 22710a12..fb8a7517 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 29bd7243..2c69916e 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 8b8e2ec4..5067679e 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 4124c7f9..8a3a92f3 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 4e6fc6f7..2845d9e4 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 32fff300..56c06fcd 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 d8efaa63..fdd9293d 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 c4ae531f..4f6738d4 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 2a96f8a3..9814e4a3 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 a9f0e612..40b45e86 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 6fc4540d..6e06e513 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 96f7c5e6..2142ed52 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 6deef1b2..f82df69d 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 a6151f0a..050d02ab 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 17463d79..c100481c 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 3a20a9e4..1569146f 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 daa65a96..781a1967 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 ad18e421..54c629e8 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 035d3b45..bf671c56 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 2aa4c799..307b2a55 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 9db8d058..84151056 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 4aeabb23..6a50d3d1 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 736267e1..665fc165 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 3daea788..882a974b 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 6d7d21ef..a1b42d15 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 390cfc8e..20a57180 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 2ae19abf..6273eead 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 d7dfef7a..f19e9146 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 a4527ed7..abff2e2f 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 5b81daf1..e705cf55 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 370b93ca..cb18b930 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 e2654e51..c1c52a22 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 251b7283..3275e29d 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 cff3efa9..b6658015 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 eeb60257..54af11c8 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 c45f05a8..955412ed 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 3226431f..6c1eddba 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 3948ca40..b58308a5 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 fe3f5709..5dc28670 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 7706e03a..76f6f0d6 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 bdfd44a4..b7338ddd 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 a0f48ad9..dd909b09 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 328341c9..70853159 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 45dc42fa..a91c58fe 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 b9827a7f..3d080c9c 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 2ac52903..6a375ef1 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 9a134e96..86156a1a 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 debdc2a4..ed07d165 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 91467e90..7f4e725e 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 f9998ee1..e830534b 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 b00e4ab4..0030d9c9 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 83ccdf6b..e7b49f7f 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 8a77464a..dae3e915 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 bd4b7991..f42b46d3 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 90f6903d..f05a16ab 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 2029abb2..fa94914c 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 719ea2bd..4686504a 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 c2b9c0ed..c75f15f2 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 76f79ca1..b1fd8ecc 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 8aacdf96..20775fb3 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 31cac446..4aaf5cbe 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 2a8d966f..f167d584 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 69b539cc..227d5452 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 405d2d5b..537a13cd 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 77ecfc61..10409e34 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 66548727..169f10be 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 376abe16..f1ef1faa 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 58646773..6145b2ff 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 44605b1e..19296c9b 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 817c9681..da0b2056 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 9d8e9a90..bcff8f6e 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 0a42bcf6..5a5e6ea7 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 e42013f9..8348f031 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 ac1dd162..865c0331 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 8638ee63..3a88cc33 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 9e7d3b32..daaf0bbc 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 34807582..dff512d4 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 f7d75e78..97db55cc 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 3ce4de81..34a4c9ee 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 f961de3e..286fd687 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 0bbda8f9..c6065184 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 c658dda6..6a13319b 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 fa0edc77..0560651d 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 b3096732..6b642a80 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 4e1a8b44..9ae1aebd 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 ecec0e2e..ae630778 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 a84d87a2..17941eb5 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 8335a0ff..36eb28a4 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 db57622e..cd18afd2 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 1581dd3e..26198b92 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 471205c9..cad27969 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 0a7fbf15..4e56fca3 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 f807c5a5..f8b800e4 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 48a027c7..d98f1c9b 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 ddafda6f..df795b81 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 91eb0417..dc897c18 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 ac87e49e..e8e2ed8a 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 97cbb77b..40350812 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 a182953d..40c01dce 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 1fc401b5..495409fa 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 a3ffc899..4101e571 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 17f3c6d6..1d5fb5e8 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 e613cc0b..ba606998 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 e3c25919..0fabcd64 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 629470a5..6c39268a 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 e713dfdd..75477937 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 245b0ad3..3b3750b4 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 3dfeb704..abe1a600 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 70d4b7fa..c4c3e8d9 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 65e53218..8887f4c1 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 bc2bb621..c2686302 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 318dd228..25ae50d0 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 05dee741..d5c8df19 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 d82b19b7..db14bfec 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 f8e9eb3f..1f878deb 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 f784a354..7737e735 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 ee433e0d..592c9036 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 3ccfd775..dec956f0 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 e39b5d5d..ed29844d 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 cb4f1ee7..5f1ec9ce 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 47012a36..3d2a846a 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 9dee4cfb..7ab8bdd5 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 80a82bec..172eee21 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 fbfa06e2..9df6154c 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 15ccc3f4..bb4975c4 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 def21071..e647cef9 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 d0eb5bd6..fc51af0e 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 579d9529..ad8b1bac 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 e71b933c..8bc1e59e 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 13424bae..bde15e94 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 06350014..e7a08a5d 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 dac0ba27..0403cacb 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 adc398f0..4b6e2aab 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 fd5c1f1c..349d0cd0 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 98404085..8b0081ce 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 60245a99..2aa5162a 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 60c461f2..4c919432 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 c783df72..7d1c8faf 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 8baf97ab..bc190faf 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 2ae2d437..1a048b4b 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 26fb5c86..91d75292 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 997c5dc0..f0012ffb 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 9489cbea..28608b81 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 130bc899..440d314b 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 16388796..de619874 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 532abd7f..3065dba0 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 495356da..eeec220f 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 692e9908..2719accc 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 b3730794..b56b18f2 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 4d88fccd..705643da 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 3d346ec6..f809b499 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 0dd2dcf9..c11292ce 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 f655693d..091cf397 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 a2aa3d87..e70b52f9 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 09875274..cdec9233 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 0904b57f..47ef7ec8 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 e2e4d7c5..64262bdc 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 db265551..1e003dcc 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 68d94662..d0cd1e2f 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 651a0673..55470fbf 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 94638872..2f2a34b0 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 457f1815..d7ef123f 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 90a37056..b5a2f78b 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 1b9af732..09f253ea 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 ef402c8e..b9224035 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 18893f20..97966c80 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 9ac6c555..a1be3318 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 8a0cce2f..b156de94 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 929d3e6b..b6e01862 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 36130b02..76e2c998 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 90c5f2b2..ab8af12f 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 cd93e93f..6e4afc5d 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 d49f2723..3682525d 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 8a1367c7..8053c958 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 e10c53bc..cf4bbf33 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 41949f92..06e3746e 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 1eb1e38f..5b0c64be 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 5afeaa87..98255c63 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 39838e9d..1cb53b93 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 851b6439..37898ad9 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 25e6aec9..724f37e7 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 78b714f9..9c1125a4 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 8e82c088..3308409f 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 058e98ef..5b811f9d 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 a95b49d6..58b7625c 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 19b3c8c9..34d3971d 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 d5288cf9..df067d2d 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 ccfdb8f2..f0ea8ec9 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 f189b5da..eab8bd77 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 fbc5ce33..80511a64 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 4702629e..458aa9a4 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 3f23b084..095b2504 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 618af58f..3b919af3 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 6f0cef33..1228c23f 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 c3d8cf5b..766ab0f8 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 8c8bfff7..200a3fe4 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 5c2e32f5..e124b7f2 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 ff652bf1..a9acfcb2 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 ffade173..caab7974 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 fa097e59..a76fdbef 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 dbc3e8d7..539c035c 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 6d47a10b..fc9de53a 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 e8f200a3..4e7cd92e 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 48a9447b..bc5c9863 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 221df529..dd2d8233 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 829c135d..7ad14ccb 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 c4d5a8f7..5f902ba5 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 a23d9460..64e910ed 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 0c281d81..b3182a8a 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 14cdfa96..b3f8b5b7 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 38b00442..86af835f 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 80501ba1..456634a9 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 c11ac5f0..4549ec77 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 8ddd89de..fbe73365 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 277aa518..fc1452b0 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 532dd0a4..66ce7833 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 63ad9a14..af6a053c 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 f2a07193..f4ae3698 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 74864d79..30451af6 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 94e5c0c2..931bba8b 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 d456d5fa..a71f517a 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 8163446c..543bebfb 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 67ba7e1f..cfb86e00 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 199d087b..47cf1c1b 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 65d3b3ca..c68978d8 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 e241157c..a2d00c77 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 904903da..a6153d60 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 e0a6e1bd..3a3818b7 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 38cd8735..148db7be 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 3375fe53..be2823d6 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 96cd2307..00e6a704 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 9fa3e8a8..63abc255 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 31be9462..e14bf689 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 9d753cf5..d0d463eb 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 4e6e623f..302b4f36 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 f05c4bc3..29f0eeea 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 292fba12..e3f16cef 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 c40535b9..71f49e81 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 4e57caa7..01cd9375 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 6f5eb94b..49936b7c 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 dbb76079..17ce8617 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 51cfaccb..1828f807 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 54ba30c6..1e74cd46 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 bc4ccfe2..c26baf76 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 8e616454..1d7c2c68 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 a6f64fe1..111c7573 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 aa4b7e7b..96dbd60f 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 a2d2b828..6c83a2fc 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 a9050f4b..004b6432 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 cd589fd2..f816a954 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 bdd7151e..59bf3d72 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 a822300d..c175c82f 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 db001364..cbd6f8c5 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 95ba0d44..baa6ed44 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 edff30c2..15a43fd0 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 7884dc4b..73b919bb 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 0fb3db15..05fb98cf 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 efbbe041..6d8b3fa0 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 7ff3d29c..e21de41b 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 090916b9..9803f386 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 8b60c08d..71a160af 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 66fd5c9a..33d2d0da 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 08158846..a083a12b 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 1b5137d8..a2734aba 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 abb842ff..8430b1fe 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 8be25d9d..85f8a0e9 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 41180d81..66d79458 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 9e91b88f..3bc76113 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 bf6b821c..82c8d3b8 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 353ccaa0..88124211 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 bb6e2ad1..49ecbf9d 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 505da66e..2f1e203e 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 2868a423..e02c0d92 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 ed1a69e3..63b45fd4 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 19e76366..db0a3606 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 be1ccfcf..db31954f 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 e859aebb..8056ba90 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 dea28149..c6c846ad 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 d357b830..cfa01419 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 c249b96c..97ae4748 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 a6c37019..69df8335 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 4ab1c986..9e4a2513 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 a116f008..1e986534 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 a89d30d4..7d57f0a2 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 8478426a..7a5f2e8e 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 5653849d..319e0888 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 9700422b..f1c0ed03 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 41b54d93..2d205a40 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 ac74723f..4e1bac98 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 05b1b677..4ed8b76a 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 9ea92958..bd15b790 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 f12fffa2..6a031685 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"