diff --git a/tests/generic/001 b/tests/generic/001 index 0edd41f1..046e54e3 100755 --- a/tests/generic/001 +++ b/tests/generic/001 @@ -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. 001 # # Random file copier to produce chains of identical files so the head @@ -12,25 +15,6 @@ # config has one line per file with filename and byte size, else use # the default one below. # -#----------------------------------------------------------------------- -# 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/generic/002 b/tests/generic/002 index d8cffeaa..8242ea90 100755 --- a/tests/generic/002 +++ b/tests/generic/002 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 002 # # simple inode link count test for a regular file # -#----------------------------------------------------------------------- -# 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/generic/003 b/tests/generic/003 index 710ffc8e..767d7059 100755 --- a/tests/generic/003 +++ b/tests/generic/003 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. generic/003 # # Tests the noatime, relatime, strictatime and nodiratime mount options. @@ -6,23 +9,6 @@ # never updated on read-only subvolumes. (Regression test for bug fixed # with commit 93fd63c2f001ca6797c6b15b696a484b165b4800) # -#----------------------------------------------------------------------- -# Copyright (c) 2014, 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/generic/004 b/tests/generic/004 index df6f215a..156d68ae 100755 --- a/tests/generic/004 +++ b/tests/generic/004 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 004 # # Test O_TMPFILE opens, and linking them back into the namespace. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 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/generic/005 b/tests/generic/005 index 030d90b1..118fca20 100755 --- a/tests/generic/005 +++ b/tests/generic/005 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 005 # # Test symlinks & ELOOP # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - # # Note: On Linux, ELOOP limit used to be 32 but changed to 8, and lately # its become 5. Who knows what it might be next. diff --git a/tests/generic/006 b/tests/generic/006 index 7309f1f3..ba99324a 100755 --- a/tests/generic/006 +++ b/tests/generic/006 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 006 # # permname # -#----------------------------------------------------------------------- -# 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/generic/007 b/tests/generic/007 index 327bbe9c..9780e12e 100755 --- a/tests/generic/007 +++ b/tests/generic/007 @@ -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. 007 # # drive the src/nametest program @@ -6,25 +9,6 @@ # and checks that error codes make sense with its # memory of the files created. # -#----------------------------------------------------------------------- -# 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/generic/008 b/tests/generic/008 index 9b70b287..7d86c602 100755 --- a/tests/generic/008 +++ b/tests/generic/008 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2014 (C) Red Hat, Inc., Lukas Czerner +# # FS QA Test No. 008 # # Makes calls to fallocate zero range and checks tossed ranges @@ -6,24 +9,6 @@ # Primarily tests page boundries and boundries that are # off-by-one to ensure we're only tossing what's expected # -#----------------------------------------------------------------------- -# Copyright 2014 (C) Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/009 b/tests/generic/009 index d9e349cd..fa6ef466 100755 --- a/tests/generic/009 +++ b/tests/generic/009 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2014 (C) Red Hat, Inc., Lukas Czerner +# # FS QA Test No. 009 # # Test fallocate FALLOC_FL_ZERO_RANGE # -#----------------------------------------------------------------------- -# Copyright 2014 (C) Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/010 b/tests/generic/010 index d23a58b1..d6bf287c 100755 --- a/tests/generic/010 +++ b/tests/generic/010 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 010 # # dbtest # -#----------------------------------------------------------------------- -# 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/generic/011 b/tests/generic/011 index 7c4b80c3..aa65d9b8 100755 --- a/tests/generic/011 +++ b/tests/generic/011 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 011 # # dirstress # -#----------------------------------------------------------------------- -# 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/generic/012 b/tests/generic/012 index 6b1e20b8..9dfc6c71 100755 --- a/tests/generic/012 +++ b/tests/generic/012 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/012 # # Multi collapse range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/013 b/tests/generic/013 index d1ba697b..9e533ee8 100755 --- a/tests/generic/013 +++ b/tests/generic/013 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 013 # # fsstress # -#----------------------------------------------------------------------- -# 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/generic/014 b/tests/generic/014 index 28566956..59a6618a 100755 --- a/tests/generic/014 +++ b/tests/generic/014 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 014 # # truncfile # -#----------------------------------------------------------------------- -# 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/generic/015 b/tests/generic/015 index cb7252b9..0f4d2980 100755 --- a/tests/generic/015 +++ b/tests/generic/015 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 015 # # check out-of-space behaviour # -#----------------------------------------------------------------------- -# 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/generic/016 b/tests/generic/016 index b994775e..7e685046 100755 --- a/tests/generic/016 +++ b/tests/generic/016 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/016 # # Delayed allocation multi collapse range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/017 b/tests/generic/017 index 419e7623..cfd2fbb5 100755 --- a/tests/generic/017 +++ b/tests/generic/017 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generci/017 # # Test multiple fallocate collapse range calls on same file. @@ -6,25 +9,6 @@ # until the file is left with 80 blocks and as much number of extents. # Also check for file system consistency after completing this operation # for each blocksize. -#----------------------------------------------------------------------- -# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/018 b/tests/generic/018 index e554861c..43610eff 100755 --- a/tests/generic/018 +++ b/tests/generic/018 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. generic/018 # # Basic defragmentation sanity tests # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/019 b/tests/generic/019 index 17ec7dd8..32db36fc 100755 --- a/tests/generic/019 +++ b/tests/generic/019 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. generic/019 # # Run fsstress and fio(dio/aio and mmap) and simulate disk failure # check filesystem consistency at the end. # -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/020 b/tests/generic/020 index 49230da0..8bd5fe04 100755 --- a/tests/generic/020 +++ b/tests/generic/020 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 020 # # extended attributes # -#----------------------------------------------------------------------- -# 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/generic/021 b/tests/generic/021 index 4729400f..466c9e30 100755 --- a/tests/generic/021 +++ b/tests/generic/021 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/021 # # Standard collapse range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/022 b/tests/generic/022 index 1228e516..bbfad2fd 100755 --- a/tests/generic/022 +++ b/tests/generic/022 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/022 # # Delayed allocation collapse range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2013 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/023 b/tests/generic/023 index 1062b5b6..67739b1d 100755 --- a/tests/generic/023 +++ b/tests/generic/023 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. +# # FS QA Test No. generic/023 # # Check renameat2 syscall without flags # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/024 b/tests/generic/024 index bcc246e8..2888c661 100755 --- a/tests/generic/024 +++ b/tests/generic/024 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. +# # FS QA Test No. generic/024 # # Check renameat2 syscall with RENAME_NOREPLACE flag # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/025 b/tests/generic/025 index da295a30..0310efa5 100755 --- a/tests/generic/025 +++ b/tests/generic/025 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. +# # FS QA Test No. generic/025 # # Check renameat2 syscall with RENAME_EXCHANGE flag # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/026 b/tests/generic/026 index 69b1cbe2..6cbd2829 100755 --- a/tests/generic/026 +++ b/tests/generic/026 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# Copyright (c) 2014 Red hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/026 # # Test out ACL count limits # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. -# 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/generic/027 b/tests/generic/027 index d2e59d64..ed74cc95 100755 --- a/tests/generic/027 +++ b/tests/generic/027 @@ -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. generic/027 # # Run 8 processes writing 1k files to seperate files in seperate dirs to @@ -7,24 +10,6 @@ # Regression test for # 34cf865 ext4: fix deadlock when writing in ENOSPC conditions # -#----------------------------------------------------------------------- -# 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/generic/028 b/tests/generic/028 index f181d3e8..693db28d 100755 --- a/tests/generic/028 +++ b/tests/generic/028 @@ -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. generic/028 # # The following commit introduced a race condition that causes getcwd(2) @@ -10,24 +13,6 @@ # ede4ceb prepend_path() needs to reinitialize dentry/vfsmount/mnt on restarts # f650080 __dentry_path() fixes # -#----------------------------------------------------------------------- -# 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/generic/029 b/tests/generic/029 index c2f02fb9..f0e5a0f2 100755 --- a/tests/generic/029 +++ b/tests/generic/029 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/029 # # Test mapped writes against truncate down/up to ensure we get the data # correctly written. This can expose data corruption bugs on filesystems where # the block size is smaller than the page size. # -#----------------------------------------------------------------------- -# 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/generic/030 b/tests/generic/030 index 8b7e6fba..d519ca5c 100755 --- a/tests/generic/030 +++ b/tests/generic/030 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/030 # # Test mapped writes against remap+truncate down/up to ensure we get the data # correctly written. This can expose data corruption bugs on filesystems where # the block size is smaller than the page size. # -#----------------------------------------------------------------------- -# 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/generic/031 b/tests/generic/031 index 3f25f8b8..66106f9c 100755 --- a/tests/generic/031 +++ b/tests/generic/031 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/031 # # Test non-aligned writes against fcollapse to ensure that partial pages are # correctly written and aren't left behind causing invalidation or data # corruption issues. # -#----------------------------------------------------------------------- -# 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/generic/032 b/tests/generic/032 index 8f488842..affde4b7 100755 --- a/tests/generic/032 +++ b/tests/generic/032 @@ -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. 032 # # This test implements a data corruption scenario on XFS filesystems with @@ -7,24 +10,6 @@ # extents on I/O completion. This causes data corruption as unwritten extents # are always read back as zeroes. # -#----------------------------------------------------------------------- -# 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/generic/033 b/tests/generic/033 index 4f8bb921..0144d4d2 100755 --- a/tests/generic/033 +++ b/tests/generic/033 @@ -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. 033 # # 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) 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/generic/034 b/tests/generic/034 index facf060c..177fc866 100755 --- a/tests/generic/034 +++ b/tests/generic/034 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 034 # # This test is motivated by a bug found in btrfs when replaying a directory @@ -10,25 +13,6 @@ # # Btrfs: fix directory recovery from fsync log # -#----------------------------------------------------------------------- -# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/035 b/tests/generic/035 index 443ddd57..44db45e6 100755 --- a/tests/generic/035 +++ b/tests/generic/035 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. +# # FS QA Test No. generic/035 # # Check overwriting rename system call # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/036 b/tests/generic/036 index 27e9916b..058dcc8f 100755 --- a/tests/generic/036 +++ b/tests/generic/036 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Dmitry Monakhov. All Rights Reserved. +# # FS QA Test No. 036 # # CVE-2014-8086 # Run aio-dio-fcntl-race - test aio write race with O_DIRECT toggle # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Dmitry Monakhov. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/037 b/tests/generic/037 index d7dcfe2b..b5edd033 100755 --- a/tests/generic/037 +++ b/tests/generic/037 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 037 # # Verify that replacing a xattr's value is an atomic operation. @@ -12,26 +15,6 @@ # # Btrfs: make xattr replace operations atomic # -#----------------------------------------------------------------------- -# -# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/038 b/tests/generic/038 index 025e1b0f..9c80375b 100755 --- a/tests/generic/038 +++ b/tests/generic/038 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 038 # # This test was motivated by btrfs issues, but it's generic enough as it @@ -27,26 +30,6 @@ # scsi-hd devices with discard support enabled (that means hole punching in the # disk's image file is performed by the host). # -#----------------------------------------------------------------------- -# -# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/039 b/tests/generic/039 index 271798a8..daa2e353 100755 --- a/tests/generic/039 +++ b/tests/generic/039 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 039 # # This test is motivated by an fsync issue discovered in btrfs. @@ -13,25 +16,6 @@ # # Btrfs: fix directory inconsistency after fsync log replay # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/040 b/tests/generic/040 index c47f73db..712ae595 100755 --- a/tests/generic/040 +++ b/tests/generic/040 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 040 # # This test is motivated by an fsync issue discovered in btrfs. @@ -18,25 +21,6 @@ # This issue was present in btrfs since the extrefs (extend references) # feature was added (2012). # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/041 b/tests/generic/041 index def959d9..8001e8ce 100755 --- a/tests/generic/041 +++ b/tests/generic/041 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 041 # # This test is motivated by an fsync issue discovered in btrfs. @@ -22,25 +25,6 @@ # This issue was present in btrfs since the extrefs (extend references) # feature was added (2012). # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/042 b/tests/generic/042 index 00b3a346..1aa18f9b 100755 --- a/tests/generic/042 +++ b/tests/generic/042 @@ -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. 042 # # Test stale data exposure via writeback using various file allocation @@ -9,24 +12,6 @@ # occurs for dirty pages within the extent but outside of the fallocated range, # stale data exposure can occur. # -#----------------------------------------------------------------------- -# 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/generic/043 b/tests/generic/043 index f61222ce..c361f91b 100755 --- a/tests/generic/043 +++ b/tests/generic/043 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 043 # # Test for NULL files problem # -#----------------------------------------------------------------------- -# 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/generic/044 b/tests/generic/044 index f327ee0b..98061f79 100755 --- a/tests/generic/044 +++ b/tests/generic/044 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 044 # # Test for NULL files problem # -#----------------------------------------------------------------------- -# 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/generic/045 b/tests/generic/045 index 53489108..94386828 100755 --- a/tests/generic/045 +++ b/tests/generic/045 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 045 # # Test for NULL files problem # -#----------------------------------------------------------------------- -# 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/generic/046 b/tests/generic/046 index 1155ee98..5bb7139e 100755 --- a/tests/generic/046 +++ b/tests/generic/046 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 046 # # Test for NULL files problem # -#----------------------------------------------------------------------- -# 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/generic/047 b/tests/generic/047 index 66965f25..91b1dd41 100755 --- a/tests/generic/047 +++ b/tests/generic/047 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 047 # # Test for NULL files problem # test inode size is on disk after fsync # -#----------------------------------------------------------------------- -# 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/generic/048 b/tests/generic/048 index fd9fcd92..8ade7ea2 100755 --- a/tests/generic/048 +++ b/tests/generic/048 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 048 # # Test for NULL files problem # test inode size is on disk after sync # -#----------------------------------------------------------------------- -# 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/generic/049 b/tests/generic/049 index 0003046b..2ff331bc 100755 --- a/tests/generic/049 +++ b/tests/generic/049 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 049 # # Test for NULL files problem # test inode size is on disk after sync - expose log replay bug # -#----------------------------------------------------------------------- -# 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/generic/050 b/tests/generic/050 index 04acfb54..90e924db 100755 --- a/tests/generic/050 +++ b/tests/generic/050 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. +# # FS QA Test No. 050 # # Check out various mount/remount/unmount scenarious on a read-only blockdev. # -#----------------------------------------------------------------------- -# 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/generic/051 b/tests/generic/051 index 129a4668..c04196e9 100755 --- a/tests/generic/051 +++ b/tests/generic/051 @@ -1,29 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 051 # # Basic log recovery stress test - do lots of stuff, shut down in the middle of # it and check that recovery runs to completion and everything can be # successfully removed afterwards.. # -#----------------------------------------------------------------------- -# 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/generic/052 b/tests/generic/052 index 168b55c2..24dbb2ed 100755 --- a/tests/generic/052 +++ b/tests/generic/052 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 052 # # To test log replay by shutdown of file system @@ -6,25 +9,6 @@ # the goingdown ioctl is working and recovery of # create transactions is working. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/053 b/tests/generic/053 index e2765d2f..f44f4dc3 100755 --- a/tests/generic/053 +++ b/tests/generic/053 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 053 # # xfs_repair breaks acls # -#----------------------------------------------------------------------- -# 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/generic/054 b/tests/generic/054 index 84b76e67..95d40c3c 100755 --- a/tests/generic/054 +++ b/tests/generic/054 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 054 # # To test log replay with version 2 logs # Initially keep this simple with just creates. # In another qa test we can do more e.g. use fsstress. # -#----------------------------------------------------------------------- -# 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/generic/055 b/tests/generic/055 index 7f565251..9715f27b 100755 --- a/tests/generic/055 +++ b/tests/generic/055 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 055 # # * like 054 but want to create more/different kinds of metadata # and so will use fsstress # * also can interrupt metadata with godown # -#----------------------------------------------------------------------- -# 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/generic/056 b/tests/generic/056 index 71ba2ae0..9caf1166 100755 --- a/tests/generic/056 +++ b/tests/generic/056 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 056 # # This test is motivated by an fsync issue discovered in btrfs. @@ -10,25 +13,6 @@ # # Btrfs: fix fsync data loss after adding hard link to inode # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/057 b/tests/generic/057 index 8839597b..ba51dbb9 100755 --- a/tests/generic/057 +++ b/tests/generic/057 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 057 # # This test is motivated by an fsync issue discovered in btrfs. @@ -10,25 +13,6 @@ # # Btrfs: fix fsync data loss after adding hard link to inode # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/058 b/tests/generic/058 index 4a39a053..324d7560 100755 --- a/tests/generic/058 +++ b/tests/generic/058 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/058 # # Standard insert range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/059 b/tests/generic/059 index 9fc66011..e8cb93d8 100755 --- a/tests/generic/059 +++ b/tests/generic/059 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 059 # # This test is motivated by an fsync issue discovered in btrfs. @@ -15,25 +18,6 @@ # # Btrfs: add missing inode update when punching hole # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/060 b/tests/generic/060 index 4493ba2a..03e44fdb 100755 --- a/tests/generic/060 +++ b/tests/generic/060 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/060 # # Delayed allocation insert range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/061 b/tests/generic/061 index f5e50763..bb2de211 100755 --- a/tests/generic/061 +++ b/tests/generic/061 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/061 # # Multi insert range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/062 b/tests/generic/062 index f0820eac..df67960d 100755 --- a/tests/generic/062 +++ b/tests/generic/062 @@ -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. 062 # # Exercises the getfattr/setfattr tools # Derived from tests originally written by Andreas Gruenbacher for ext2 # -#----------------------------------------------------------------------- -# 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/generic/063 b/tests/generic/063 index 9b72f699..9f73fa02 100755 --- a/tests/generic/063 +++ b/tests/generic/063 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/063 # # Delayed allocation multi insert range tests @@ -7,25 +10,6 @@ # type of extents. These tests are based on generic/255 test case. # For the type of tests, check the description of _test_generic_punch # in common/rc. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/064 b/tests/generic/064 index 26fb6301..1ace14b6 100755 --- a/tests/generic/064 +++ b/tests/generic/064 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. +# # FS QA Test No. generic/064 # # Test multiple fallocate insert/collapse range calls on same file. @@ -6,25 +9,6 @@ # is left with 50 extents and as many holes. Then call collapse range # on the previously inserted ranges to test merge code of collapse # range. Also check for data integrity and file system consistency. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Samsung Electronics. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/065 b/tests/generic/065 index 9294a068..d6a1670b 100755 --- a/tests/generic/065 +++ b/tests/generic/065 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 065 # # Test fsync on directories that got new hardlinks added to them and that point @@ -11,25 +14,6 @@ # counts were incorrect after the fsync log was replayed and the hardlinks for # new inodes were not logged. # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/066 b/tests/generic/066 index 7dea54f9..7ad14218 100755 --- a/tests/generic/066 +++ b/tests/generic/066 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 066 # # This test is motivated by an fsync issue discovered in btrfs. @@ -14,25 +17,6 @@ # # Btrfs: remove deleted xattrs on fsync log replay # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/067 b/tests/generic/067 index 8f2baf57..bd72dc85 100755 --- a/tests/generic/067 +++ b/tests/generic/067 @@ -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. 067 # # Some random mount/umount corner case tests @@ -10,24 +13,6 @@ # - umount a path with too long name # - lazy umount a symlink # -#----------------------------------------------------------------------- -# 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/generic/068 b/tests/generic/068 index 1a852534..17ef9ca8 100755 --- a/tests/generic/068 +++ b/tests/generic/068 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 068 # # Test case to reproduce xfs_freeze hang under filsystem load. # The fail case for this test is a hang on an xfs_freeze. # -#----------------------------------------------------------------------- -# 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/generic/069 b/tests/generic/069 index 0121929b..befb35ee 100755 --- a/tests/generic/069 +++ b/tests/generic/069 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 069 # # Test out writes with O_APPEND flag sets. # -#----------------------------------------------------------------------- -# Copyright (c) 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/generic/070 b/tests/generic/070 index de0c45c7..2b5ce6e3 100755 --- a/tests/generic/070 +++ b/tests/generic/070 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 070 # # fsstress incarnation testing extended attributes writes # -#----------------------------------------------------------------------- -# 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/generic/071 b/tests/generic/071 index 9d0d136a..1d32a240 100755 --- a/tests/generic/071 +++ b/tests/generic/071 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 071 # # Test extent pre-allocation (using fallocate) into a region that already has a # pre-allocated extent that ends beyond the file's size. Verify that if the fs # is unmounted immediately after, the file's size and content are not lost. # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/072 b/tests/generic/072 index ece71fb0..38bc9378 100755 --- a/tests/generic/072 +++ b/tests/generic/072 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Fujitsu. All Rights Reserved. +# # FS QA Test No. 072 # # Test truncate/collapse range race. @@ -6,24 +9,6 @@ # fs: move falloc collapse range check into the filesystem methods # If the race occurs, it will trigger a BUG_ON(). # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/073 b/tests/generic/073 index 5e07d542..1aec4dd0 100755 --- a/tests/generic/073 +++ b/tests/generic/073 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 073 # # Test file A fsync after moving one other unrelated file B between directories @@ -11,25 +14,6 @@ # # Btrfs: fix data loss in the fast fsync path # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/074 b/tests/generic/074 index d39f9a3d..baa5a7cc 100755 --- a/tests/generic/074 +++ b/tests/generic/074 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 074 # # fstest # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/075 b/tests/generic/075 index e9dd4a5c..2b957891 100755 --- a/tests/generic/075 +++ b/tests/generic/075 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 075 # # fsx (non-AIO variant) # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/076 b/tests/generic/076 index 033bc005..f64da50e 100755 --- a/tests/generic/076 +++ b/tests/generic/076 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 076 # # Test blockdev reads in parallel with filesystem reads/writes # -#----------------------------------------------------------------------- -# 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/generic/077 b/tests/generic/077 index 1175f6f4..ef6af18c 100755 --- a/tests/generic/077 +++ b/tests/generic/077 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 077 # # Check use of ACLs (extended attributes) on a full filesystem # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/078 b/tests/generic/078 index 92ece0cf..9608574f 100755 --- a/tests/generic/078 +++ b/tests/generic/078 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. +# # FS QA Test No. generic/078 # # Check renameat2 syscall with RENAME_WHITEOUT flag # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/079 b/tests/generic/079 index 7669249c..4c713db3 100755 --- a/tests/generic/079 +++ b/tests/generic/079 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 079 # # Run the t_immutable test program for immutable/append-only files. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/080 b/tests/generic/080 index a4c111b9..0f149552 100755 --- a/tests/generic/080 +++ b/tests/generic/080 @@ -1,24 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FS QA Test No. 080 # # Verify that mtime is updated when writing to mmap-ed pages # -#----------------------------------------------------------------------- -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/081 b/tests/generic/081 index 426766d9..10f4a186 100755 --- a/tests/generic/081 +++ b/tests/generic/081 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 081 # # Test I/O error path by fully filling an dm snapshot. # -#----------------------------------------------------------------------- -# 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/generic/082 b/tests/generic/082 index 7a11c1ac..430af15b 100755 --- a/tests/generic/082 +++ b/tests/generic/082 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 082 # # Test quota handling on remount ro failure # -#----------------------------------------------------------------------- -# 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/generic/083 b/tests/generic/083 index ac97952c..63d96ba2 100755 --- a/tests/generic/083 +++ b/tests/generic/083 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 083 # # Exercise filesystem full behaviour - run numerous fsstress @@ -12,25 +15,6 @@ # dksc0d1s4: Process [fsstress] ran out of disk space # dksc0d1s4: Process [fsstress] ran out of disk space # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/084 b/tests/generic/084 index 3324bc95..402d8b2a 100755 --- a/tests/generic/084 +++ b/tests/generic/084 @@ -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. 084 # # Test hardlink to unlinked file. @@ -6,24 +9,6 @@ # Regression test for commit: # aae8a97 fs: Don't allow to create hardlink for deleted file # -#----------------------------------------------------------------------- -# 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/generic/085 b/tests/generic/085 index 8fb313c9..bed1e0dd 100755 --- a/tests/generic/085 +++ b/tests/generic/085 @@ -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. 085 # # Exercise fs freeze/unfreeze and mount/umount race, which could lead to @@ -7,24 +10,6 @@ # This commit fixed the issue: # 1494583 fix get_active_super()/umount() race # -#----------------------------------------------------------------------- -# 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/generic/086 b/tests/generic/086 index 9c92c9bd..97d92938 100755 --- a/tests/generic/086 +++ b/tests/generic/086 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc., Lukas Czerner +# # FS QA Test 086 # # This test excercises the problem with unwritten and delayed extents @@ -10,24 +13,6 @@ # This tests excercises the problem fixed in kernel with commit # "ext4: Fix data corruption caused by unwritten and delayed extents" # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/087 b/tests/generic/087 index 9653230c..5264d5b6 100755 --- a/tests/generic/087 +++ b/tests/generic/087 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. +# # FSQA Test No. 087 # # Check if setting the file access and modification times to the current time @@ -13,26 +16,6 @@ # For NFSv3+, that test will wrongly succeed until kernel commit # "Disable NFSv2 timestamp workaround for NFSv3+". # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Red Hat, Inc. -# Author: Andreas Gruenbacher -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/088 b/tests/generic/088 index 8d31741b..4b4e0c9e 100755 --- a/tests/generic/088 +++ b/tests/generic/088 @@ -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. 088 # # test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in # xfs_iaccess(ip,mode,cr) # -#----------------------------------------------------------------------- -# 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/generic/089 b/tests/generic/089 index 4324f83a..3d608269 100755 --- a/tests/generic/089 +++ b/tests/generic/089 @@ -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. 089 # # Emulate the way Linux mount manipulates /etc/mtab to attempt to # reproduce a possible bug in rename (see src/t_mtab.c). # -#----------------------------------------------------------------------- -# 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/generic/090 b/tests/generic/090 index 6b412d11..bf38d1c8 100755 --- a/tests/generic/090 +++ b/tests/generic/090 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 090 # # Test that after syncing the filesystem, adding a hard link to a file, @@ -9,25 +12,6 @@ # # This test is motivated by a bug found in btrfs. # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/091 b/tests/generic/091 index da54397f..4f7985f5 100755 --- a/tests/generic/091 +++ b/tests/generic/091 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 091 # # fsx exercising direct IO -- sub-block sizes and concurrent buffered IO # -#----------------------------------------------------------------------- -# 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/generic/092 b/tests/generic/092 index cc615f62..f527cbd2 100755 --- a/tests/generic/092 +++ b/tests/generic/092 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Facebook. All Rights Reserved. +# # FS QA Test No. 092 # # fallocate/truncate tests with FALLOC_FL_KEEP_SIZE option. @@ -8,24 +11,6 @@ # This also verifies that truncat'ing up past i_size doesn't remove the # preallocated space. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/093 b/tests/generic/093 index e70273bc..fc609b06 100755 --- a/tests/generic/093 +++ b/tests/generic/093 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 093 # # Test clearing of capabilities on write. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq diff --git a/tests/generic/094 b/tests/generic/094 index b686a5b4..b31a3210 100755 --- a/tests/generic/094 +++ b/tests/generic/094 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Facebook. All Rights Reserved. +# # FS QA Test No. 094 # # Run the fiemap (file extent mapping) tester with preallocation enabled # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/095 b/tests/generic/095 index fd4f13fd..d17ff0d7 100755 --- a/tests/generic/095 +++ b/tests/generic/095 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test generic/095 # # Concurrent mixed I/O (buffer I/O, aiodio, mmap, splice) on the same files # -#----------------------------------------------------------------------- -# 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/generic/096 b/tests/generic/096 index bfdb93a1..1d826d77 100755 --- a/tests/generic/096 +++ b/tests/generic/096 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc., Lukas Czerner +# # FS QA Test 096 # # Exercise the situation that cause ext4 to BUG_ON() when we use @@ -6,24 +9,6 @@ # past the isize but still in the same block. This particular problem # has only been seen on systems with page_size > block_size. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/097 b/tests/generic/097 index 13abe9e3..db8dc71a 100755 --- a/tests/generic/097 +++ b/tests/generic/097 @@ -1,4 +1,8 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 097. Modifed from UDFQA test 033. # # simple attr tests for EAs: @@ -8,26 +12,6 @@ # - remove # Basic testing. # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/098 b/tests/generic/098 index 8ab0ad4d..4268203b 100755 --- a/tests/generic/098 +++ b/tests/generic/098 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 098 # # Test that after truncating a file into the middle of a hole causes the new @@ -9,26 +12,6 @@ # # This test is motivated by an issue found in btrfs. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/099 b/tests/generic/099 index f65c53f1..682addc9 100755 --- a/tests/generic/099 +++ b/tests/generic/099 @@ -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. 099 # # Test out ACLs. # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - +#!/bin/bash seq=`basename $0` seqres=$RESULT_DIR/$seq @@ -93,7 +78,6 @@ echo "Setup file" # in order to execute it. touch file1 cat <file1 -#!/bin/bash echo "Test was executed" EOF chmod u=rwx file1 diff --git a/tests/generic/100 b/tests/generic/100 index 0e928cec..c2593333 100755 --- a/tests/generic/100 +++ b/tests/generic/100 @@ -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. 100. Modified from UDF QA test 030. # # Test whether a tarred directory structure can be untarred onto # a UDF file system. # -#----------------------------------------------------------------------- -# 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/generic/101 b/tests/generic/101 index a16c58b7..33262d65 100755 --- a/tests/generic/101 +++ b/tests/generic/101 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 101 # # Test that if we truncate a file to a smaller size, then truncate it to its @@ -8,26 +11,6 @@ # # This test is motivated by a bug found in btrfs. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/102 b/tests/generic/102 index 3cdc2ba6..faf940ac 100755 --- a/tests/generic/102 +++ b/tests/generic/102 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Fujitsu. All Rights Reserved. +# # FS QA Test No. 102 # # TEST busy loop of write and delete in a filesystem. @@ -9,25 +12,6 @@ # # btrfs: Fix no_space on dd and rm loop < from zhaolei@cn.fujitsu.com > # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Fujitsu. All Rights Reserved. -# Author: Wang Yanfeng -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/103 b/tests/generic/103 index 3884e3e6..cee59860 100755 --- a/tests/generic/103 +++ b/tests/generic/103 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FSQA Test No. 103 # # Test attribute fork teardown. This test is inspired by a regression in XFS @@ -7,25 +10,6 @@ # attempting to set larger attribute values on a filesystem that is at or near # ENOSPC. # -#----------------------------------------------------------------------- -# 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/generic/104 b/tests/generic/104 index 1bb5d10c..d78689f4 100755 --- a/tests/generic/104 +++ b/tests/generic/104 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 104 # # Test that if we add hard links (in the same directory) to two files and then @@ -6,26 +9,6 @@ # links exist and the filesystem metadata (directory and file inodes) is in a # consistent state. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/105 b/tests/generic/105 index 6ee123e4..44177b42 100755 --- a/tests/generic/105 +++ b/tests/generic/105 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 105 # # Test fix of bug: @@ -6,25 +9,6 @@ # and breaks CAPP evaluation # which pulls out an earlier mod # -#----------------------------------------------------------------------- -# Copyright (c) 2000-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/generic/106 b/tests/generic/106 index d7f7a694..74d5dc30 100755 --- a/tests/generic/106 +++ b/tests/generic/106 @@ -1,30 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 106 # # Test that if we remove one hard link from an inode, evict the inode, fsync the # inode, power fail and then mount the filesystem, the hard link we removed does # not exists anymore and the filesystem metadata is in a consistent state. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/107 b/tests/generic/107 index 488abfb5..5c6bbfca 100755 --- a/tests/generic/107 +++ b/tests/generic/107 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 107 # # Test that when we have a file with multiple hard links belonging to different @@ -8,26 +11,6 @@ # hard link we removed is not available anymore and all the filesystem metadata # is in a consistent state. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/108 b/tests/generic/108 index 0caec7d0..e4643351 100755 --- a/tests/generic/108 +++ b/tests/generic/108 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 108 # # Test partial block device failure. Calls like fsync() should report failure @@ -7,24 +10,6 @@ # Test motivated by an XFS bug, and this commit fixed the issue # xfs: return errors from partial I/O failures to files # -#----------------------------------------------------------------------- -# 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/generic/109 b/tests/generic/109 index 9fbaf1f4..8be70c23 100755 --- a/tests/generic/109 +++ b/tests/generic/109 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 109 # # Test rename for various sizes of directories. This is motivated by a bug # in XFS where directory entry file type was not updated properly on rename. # -#----------------------------------------------------------------------- -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/110 b/tests/generic/110 index 1fcdb56b..10873751 100755 --- a/tests/generic/110 +++ b/tests/generic/110 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 110 # # Tests file clone functionality of btrfs ("reflinks"): @@ -7,24 +10,6 @@ # - Modify the original file # - Modify the reflinked file # -#----------------------------------------------------------------------- -# Copyright (c) 2014, 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/generic/111 b/tests/generic/111 index dce9c84f..17e33e0c 100755 --- a/tests/generic/111 +++ b/tests/generic/111 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 111 # # Tests file clone functionality of btrfs ("reflinks") on directory @@ -8,23 +11,6 @@ # - Modify the original files # - Modify one of the copies # -#----------------------------------------------------------------------- -# Copyright (c) 2014, 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/generic/112 b/tests/generic/112 index 5ab1cb3a..1879e7b5 100755 --- a/tests/generic/112 +++ b/tests/generic/112 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 112 # # fsx (AIO variant, based on 075) # -#----------------------------------------------------------------------- -# 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/generic/113 b/tests/generic/113 index 7e20d684..a668856d 100755 --- a/tests/generic/113 +++ b/tests/generic/113 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 113 # # aio-stress # -#----------------------------------------------------------------------- -# 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/generic/114 b/tests/generic/114 index 8082a0db..b2d945c3 100755 --- a/tests/generic/114 +++ b/tests/generic/114 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 114 # # Test races while extending past EOF via sub-block AIO writes # -#----------------------------------------------------------------------- -# 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/generic/115 b/tests/generic/115 index 43ce59c6..aea35b2b 100755 --- a/tests/generic/115 +++ b/tests/generic/115 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 115 # # Moving and deleting cloned ("reflinked") files on btrfs: @@ -6,23 +9,6 @@ # - Move both to a directory # - Delete the original (moved) file, check that the copy still exists. # -#----------------------------------------------------------------------- -# Copyright (c) 2014, 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/generic/116 b/tests/generic/116 index 620a3585..fff6d2c0 100755 --- a/tests/generic/116 +++ b/tests/generic/116 @@ -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. 116 # # Ensure that we can reflink parts of two identical files: # - Reflink identical parts of two identical files # - Check that we still have identical contents # -#----------------------------------------------------------------------- -# 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/generic/117 b/tests/generic/117 index 67e68c6e..01b2e3aa 100755 --- a/tests/generic/117 +++ b/tests/generic/117 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 117 # # Attempt to cause filesystem corruption with serial fsstresses doing # extended attributes writes - pv 940655 # -#----------------------------------------------------------------------- -# 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/generic/118 b/tests/generic/118 index 66dbc04d..1b18c469 100755 --- a/tests/generic/118 +++ b/tests/generic/118 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 118 # # Ensuring that we can reflink non-matching parts of files: @@ -6,23 +9,6 @@ # - Check that the non-linked ranges still do not match # - Check that we end up with identical contents in the linked ranges # -#----------------------------------------------------------------------- -# 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/generic/119 b/tests/generic/119 index b28e044a..aad2e557 100755 --- a/tests/generic/119 +++ b/tests/generic/119 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 119 # # Reflinking two sets of files together: @@ -7,23 +10,6 @@ # - Reflink identical parts of all four files # - Check that we end up with identical contents # -#----------------------------------------------------------------------- -# 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/generic/120 b/tests/generic/120 index 1180c10a..cef36845 100755 --- a/tests/generic/120 +++ b/tests/generic/120 @@ -1,27 +1,11 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 120 # # Test noatime mount option. # -#----------------------------------------------------------------------- -# 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/generic/121 b/tests/generic/121 index d17f0475..2bb26d9e 100755 --- a/tests/generic/121 +++ b/tests/generic/121 @@ -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. 121 # # Ensure that we can dedupe parts of two files: # - Dedupe identical parts of two identical files # - Check that still have identical contents # -#----------------------------------------------------------------------- -# 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/generic/122 b/tests/generic/122 index 5008190e..95650bf0 100755 --- a/tests/generic/122 +++ b/tests/generic/122 @@ -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. 122 # # Ensuring that we cannot dedupe non-matching parts of files: # - Fail to dedupe non-identical parts of two different files # - Check that nothing changes in either file # -#----------------------------------------------------------------------- -# 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/generic/123 b/tests/generic/123 index e0948dff..06a384ae 100755 --- a/tests/generic/123 +++ b/tests/generic/123 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 123 # # Make sure user cannot overwrite, append, delete or move a file created by # root. Modified CXFSQA test 940960 and 940558. # -#----------------------------------------------------------------------- -# 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/generic/124 b/tests/generic/124 index b78c1891..90097037 100755 --- a/tests/generic/124 +++ b/tests/generic/124 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 124 # # Test preallocated_rw_pattern_test modified from CXFSQA test preallocated_rw_pattern_test @@ -7,25 +10,6 @@ # second is 1, ..., until last 8 bytes (1048568-1048575) contain 131071. # patw preallocates the file and then writes the pattern, patr checks it # -#----------------------------------------------------------------------- -# 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/generic/125 b/tests/generic/125 index 67eb63f1..48811dbf 100755 --- a/tests/generic/125 +++ b/tests/generic/125 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 125 # # ftruncate test, modified from CXFSQA tests cxfs_ftrunc and cxfs_trunc # -#----------------------------------------------------------------------- -# 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/generic/126 b/tests/generic/126 index bb3a5668..6a040cde 100755 --- a/tests/generic/126 +++ b/tests/generic/126 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 126 # # tests various file permission options modified from CXFSQA test fs_perms # -#----------------------------------------------------------------------- -# 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/generic/127 b/tests/generic/127 index 94d15b29..dedd8bbf 100755 --- a/tests/generic/127 +++ b/tests/generic/127 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 127 # # fsx tests modified from CXFSQA tests @@ -7,25 +10,6 @@ # - fsx_10_std, # - fsx_15_std_mmap # -#----------------------------------------------------------------------- -# 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/generic/128 b/tests/generic/128 index 39fc807e..539081ee 100755 --- a/tests/generic/128 +++ b/tests/generic/128 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 128 # # Test nosuid mount option modified from CXFSQA test mount_option_nosuid # -#----------------------------------------------------------------------- -# 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/generic/129 b/tests/generic/129 index 9a10d769..d9b638b2 100755 --- a/tests/generic/129 +++ b/tests/generic/129 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 129 # # looptests created from CXFSQA test looptest # -#----------------------------------------------------------------------- -# 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/generic/130 b/tests/generic/130 index 90bd1693..b2106ee6 100755 --- a/tests/generic/130 +++ b/tests/generic/130 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 130 # # xfs_io vector read/write and trunc tests. modified from cxfsqa tests @@ -12,25 +15,6 @@ # - unixfile_small_vector_async_rw # - unixfile_small_vector_sync_rw # -#----------------------------------------------------------------------- -# 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/generic/131 b/tests/generic/131 index d64ba550..d7c146ae 100755 --- a/tests/generic/131 +++ b/tests/generic/131 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 131 # # lock test created from CXFSQA test lockfile_simple # -#----------------------------------------------------------------------- -# 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/generic/132 b/tests/generic/132 index 24e568b2..d2b99541 100755 --- a/tests/generic/132 +++ b/tests/generic/132 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 132 # # xfs_io aligned vector rw created from CXFSQA test # unixfile_vector_aligned_rw # -#----------------------------------------------------------------------- -# 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/generic/133 b/tests/generic/133 index 37a86e83..1002e9bb 100755 --- a/tests/generic/133 +++ b/tests/generic/133 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 133 # # Concurrent I/O to same file to ensure no deadlocks # -#----------------------------------------------------------------------- -# 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/generic/134 b/tests/generic/134 index 8dc99885..bbe1cdd1 100755 --- a/tests/generic/134 +++ b/tests/generic/134 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 134 # # Ensure that we can reflink the last block of a file whose size isn't @@ -9,23 +12,6 @@ # - Check that files 1-2 match, 3-4 don't match, and that nothing matches 3. # - Check that the ends of 1-3 match, and 1-3 do not match the end of file4. # -#----------------------------------------------------------------------- -# 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/generic/135 b/tests/generic/135 index 52c1227b..371c1a56 100755 --- a/tests/generic/135 +++ b/tests/generic/135 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 135 # # Concurrent I/O to same file to ensure no deadlocks # -#----------------------------------------------------------------------- -# 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/generic/136 b/tests/generic/136 index 665749f4..d4f4dcf6 100755 --- a/tests/generic/136 +++ b/tests/generic/136 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 136 # # Ensure that we can dedupe the last block of a file whose size isn't @@ -9,23 +12,6 @@ # - Check that files 1-2 match, and that 3-4 match. # - Check that the ends of 1-2 and 3-4 match, and that 1-3 don't match. # -#----------------------------------------------------------------------- -# 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/generic/137 b/tests/generic/137 index a813036a..c668c645 100755 --- a/tests/generic/137 +++ b/tests/generic/137 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 137 # # Ensure that we can reflink and dedupe blocks within the same file... @@ -9,23 +12,6 @@ # - Check that we successfully avoid deduping with holes, unwritten # extents, and non-matches; but actually dedupe real matches. # -#----------------------------------------------------------------------- -# 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/generic/138 b/tests/generic/138 index f8a31974..7b3d0c92 100755 --- a/tests/generic/138 +++ b/tests/generic/138 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 138 # # Ensuring that copy on write through the page cache works: @@ -6,23 +9,6 @@ # - Write to the beginning, middle, and end # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/139 b/tests/generic/139 index ef66034a..029f2ac3 100755 --- a/tests/generic/139 +++ b/tests/generic/139 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 139 # # Ensuring that copy on write in direct-io mode works: @@ -6,23 +9,6 @@ # - Write to the beginning, middle, and end in direct-io mode # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/140 b/tests/generic/140 index bf95ec1b..23b7c11a 100755 --- a/tests/generic/140 +++ b/tests/generic/140 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 140 # # Ensuring that mmap copy on write through the page cache works: @@ -6,23 +9,6 @@ # - Write to the beginning, middle, and end # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/141 b/tests/generic/141 index fa084845..fc2e0447 100755 --- a/tests/generic/141 +++ b/tests/generic/141 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 141 # # Test for xfs_io mmap read problem # -#----------------------------------------------------------------------- -# 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/generic/142 b/tests/generic/142 index d19725fb..373249ce 100755 --- a/tests/generic/142 +++ b/tests/generic/142 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 142 # # Ensure that reflinking a file N times and CoWing the copies leaves the @@ -8,23 +11,6 @@ # - Rewrite all the reflink copies # - Compare the contents of the original file # -#----------------------------------------------------------------------- -# 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/generic/143 b/tests/generic/143 index 8c4f9cef..735e0e22 100755 --- a/tests/generic/143 +++ b/tests/generic/143 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 143 # # Ensure that reflinking a file N times and DIO CoWing the copies leaves the @@ -8,23 +11,6 @@ # - Rewrite all the reflink copies w/ directio # - Compare the contents of the original file # -#----------------------------------------------------------------------- -# 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/generic/144 b/tests/generic/144 index dbbe1698..ad3c242f 100755 --- a/tests/generic/144 +++ b/tests/generic/144 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 144 # # Ensure that fallocate steps around reflinked ranges: @@ -6,23 +9,6 @@ # - Fallocate all the other sparse space. # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/145 b/tests/generic/145 index 93d3839c..ce8df0c3 100755 --- a/tests/generic/145 +++ b/tests/generic/145 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 145 # # Ensure that collapse range steps around reflinked ranges: @@ -7,23 +10,6 @@ # of the three files, respectively # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/146 b/tests/generic/146 index b1013f86..ce83db6a 100755 --- a/tests/generic/146 +++ b/tests/generic/146 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 146 # # Ensure that punch-hole steps around reflinked ranges: @@ -7,23 +10,6 @@ # of the three files, respectively # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/147 b/tests/generic/147 index a1f59a05..ec57da13 100755 --- a/tests/generic/147 +++ b/tests/generic/147 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 812 # # Ensure that insert range steps around reflinked ranges: @@ -7,23 +10,6 @@ # of the three files, respectively # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/148 b/tests/generic/148 index 31e7ebe3..8b5487d4 100755 --- a/tests/generic/148 +++ b/tests/generic/148 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 148 # # Ensure that truncating the last block in a reflinked file CoWs appropriately: @@ -8,23 +11,6 @@ # - Lengthen the other clone with truncate # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/149 b/tests/generic/149 index 0f13b796..b8efb92d 100755 --- a/tests/generic/149 +++ b/tests/generic/149 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 813 # # Ensure that zero-range steps around reflinked ranges: @@ -7,23 +10,6 @@ # of the three files, respectively # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/150 b/tests/generic/150 index b57db51a..694af8ce 100755 --- a/tests/generic/150 +++ b/tests/generic/150 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 150 # # Ensure that reflinking a file N times doesn't eat a lot of blocks @@ -6,23 +9,6 @@ # - Create some reflink copies # - Compare fs block usage to before # -#----------------------------------------------------------------------- -# 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/generic/151 b/tests/generic/151 index efb93ed2..c87a7aad 100755 --- a/tests/generic/151 +++ b/tests/generic/151 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 151 # # Ensure that deleting all copies of a file reflinked N times releases the blocks @@ -10,23 +13,6 @@ # - Delete all copies of the file # - Compare fs block usage to (2), (1), and (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/152 b/tests/generic/152 index ee009ea9..62bcf942 100755 --- a/tests/generic/152 +++ b/tests/generic/152 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 152 # # Ensure that punching all copies of a file reflinked N times releases the blocks @@ -10,23 +13,6 @@ # - Punch all blocks of the copies # - Compare fs block usage to (2), (1), and (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/153 b/tests/generic/153 index fb5d5523..4fb5d7f1 100755 --- a/tests/generic/153 +++ b/tests/generic/153 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 153 # # Ensure that collapse-range on all copies of a file reflinked N times releases the blocks @@ -10,23 +13,6 @@ # - Truncate all blocks of the copies # - Compare fs block usage to (2), (1), and (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/154 b/tests/generic/154 index 9daee703..a6512504 100755 --- a/tests/generic/154 +++ b/tests/generic/154 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 154 # # Ensure that CoW on all copies of a file reflinked N times increases block count @@ -10,23 +13,6 @@ # - CoW all the rest of the blocks of the copies # - Compare fs block usage to (2), (1), and (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/155 b/tests/generic/155 index 9eead248..9225b1a9 100755 --- a/tests/generic/155 +++ b/tests/generic/155 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 155 # # Ensure that CoW on all copies of a file reflinked N times increases block count @@ -13,23 +16,6 @@ # The main difference from 834 is that we use zero range, directio, and # mmap to mix things up a bit. # -#----------------------------------------------------------------------- -# 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/generic/156 b/tests/generic/156 index a81b91a3..e4a4f021 100755 --- a/tests/generic/156 +++ b/tests/generic/156 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 156 # # Ensure that fallocate on reflinked files actually CoWs the shared blocks. @@ -16,23 +19,6 @@ # # "funshare" refers to fallocate copy-on-writing the shared blocks # -#----------------------------------------------------------------------- -# 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/generic/157 b/tests/generic/157 index 722dc222..09b42bc9 100755 --- a/tests/generic/157 +++ b/tests/generic/157 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 157 # # Check that various invalid reflink scenarios are rejected. # -#----------------------------------------------------------------------- -# 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/generic/158 b/tests/generic/158 index c4f8bb8e..369aad8b 100755 --- a/tests/generic/158 +++ b/tests/generic/158 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 158 # # Check that various invalid dedupe scenarios are rejected. # -#----------------------------------------------------------------------- -# 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/generic/159 b/tests/generic/159 index f517b551..fbf7d8af 100755 --- a/tests/generic/159 +++ b/tests/generic/159 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 159 # # Check that we can't reflink immutable files # -#----------------------------------------------------------------------- -# 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/generic/160 b/tests/generic/160 index cd1044d1..8bbfe318 100755 --- a/tests/generic/160 +++ b/tests/generic/160 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 160 # # Check that we can't dedupe immutable files # -#----------------------------------------------------------------------- -# 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/generic/161 b/tests/generic/161 index ba7108e5..510c7d8a 100755 --- a/tests/generic/161 +++ b/tests/generic/161 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 161 # # Test for race between delete a file while rewriting its reflinked twin # -#----------------------------------------------------------------------- -# 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/generic/162 b/tests/generic/162 index 61cf4634..39304964 100755 --- a/tests/generic/162 +++ b/tests/generic/162 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 162 # # Test for race between dedupe and writing the dest file # -#----------------------------------------------------------------------- -# 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/generic/163 b/tests/generic/163 index e2c6042c..de8daa5e 100755 --- a/tests/generic/163 +++ b/tests/generic/163 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 163 # # Test for race between dedupe and writing the source file # -#----------------------------------------------------------------------- -# 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/generic/164 b/tests/generic/164 index 78ea787e..2dec98d9 100755 --- a/tests/generic/164 +++ b/tests/generic/164 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 164 # # Test for races or FS corruption between reflink and buffered I/O reading the # target file. # -#----------------------------------------------------------------------- -# 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/generic/165 b/tests/generic/165 index ca11e1e6..be839414 100755 --- a/tests/generic/165 +++ b/tests/generic/165 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 165 # # Test for races or FS corruption between reflink and direct I/O reading the # target file. # -#----------------------------------------------------------------------- -# 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/generic/166 b/tests/generic/166 index 9b53307b..787b6c0e 100755 --- a/tests/generic/166 +++ b/tests/generic/166 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 166 # # Test for races or FS corruption when DIO writing to a file that's also # the source of a reflink operation. # -#----------------------------------------------------------------------- -# 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/generic/167 b/tests/generic/167 index 261506bd..42887978 100755 --- a/tests/generic/167 +++ b/tests/generic/167 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 167 # # Test for races or FS corruption when writing to a file that's also # the source of a reflink operation. # -#----------------------------------------------------------------------- -# 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/generic/168 b/tests/generic/168 index ceee2640..ba18115a 100755 --- a/tests/generic/168 +++ b/tests/generic/168 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 168 # # Test for races or FS corruption when writing to a file that's also # the target of a reflink operation. # -#----------------------------------------------------------------------- -# 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/generic/169 b/tests/generic/169 index f0ed55ed..d03e9e11 100755 --- a/tests/generic/169 +++ b/tests/generic/169 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 169 # # Test for file size consistency with append followed by umount/mount # -#----------------------------------------------------------------------- -# 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/generic/170 b/tests/generic/170 index 65592430..b02a6ab1 100755 --- a/tests/generic/170 +++ b/tests/generic/170 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 170 # # Test for races or FS corruption when DIO writing to a file that's also # the target of a reflink operation. # -#----------------------------------------------------------------------- -# 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/generic/171 b/tests/generic/171 index 0942ac34..ef0b309a 100755 --- a/tests/generic/171 +++ b/tests/generic/171 @@ -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. 171 # # Reflink a file, use up the rest of the space, then try to observe ENOSPC # while copy-on-writing the file via the page cache. # -#----------------------------------------------------------------------- -# 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/generic/172 b/tests/generic/172 index d8ab8820..5d6f2953 100755 --- a/tests/generic/172 +++ b/tests/generic/172 @@ -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. 172 # # Reflink a file that uses more than half of the space, then try to observe # ENOSPC while copy-on-writing the file via the page cache. # -#----------------------------------------------------------------------- -# 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/generic/173 b/tests/generic/173 index 526590b9..fca9f0ca 100755 --- a/tests/generic/173 +++ b/tests/generic/173 @@ -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. 173 # # Reflink a file, use up the rest of the space, then try to observe ENOSPC # while copy-on-writing the file via mmap. # -#----------------------------------------------------------------------- -# 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/generic/174 b/tests/generic/174 index d230577a..e0e29d6e 100755 --- a/tests/generic/174 +++ b/tests/generic/174 @@ -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. 174 # # Reflink a file, use up the rest of the space, then try to observe ENOSPC # while copy-on-writing the file via direct-io. # -#----------------------------------------------------------------------- -# 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/generic/175 b/tests/generic/175 index df25f0a6..79e5b3d6 100755 --- a/tests/generic/175 +++ b/tests/generic/175 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 175 # # See how well reflink handles reflinking the same block a million times. # -#----------------------------------------------------------------------- -# 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/generic/176 b/tests/generic/176 index 3e61b68c..e0c0f225 100755 --- a/tests/generic/176 +++ b/tests/generic/176 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 176 # # See how well reflink handles reflinking a file with a million 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/generic/177 b/tests/generic/177 index ec65d28b..36577b12 100755 --- a/tests/generic/177 +++ b/tests/generic/177 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 177 # # Test that a file fsync works after punching a hole for the same file range @@ -7,26 +10,6 @@ # # This test is motivated by a bug found in btrfs. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/178 b/tests/generic/178 index 75408029..3fe7ffb6 100755 --- a/tests/generic/178 +++ b/tests/generic/178 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 178 # # Ensure that punch-hole doesn't clobber CoW. # -#----------------------------------------------------------------------- -# 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/generic/179 b/tests/generic/179 index c0ea70f0..989e0c34 100755 --- a/tests/generic/179 +++ b/tests/generic/179 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 179 # # Ensure that unaligned punch-hole steps around reflinked ranges: @@ -6,23 +9,6 @@ # - Perform an unaligned punch in the middle of the file. # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/180 b/tests/generic/180 index af2abf91..f50f238d 100755 --- a/tests/generic/180 +++ b/tests/generic/180 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 180 # # Ensure that unaligned zero-range steps around reflinked ranges: @@ -6,23 +9,6 @@ # - Perform an unaligned zero-range in the middle of the file. # - Check that the reflinked areas are still there. # -#----------------------------------------------------------------------- -# 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/generic/181 b/tests/generic/181 index bd884dfb..2a9981c6 100755 --- a/tests/generic/181 +++ b/tests/generic/181 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 181 # # Test the convention that reflink with length == 0 means "to the end of fileA" @@ -6,23 +9,6 @@ # - Try to reflink "zero" bytes. # - Check that the reflink happened. # -#----------------------------------------------------------------------- -# 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/generic/182 b/tests/generic/182 index 7fafec0d..31b9449b 100755 --- a/tests/generic/182 +++ b/tests/generic/182 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 182 # # Test the convention that dedupe with length == 0 always returns success. @@ -6,23 +9,6 @@ # - Try to dedupe "zero" bytes. # - Check that the dedupe happened and nothing changed. # -#----------------------------------------------------------------------- -# 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/generic/183 b/tests/generic/183 index 24adf979..48fd08f5 100755 --- a/tests/generic/183 +++ b/tests/generic/183 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 183 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -9,23 +12,6 @@ # - directio CoW across the halfway mark. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/184 b/tests/generic/184 index 5690cd18..8aca1a0d 100755 --- a/tests/generic/184 +++ b/tests/generic/184 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 184 # # check mknod makes working nodes. # -#----------------------------------------------------------------------- -# 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 - silence is golden" diff --git a/tests/generic/185 b/tests/generic/185 index 49feaf3d..2ddd2ca3 100755 --- a/tests/generic/185 +++ b/tests/generic/185 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 185 # # Ensuring that copy on write in buffered mode works when the CoW @@ -9,23 +12,6 @@ # - CoW across the halfway mark. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/186 b/tests/generic/186 index 5de120a2..55b85303 100755 --- a/tests/generic/186 +++ b/tests/generic/186 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 186 # # Ensuring that copy on write in buffered mode works when free space @@ -11,23 +14,6 @@ # - CoW across the halfway mark. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/187 b/tests/generic/187 index 3f534c84..964512d2 100755 --- a/tests/generic/187 +++ b/tests/generic/187 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 187 # # Ensuring that copy on write in directio mode works when free space @@ -11,23 +14,6 @@ # - CoW across the halfway mark. # - Check that the files are now different where we say they're different. # -#----------------------------------------------------------------------- -# 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/generic/188 b/tests/generic/188 index 19d3f560..a84791a2 100755 --- a/tests/generic/188 +++ b/tests/generic/188 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 188 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -8,23 +11,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) 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/generic/189 b/tests/generic/189 index 14cfef99..58ae9475 100755 --- a/tests/generic/189 +++ b/tests/generic/189 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 189 # # Ensuring that copy on write in buffered mode works when the CoW @@ -8,23 +11,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) 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/generic/190 b/tests/generic/190 index 3009bfe2..d44c0329 100755 --- a/tests/generic/190 +++ b/tests/generic/190 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 190 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -8,23 +11,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) 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/generic/191 b/tests/generic/191 index 36af2842..a6c78ad3 100755 --- a/tests/generic/191 +++ b/tests/generic/191 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 191 # # Ensuring that copy on write in buffered mode works when the CoW @@ -8,23 +11,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) 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/generic/192 b/tests/generic/192 index 2cee2e60..50b3d6fd 100755 --- a/tests/generic/192 +++ b/tests/generic/192 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 192 # # Simple test of atime # - ensure it is persistent after unmount # - check updated time by correct amount # -#----------------------------------------------------------------------- -# 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/generic/193 b/tests/generic/193 index 6d0754f4..dcb6d43c 100755 --- a/tests/generic/193 +++ b/tests/generic/193 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Christoph Hellwig. +# # FS QA Test No. 193 # # Test permission checks in ->setattr # -#----------------------------------------------------------------------- -# 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/generic/194 b/tests/generic/194 index 9edbe2cc..1f76de0f 100755 --- a/tests/generic/194 +++ b/tests/generic/194 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 194 # # 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) 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/generic/195 b/tests/generic/195 index 98954d54..d883a9df 100755 --- a/tests/generic/195 +++ b/tests/generic/195 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 195 # # 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) 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/generic/196 b/tests/generic/196 index 69e7c048..63686ac5 100755 --- a/tests/generic/196 +++ b/tests/generic/196 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 196 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -8,23 +11,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) 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/generic/197 b/tests/generic/197 index 0fc0c5e6..68519b4c 100755 --- a/tests/generic/197 +++ b/tests/generic/197 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 197 # # Ensuring that copy on write in buffered mode works when the CoW @@ -8,23 +11,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) 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/generic/198 b/tests/generic/198 index 5978f54a..cca3b9bb 100755 --- a/tests/generic/198 +++ b/tests/generic/198 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 198 # # Test that aio+dio into holes does completion at the proper offsets # See also https://bugzilla.redhat.com/show_bug.cgi?id=217098 # -#----------------------------------------------------------------------- -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/199 b/tests/generic/199 index 0ac47628..7fe55c80 100755 --- a/tests/generic/199 +++ b/tests/generic/199 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 199 # # Ensuring that copy on write in direct-io mode works when the CoW @@ -12,23 +15,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) 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/generic/200 b/tests/generic/200 index 5d7da84c..cb888cbc 100755 --- a/tests/generic/200 +++ b/tests/generic/200 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 200 # # Ensuring that copy on write in buffered mode works when the CoW @@ -12,23 +15,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) 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/generic/201 b/tests/generic/201 index 547f1943..c60baf5e 100755 --- a/tests/generic/201 +++ b/tests/generic/201 @@ -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. 201 # # See what happens if we dirty a lot of pages via CoW and immediately # unlink the file. # -#----------------------------------------------------------------------- -# 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/generic/202 b/tests/generic/202 index 14c94af4..cfb135eb 100755 --- a/tests/generic/202 +++ b/tests/generic/202 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 202 # # See what happens if we CoW across not-block-aligned EOF. # -#----------------------------------------------------------------------- -# 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/generic/203 b/tests/generic/203 index a7d0bcc1..29698947 100755 --- a/tests/generic/203 +++ b/tests/generic/203 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 203 # # See what happens if we DIO CoW across not-block-aligned EOF. # -#----------------------------------------------------------------------- -# 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/generic/204 b/tests/generic/204 index 1eed8bec..349f5eff 100755 --- a/tests/generic/204 +++ b/tests/generic/204 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. +# # FS QA Test No. 204 # # Test out ENOSPC flushing on small filesystems. # -#----------------------------------------------------------------------- -# 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/generic/205 b/tests/generic/205 index 564afc0a..53aa1abb 100755 --- a/tests/generic/205 +++ b/tests/generic/205 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 205 # # See what happens if we CoW blocks 2-4 of a page's worth of blocks when the @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/206 b/tests/generic/206 index 3fdbec23..9c933657 100755 --- a/tests/generic/206 +++ b/tests/generic/206 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 206 # # See what happens if we DIO CoW blocks 2-4 of a page's worth of blocks when @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/207 b/tests/generic/207 index 8f22c55b..b342fef0 100755 --- a/tests/generic/207 +++ b/tests/generic/207 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 207 # # Run aio-dio-extend-stat - test race in dio aio completion # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/208 b/tests/generic/208 index 1768e422..338bae81 100755 --- a/tests/generic/208 +++ b/tests/generic/208 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 208 # # Run aio-dio-invalidate-failure - test race in read cache invalidation # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/209 b/tests/generic/209 index aface567..91dfa80a 100755 --- a/tests/generic/209 +++ b/tests/generic/209 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 209 # # Run aio-dio-invalidate-readahead - test sync DIO invalidation of readahead # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/210 b/tests/generic/210 index 6abd3b41..158a9323 100755 --- a/tests/generic/210 +++ b/tests/generic/210 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 210 # # Run aio-dio-subblock-eof-read - test AIO read of last block of DIO file # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/211 b/tests/generic/211 index e0afeff1..735ccc40 100755 --- a/tests/generic/211 +++ b/tests/generic/211 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 211 # # Run aio-free-ring-with-bogus-nr-pages - test aio_setup_ring with bad nr_pages # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/212 b/tests/generic/212 index e3b2dad6..1a37c786 100755 --- a/tests/generic/212 +++ b/tests/generic/212 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 212 # # Run aio-io-setup-with-nonwritable-context-pointer - # Test what happens when a non-writable context pointer is passed to io_setup # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/213 b/tests/generic/213 index 609fcf14..d9bae3e0 100755 --- a/tests/generic/213 +++ b/tests/generic/213 @@ -1,30 +1,14 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. +# Copyright (c) 2009 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 213 # # Check some unwritten extent boundary conditions, fallocate version. # # Based on xfs-specific test 072 # -#----------------------------------------------------------------------- -# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. -# Copyright (c) 2009 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/generic/214 b/tests/generic/214 index 78380471..1fc9c43e 100755 --- a/tests/generic/214 +++ b/tests/generic/214 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 214 # # Basic unwritten extent sanity checks # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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/generic/215 b/tests/generic/215 index 80df55d9..858bd5ae 100755 --- a/tests/generic/215 +++ b/tests/generic/215 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Christoph Hellwig. +# # FS QA Test No. 215 # # Test out c/mtime updates after mapped writes. # # Based on the testcase in http://bugzilla.kernel.org/show_bug.cgi?id=2645 # -#----------------------------------------------------------------------- -# 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/generic/216 b/tests/generic/216 index 93b0106f..abf664d6 100755 --- a/tests/generic/216 +++ b/tests/generic/216 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 216 # # See what happens if we CoW blocks 2-4 of a page's worth of blocks when the @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/217 b/tests/generic/217 index 509f2c4f..dda6ec7a 100755 --- a/tests/generic/217 +++ b/tests/generic/217 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 217 # # See what happens if we DIO CoW blocks 2-4 of a page's worth of blocks when @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/218 b/tests/generic/218 index 92bc5213..7ed74724 100755 --- a/tests/generic/218 +++ b/tests/generic/218 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 218 # # See what happens if we CoW blocks 2-4 of a page's worth of blocks when the @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/219 b/tests/generic/219 index 9a8d017e..ec69b1b0 100755 --- a/tests/generic/219 +++ b/tests/generic/219 @@ -1,30 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 219 # # Simple quota accounting test for direct/buffered/mmap IO. # -#----------------------------------------------------------------------- -# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. -# -# Based on test 108, -# 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/generic/220 b/tests/generic/220 index 2bd0e999..fdee86d8 100755 --- a/tests/generic/220 +++ b/tests/generic/220 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 220 # # See what happens if we DIO CoW blocks 2-4 of a page's worth of blocks when @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/221 b/tests/generic/221 index aa42f65b..6da72bce 100755 --- a/tests/generic/221 +++ b/tests/generic/221 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 221 # # Check ctime updates when calling futimens without UTIME_OMIT for the @@ -6,25 +9,6 @@ # # Based on a bug report and testcase from Eric Blake . # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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/generic/222 b/tests/generic/222 index eb2169cf..06d88ff5 100755 --- a/tests/generic/222 +++ b/tests/generic/222 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 222 # # See what happens if we CoW blocks 2-4 of a page's worth of blocks when the @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/223 b/tests/generic/223 index f150dc93..dfd8c41b 100755 --- a/tests/generic/223 +++ b/tests/generic/223 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 223 # # File alignment tests # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/224 b/tests/generic/224 index 6b3a8153..6d7d4e73 100755 --- a/tests/generic/224 +++ b/tests/generic/224 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Dave Chinner. All Rights Reserved. +# # FS QA Test No. 224 # # Delayed allocation at ENOSPC test @@ -8,25 +11,6 @@ # focus, the test can to run on any filesystem to exercise ENOSPC # behaviour. # -#----------------------------------------------------------------------- -# 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/generic/225 b/tests/generic/225 index 544e0bef..eab47660 100755 --- a/tests/generic/225 +++ b/tests/generic/225 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 225 # # Run the fiemap (file extent mapping) tester # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/226 b/tests/generic/226 index cf6913ee..99adb726 100755 --- a/tests/generic/226 +++ b/tests/generic/226 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. +# # FS QA Test No. 226 # # Test for prealloc space leaks by rewriting the same file in a loop # -#----------------------------------------------------------------------- -# Copyright (c) 2009 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/227 b/tests/generic/227 index 3fe24902..457b5a48 100755 --- a/tests/generic/227 +++ b/tests/generic/227 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 227 # # See what happens if we DIO CoW blocks 2-4 of a page's worth of blocks when @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/228 b/tests/generic/228 index 1856dec5..fd022313 100755 --- a/tests/generic/228 +++ b/tests/generic/228 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 IBM Corporation. All Rights Reserved. +# # FS QA Test No. 228 # # Check if fallocate respects RLIMIT_FSIZE # -#----------------------------------------------------------------------- -# Copyright (c) 2010 IBM Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/229 b/tests/generic/229 index 55f875dd..9872b295 100755 --- a/tests/generic/229 +++ b/tests/generic/229 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 229 # # See what happens if we CoW blocks 2-4 of a page's worth of blocks when the @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/230 b/tests/generic/230 index 0d2b2794..bc8c1ad0 100755 --- a/tests/generic/230 +++ b/tests/generic/230 @@ -1,30 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Jan Kara. All Rights Reserved. +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 230 # # Simple quota enforcement test. # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Jan Kara. All Rights Reserved. -# -# Based on test 219, -# 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/generic/231 b/tests/generic/231 index f0636711..c296e2c3 100755 --- a/tests/generic/231 +++ b/tests/generic/231 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 231 # # Run fsx with quotas enabled and verify accounted quotas in the end # # Derived from test 127 -#----------------------------------------------------------------------- -# 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/generic/232 b/tests/generic/232 index f4853f72..d5c20249 100755 --- a/tests/generic/232 +++ b/tests/generic/232 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 232 # # Run fsstress with quotas enabled and verify accounted quotas in the end # # Derived from test 231 -#----------------------------------------------------------------------- -# 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/generic/233 b/tests/generic/233 index 1405d0e8..c49bf252 100755 --- a/tests/generic/233 +++ b/tests/generic/233 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 233 # # Run fsstress with quotas enabled and limits set low and verify accounted # quotas in the end # # Derived from test 231 -#----------------------------------------------------------------------- -# 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/generic/234 b/tests/generic/234 index 4605072e..dc296df8 100755 --- a/tests/generic/234 +++ b/tests/generic/234 @@ -1,30 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Jan Kara. All Rights Reserved. +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 234 # # Stress setquota and setinfo handling. # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Jan Kara. All Rights Reserved. -# -# Based on test 219, -# 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/generic/235 b/tests/generic/235 index 9cd24729..902e9adc 100755 --- a/tests/generic/235 +++ b/tests/generic/235 @@ -1,30 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Jan Kara. All Rights Reserved. +# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 235 # # Test whether quota gets properly reenabled after remount read-write # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Jan Kara. All Rights Reserved. -# -# Based on test 219, -# 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/generic/236 b/tests/generic/236 index 12ea0bc6..f207165f 100755 --- a/tests/generic/236 +++ b/tests/generic/236 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 FUJITSU LIMITED. All Rights Reserved. +# # FS QA Test No. 236 # # Check ctime updated or not if file linked # See also http://marc.info/?l=linux-btrfs&m=127434439020230&w=2 # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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/generic/237 b/tests/generic/237 index 23c07b0e..08632b9d 100755 --- a/tests/generic/237 +++ b/tests/generic/237 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 FUJITSU LIMITED. All Rights Reserved. +# # FS QA Test No. 237 # # Check user B can setfacl a file which belongs to user A # See also http://marc.info/?l=linux-btrfs&m=127434445620298&w=2 # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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/generic/238 b/tests/generic/238 index c60799d5..e8276cc5 100755 --- a/tests/generic/238 +++ b/tests/generic/238 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 238 # # See what happens if we DIO CoW blocks 2-4 of a page's worth of blocks when @@ -7,23 +10,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/239 b/tests/generic/239 index 4f764c22..45a29221 100755 --- a/tests/generic/239 +++ b/tests/generic/239 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 239 # # Read from a sparse file immedialy after filling a hole to test for races # in unwritten extent conversion. # -#----------------------------------------------------------------------- -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/240 b/tests/generic/240 index 7fbd4b3c..d8afea44 100755 --- a/tests/generic/240 +++ b/tests/generic/240 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 240 # # Test that non-block-aligned aio+dio into holes does not leave @@ -10,24 +13,6 @@ # This test need only be run in the case where the logical block size # of the device can be smaller than the file system block size. # -#----------------------------------------------------------------------- -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/241 b/tests/generic/241 index b45f5e96..cb544048 100755 --- a/tests/generic/241 +++ b/tests/generic/241 @@ -1,26 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 241 # # Run parallel dbench & check for filesystem corruption # This corrupted ext4 inode bitmaps due to races at one point # -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/242 b/tests/generic/242 index 1bfeb773..9bf3dea4 100755 --- a/tests/generic/242 +++ b/tests/generic/242 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 242 # # Reflink two large files and CoW them in big chunks. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/243 b/tests/generic/243 index 59ae6e86..a3fe61a8 100755 --- a/tests/generic/243 +++ b/tests/generic/243 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 243 # # Reflink two large files and DIO CoW them in big chunks. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/244 b/tests/generic/244 index 0c64330e..a17d7d8a 100755 --- a/tests/generic/244 +++ b/tests/generic/244 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 244 # # test out "sparse" quota ids retrieved by Q_GETNEXTQUOTA # # Designed to use the new Q_GETNEXTQUOTA quotactl # -#----------------------------------------------------------------------- -# 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/generic/245 b/tests/generic/245 index 4034d049..3e5edbe5 100755 --- a/tests/generic/245 +++ b/tests/generic/245 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 245 # # Check that directory renames onto non-empty targets fail # # Based on a bug report and testcase from Vlado Plaga # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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/generic/246 b/tests/generic/246 index 4184cfc6..e544564f 100755 --- a/tests/generic/246 +++ b/tests/generic/246 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 246 # # Check that truncation after failed writes does not zero too much data. @@ -6,25 +9,6 @@ # Based on a bug report and testcase from # Marius Tolzmann # -#----------------------------------------------------------------------- -# Copyright (c) 2010 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/generic/247 b/tests/generic/247 index 0614100c..56def551 100755 --- a/tests/generic/247 +++ b/tests/generic/247 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 247 # # Test for race between direct I/O and mmap # -#----------------------------------------------------------------------- -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/248 b/tests/generic/248 index f47d47f7..e0903531 100755 --- a/tests/generic/248 +++ b/tests/generic/248 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Intel Corporation +# # FS QA Test No. 248 # # Test for pwrite hang problem when writing from mmaped buffer of the same page # -#----------------------------------------------------------------------- -# Copyright (c) 2010 Intel Corporation -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the Free -# Software Foundation; version 2 of the License -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., 59 -# Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/249 b/tests/generic/249 index 9b754788..99eef840 100755 --- a/tests/generic/249 +++ b/tests/generic/249 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 249 # # simple splice(2) test. # -#----------------------------------------------------------------------- -# 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/generic/250 b/tests/generic/250 index 6b0f7e31..74854c15 100755 --- a/tests/generic/250 +++ b/tests/generic/250 @@ -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. 250 # # Create an unwritten extent, set up dm-error, try a DIO write, then # make sure we can't read back old disk contents. # -#----------------------------------------------------------------------- -# 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/generic/251 b/tests/generic/251 index 848ee747..98c441b2 100755 --- a/tests/generic/251 +++ b/tests/generic/251 @@ -1,4 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2010 (C) Red Hat, Inc., Lukas Czerner +# # FS QA Test No. 251 # # This test was created in order to verify filesystem FITRIM implementation. @@ -6,23 +9,6 @@ # does not change after copied into SCRATCH_MNT test if FITRIM implementation # corrupts the filesystem (data/metadata). # -#----------------------------------------------------------------------- -# Copyright 2010 (C) Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/252 b/tests/generic/252 index e102945d..9e7f4420 100755 --- a/tests/generic/252 +++ b/tests/generic/252 @@ -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. 252 # # Create an unwritten extent, set up dm-error, try an AIO DIO write, then # make sure we can't read back old disk contents. # -#----------------------------------------------------------------------- -# 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/generic/253 b/tests/generic/253 index 4935f44e..35c8bfe3 100755 --- a/tests/generic/253 +++ b/tests/generic/253 @@ -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. 253 # # Truncate a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/254 b/tests/generic/254 index cd015ece..70336eb9 100755 --- a/tests/generic/254 +++ b/tests/generic/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 # # Punch a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/255 b/tests/generic/255 index 14de49ed..20926829 100755 --- a/tests/generic/255 +++ b/tests/generic/255 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2010 Red Hat. All Rights Reserved. +# # FS QA Test No. 255 # # Test Generic fallocate hole punching # -#----------------------------------------------------------------------- -# 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 -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/256 b/tests/generic/256 index 3b00d56c..d13b99a4 100755 --- a/tests/generic/256 +++ b/tests/generic/256 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 IBM Corporation. All Rights Reserved. +# # FS QA Test No. 256 # # Test Full File System Hole Punching # -#----------------------------------------------------------------------- -# Copyright (c) 2011 IBM Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/257 b/tests/generic/257 index 64f21001..f0d4291b 100755 --- a/tests/generic/257 +++ b/tests/generic/257 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Gražvydas Ignotas +# # # Check that no duplicate d_off values are returned and that those # values are seekable. Most work is done by the C program here. # -#----------------------------------------------------------------------- -# Copyright (c) 2011 Gražvydas Ignotas -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/258 b/tests/generic/258 index d28437ff..68b8155d 100755 --- a/tests/generic/258 +++ b/tests/generic/258 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 258 # # Test timestamps prior to epoch # On 64-bit, ext2/3/4 was sign-extending when read from disk # See also commit 4d7bf11d649c72621ca31b8ea12b9c94af380e63 # -#----------------------------------------------------------------------- -# 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/generic/259 b/tests/generic/259 index 3765bfd5..fde9e27e 100755 --- a/tests/generic/259 +++ b/tests/generic/259 @@ -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. 259 # # fzero a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/260 b/tests/generic/260 index 4c152929..9e652dee 100755 --- a/tests/generic/260 +++ b/tests/generic/260 @@ -1,26 +1,12 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2011 (C) Red Hat, Inc., Lukas Czerner +# # FS QA Test No. 260 # # Purpose of this test is to check FITRIM argument handling to make sure # that the argument processing is right and that it does not overflow. # -#----------------------------------------------------------------------- -# Copyright 2011 (C) Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/261 b/tests/generic/261 index 84ebc86b..ada74236 100755 --- a/tests/generic/261 +++ b/tests/generic/261 @@ -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. 261 # # fcollapse a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/262 b/tests/generic/262 index 366801b2..c8b0bc7f 100755 --- a/tests/generic/262 +++ b/tests/generic/262 @@ -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. 262 # # finsert a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/263 b/tests/generic/263 index b460c827..0a272c52 100755 --- a/tests/generic/263 +++ b/tests/generic/263 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. +# # FS QA Test No. 263 # # fsx exercising direct IO vs sub-block buffered I/O # -#----------------------------------------------------------------------- -# 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/generic/264 b/tests/generic/264 index f90de039..e23e85b0 100755 --- a/tests/generic/264 +++ b/tests/generic/264 @@ -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. 264 # # fallocate a file at midway through a CoW region. @@ -6,23 +9,6 @@ # This test is dependent on the system page size, so we cannot use md5 in # the golden output; we can only compare to a check file. # -#----------------------------------------------------------------------- -# 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/generic/265 b/tests/generic/265 index ceddfbe7..252c0a52 100755 --- a/tests/generic/265 +++ b/tests/generic/265 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 265 # # Test CoW behavior when the write temporarily fails. # -#----------------------------------------------------------------------- -# 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/generic/266 b/tests/generic/266 index 09541c89..4dfa095f 100755 --- a/tests/generic/266 +++ b/tests/generic/266 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 266 # # Test CoW behavior when the write permanently fails. # -#----------------------------------------------------------------------- -# 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/generic/267 b/tests/generic/267 index 2ec6ad90..47a71436 100755 --- a/tests/generic/267 +++ b/tests/generic/267 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 267 # # Test CoW behavior when the write temporarily fails and we unmount. # -#----------------------------------------------------------------------- -# 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/generic/268 b/tests/generic/268 index b7d16ab7..6b79a1ca 100755 --- a/tests/generic/268 +++ b/tests/generic/268 @@ -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. 268 # # Test CoW behavior when the write temporarily fails but the userspace # program writes again. # -#----------------------------------------------------------------------- -# 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/generic/269 b/tests/generic/269 index ee353a5e..27117747 100755 --- a/tests/generic/269 +++ b/tests/generic/269 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 269 # # Run fsstress and ENSPC hitters in parallel, check fs consistency an the end # -#----------------------------------------------------------------------- -# 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/generic/270 b/tests/generic/270 index d597ab49..5092ffa4 100755 --- a/tests/generic/270 +++ b/tests/generic/270 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. +# # FSQA Test No. 270 # # Run fsstress and ENSPC hitters in parallel, check quota and # fs consistency an the end # -#----------------------------------------------------------------------- -# 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/generic/271 b/tests/generic/271 index 9439327a..fc438e07 100755 --- a/tests/generic/271 +++ b/tests/generic/271 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 271 # # Test DIO CoW behavior when the write temporarily fails. # -#----------------------------------------------------------------------- -# 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/generic/272 b/tests/generic/272 index 243adf56..ddd0d93b 100755 --- a/tests/generic/272 +++ b/tests/generic/272 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 272 # # Test DIO CoW behavior when the write permanently fails. # -#----------------------------------------------------------------------- -# 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/generic/273 b/tests/generic/273 index de787e7a..a643f2ae 100755 --- a/tests/generic/273 +++ b/tests/generic/273 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. +# # FS QA Test No. 273 # # reservation test with heavy cp workload # -#----------------------------------------------------------------------- -# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# #creator seq=`basename $0` diff --git a/tests/generic/274 b/tests/generic/274 index a3f8c755..6e8814ed 100755 --- a/tests/generic/274 +++ b/tests/generic/274 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. +# # FS QA Test No. 274 # # preallocation test: # Preallocate space to a file, and fill the rest of the fs to 100%. # Then test a write into that preallocated space, which should succeed. # -#----------------------------------------------------------------------- -# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# #creator seq=`basename $0` diff --git a/tests/generic/275 b/tests/generic/275 index 4129cfcf..a934c19c 100755 --- a/tests/generic/275 +++ b/tests/generic/275 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. +# # FS QA Test No. 275 # # The posix write test. When write size is larger than disk free size, # should write as much as possible until ENOSPC. # -#----------------------------------------------------------------------- -# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# #creator seq=`basename $0` diff --git a/tests/generic/276 b/tests/generic/276 index 34b00291..296fcd6b 100755 --- a/tests/generic/276 +++ b/tests/generic/276 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 276 # # Test DIO CoW behavior when the write temporarily fails and we unmount. # -#----------------------------------------------------------------------- -# 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/generic/277 b/tests/generic/277 index 4dfc431b..ee7965f1 100755 --- a/tests/generic/277 +++ b/tests/generic/277 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Fujitsu. All Rights Reserved. +# # FS QA Test No. 277 # # Check if ctime update caused by chattr is written to disk # -#----------------------------------------------------------------------- -# Copyright (c) 2011 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/278 b/tests/generic/278 index d751f018..5f07c257 100755 --- a/tests/generic/278 +++ b/tests/generic/278 @@ -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. 278 # # Test DIO CoW behavior when the write temporarily fails but the userspace # program writes again. # -#----------------------------------------------------------------------- -# 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/generic/279 b/tests/generic/279 index 4541de3e..1355c641 100755 --- a/tests/generic/279 +++ b/tests/generic/279 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 279 # # Test mmap CoW behavior when the write temporarily fails. # -#----------------------------------------------------------------------- -# 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/generic/280 b/tests/generic/280 index 069d46d3..da527a8b 100755 --- a/tests/generic/280 +++ b/tests/generic/280 @@ -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. 280 # # Test quota vs. suspend/freeze deadlock, # dcdbed85 quota: Fix deadlock with suspend and quotas # -#----------------------------------------------------------------------- -# 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/generic/281 b/tests/generic/281 index e8e1661b..75c4b39a 100755 --- a/tests/generic/281 +++ b/tests/generic/281 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 281 # # Test mmap CoW behavior when the write permanently fails. # -#----------------------------------------------------------------------- -# 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/generic/282 b/tests/generic/282 index 8a30811e..aea7ce58 100755 --- a/tests/generic/282 +++ b/tests/generic/282 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 282 # # Test mmap CoW behavior when the write temporarily fails and we unmount. # -#----------------------------------------------------------------------- -# 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/generic/283 b/tests/generic/283 index 7bfdb4d1..79caddb5 100755 --- a/tests/generic/283 +++ b/tests/generic/283 @@ -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. 283 # # Test mmap CoW behavior when the write temporarily fails but the userspace # program writes again. # -#----------------------------------------------------------------------- -# 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/generic/284 b/tests/generic/284 index b3e8f3b0..609f1075 100755 --- a/tests/generic/284 +++ b/tests/generic/284 @@ -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. 284 # # Ensuring that copy on write in buffered mode to the source file when the @@ -9,23 +12,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/generic/285 b/tests/generic/285 index 3f7d2980..b53b3acc 100755 --- a/tests/generic/285 +++ b/tests/generic/285 @@ -1,4 +1,8 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Oracle Inc. All Rights Reserved. +# Copyright (c) 2011 Red Hat. All Rights Reserved. +# # FS QA Test No. 285 # # SEEK_DATA/SEEK_HOLE sanity tests. @@ -6,25 +10,6 @@ # Improved by Jeff.liu@oracle.com # Creater: josef@redhat.com # -#----------------------------------------------------------------------- -# Copyright (c) 2011 Oracle Inc. All Rights Reserved. -# 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 -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/286 b/tests/generic/286 index f88f079e..0d980e79 100755 --- a/tests/generic/286 +++ b/tests/generic/286 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 Oracle Inc. All Rights Reserved. +# # FS QA Test No. 286 # # SEEK_DATA/SEEK_HOLE copy tests. # -#----------------------------------------------------------------------- -# Copyright (c) 2011 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/generic/287 b/tests/generic/287 index 7d53883d..c46abccc 100755 --- a/tests/generic/287 +++ b/tests/generic/287 @@ -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. 287 # # Ensuring that copy on write in directio mode to the source file when the @@ -9,23 +12,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/generic/288 b/tests/generic/288 index aed6238b..cd299a8d 100755 --- a/tests/generic/288 +++ b/tests/generic/288 @@ -1,26 +1,12 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2012 (C) Red Hat, Inc., Lukas Czerner +# # FS QA Test No. 288 # # This check the FITRIM argument handling in the corner case where length is # smaller than block size or zero. # -#----------------------------------------------------------------------- -# Copyright 2012 (C) Red Hat, Inc., Lukas Czerner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/289 b/tests/generic/289 index 62b28dcf..206b5056 100755 --- a/tests/generic/289 +++ b/tests/generic/289 @@ -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. 289 # # Ensuring that copy on write in buffered mode to the source file when the @@ -11,23 +14,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/generic/290 b/tests/generic/290 index ff3af20f..1f724e31 100755 --- a/tests/generic/290 +++ b/tests/generic/290 @@ -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. 290 # # Ensuring that copy on write in directio mode to the source file when the @@ -11,23 +14,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/generic/291 b/tests/generic/291 index 18880436..4dd3aa6c 100755 --- a/tests/generic/291 +++ b/tests/generic/291 @@ -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. 291 # # Ensuring that copy on write in buffered mode to the source file when the @@ -11,23 +14,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/generic/292 b/tests/generic/292 index e71b5553..6594958e 100755 --- a/tests/generic/292 +++ b/tests/generic/292 @@ -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. 292 # # Ensuring that copy on write in directio mode to the source file when the @@ -11,23 +14,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/generic/293 b/tests/generic/293 index 6792f105..939709de 100755 --- a/tests/generic/293 +++ b/tests/generic/293 @@ -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. 293 # # 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/generic/294 b/tests/generic/294 index 16687ded..b74579ac 100755 --- a/tests/generic/294 +++ b/tests/generic/294 @@ -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. 294 # # Tests for EEXIST (not EROFS) for inode creations, if # we ask to create an already-existing entity on an RO filesystem # -#----------------------------------------------------------------------- -# 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/generic/295 b/tests/generic/295 index 8f7916e2..b99f8ec7 100755 --- a/tests/generic/295 +++ b/tests/generic/295 @@ -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. 295 # # 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/generic/296 b/tests/generic/296 index 31c8e891..de890e20 100755 --- a/tests/generic/296 +++ b/tests/generic/296 @@ -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. 296 # # - Create two reflinked files a byte longer than a block. # - Rewrite the whole file. # -#----------------------------------------------------------------------- -# 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/generic/297 b/tests/generic/297 index a3ba5c4f..5950a8da 100755 --- a/tests/generic/297 +++ b/tests/generic/297 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 297 # # See how well reflink handles ^C in the middle of a slow reflink. # -#----------------------------------------------------------------------- -# 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/generic/298 b/tests/generic/298 index a4d458cf..b87012dd 100755 --- a/tests/generic/298 +++ b/tests/generic/298 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 298 # # See how well reflink handles SIGKILL in the middle of a slow reflink. # -#----------------------------------------------------------------------- -# 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/generic/299 b/tests/generic/299 index c9ed0e05..c4d74fc8 100755 --- a/tests/generic/299 +++ b/tests/generic/299 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 299 # # AIO/DIO stress test # Run random AIO/DIO activity and fallocate/truncate simultaneously # Test will operate on huge sparsed files so ENOSPC is expected. # -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/300 b/tests/generic/300 index 181594ec..6a6ffbd1 100755 --- a/tests/generic/300 +++ b/tests/generic/300 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# # FSQA Test No. 300 # # AIO/DIO stress test # Run random AIO/DIO activity and fallocate/punch_hole simultaneously # Test will operate on huge sparsed file so ENOSPC is expected. # -#----------------------------------------------------------------------- -# (c) 2013 Dmitry Monakhov -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/301 b/tests/generic/301 index 1c6ea055..62960f0e 100755 --- a/tests/generic/301 +++ b/tests/generic/301 @@ -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. 301 # # 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/generic/302 b/tests/generic/302 index 5643bb53..be005443 100755 --- a/tests/generic/302 +++ b/tests/generic/302 @@ -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. 302 # # 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/generic/303 b/tests/generic/303 index 3c840087..b2f3a235 100755 --- a/tests/generic/303 +++ b/tests/generic/303 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 303 # # Check that high-offset reflinks work. # -#----------------------------------------------------------------------- -# 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/generic/304 b/tests/generic/304 index ff8ddf82..f93f47b1 100755 --- a/tests/generic/304 +++ b/tests/generic/304 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 304 # # Check that high-offset dedupes work. # -#----------------------------------------------------------------------- -# 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/generic/305 b/tests/generic/305 index cb057998..ac79d8e9 100755 --- a/tests/generic/305 +++ b/tests/generic/305 @@ -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. 305 # # Ensure that quota charges us for reflinking a file and that we're not # charged for buffered copy on write. # -#----------------------------------------------------------------------- -# 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/generic/306 b/tests/generic/306 index 86fd8293..081d1a89 100755 --- a/tests/generic/306 +++ b/tests/generic/306 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 306 # # Test RW open of a device on a RO fs # -#----------------------------------------------------------------------- -# 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/generic/307 b/tests/generic/307 index bd9b6067..d461b16f 100755 --- a/tests/generic/307 +++ b/tests/generic/307 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 307 # # Check if ctime is updated and written to disk after setfacl @@ -10,24 +13,6 @@ # # Based on test 277 # -#----------------------------------------------------------------------- -# 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/generic/308 b/tests/generic/308 index afc9bf5c..510c7a36 100755 --- a/tests/generic/308 +++ b/tests/generic/308 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 308 # # Regression test for commit: # f17722f ext4: Fix max file size and logical block counting of extent format file # -#----------------------------------------------------------------------- -# 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/generic/309 b/tests/generic/309 index 9dee88c7..6bb3d311 100755 --- a/tests/generic/309 +++ b/tests/generic/309 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 309 # # Test directory mtime and ctime are updated when moving a file onto an @@ -7,24 +10,6 @@ # Regression test for commit: # 0b23076 ext3: fix update of mtime and ctime on rename # -#----------------------------------------------------------------------- -# 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/generic/310 b/tests/generic/310 index 895481cb..2bcf7201 100755 --- a/tests/generic/310 +++ b/tests/generic/310 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 HuaWei. All Rights Reserved. +# # FS QA Test No. 310 # # Check if there are two threads,one keeps calling read() or lseek(), and @@ -20,24 +23,6 @@ # # http://marc.info/?l=linux-kernel&m=136123703211869&w=2 # -#----------------------------------------------------------------------- -# Copyright (c) 2013 HuaWei. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/311 b/tests/generic/311 index 50a464ec..ac397194 100755 --- a/tests/generic/311 +++ b/tests/generic/311 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Fusion IO. All Rights Reserved. +# # FS QA Test No. 311 # # Run various fsync tests with dm flakey in freeze() mode and non freeze() @@ -14,24 +17,6 @@ # tests that were handcrafted to reproduce bugs in btrfs, so it's also a # regression test of sorts. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Fusion IO. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/312 b/tests/generic/312 index 669e19b4..756f5c3e 100755 --- a/tests/generic/312 +++ b/tests/generic/312 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 312 # # ENOSPC in fallocate(2) could corrupt ext4 when file size > 4G @@ -6,24 +9,6 @@ # Regression test for commit # 29ae07b ext4: Fix overflow caused by missing cast in ext4_fallocate() # -#----------------------------------------------------------------------- -# 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/generic/313 b/tests/generic/313 index 5a3cb859..9bcb67bb 100755 --- a/tests/generic/313 +++ b/tests/generic/313 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 313 # # Check ctime and mtime are updated on truncate(2) and ftruncate(2) @@ -6,24 +9,6 @@ # Regression test for commit: # 3972f26 btrfs: update timestamps on truncate() # -#----------------------------------------------------------------------- -# 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/generic/314 b/tests/generic/314 index 49b03e47..03df81ce 100755 --- a/tests/generic/314 +++ b/tests/generic/314 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. 314 # # Test SGID inheritance on subdirectories # -#----------------------------------------------------------------------- -# 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/generic/315 b/tests/generic/315 index 954f8a90..fd49b579 100755 --- a/tests/generic/315 +++ b/tests/generic/315 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 315 # # fallocate/truncate tests with FALLOC_FL_KEEP_SIZE option. @@ -6,24 +9,6 @@ # to the old smaller size. Before Linux 3.10, Btrfs/OCFS2 are test # failed in this case. # -#----------------------------------------------------------------------- -# 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/generic/316 b/tests/generic/316 index 0ccf01f5..97ba5cb4 100755 --- a/tests/generic/316 +++ b/tests/generic/316 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Alibaba Group. All Rights Reserved. +# # FS QA Test No. 316 # # Test Generic fallocate hole punching w/o unwritten extent # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Alibaba Group. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/317 b/tests/generic/317 index 6d1e932b..1aded768 100755 --- a/tests/generic/317 +++ b/tests/generic/317 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 317 # # Check uid/gid to/from disk with a user namespace. A new file @@ -8,24 +11,6 @@ # uid/gid from both inside the userns and from init_user_ns to show # that the correct uid was flushed and brought back from disk. # -#----------------------------------------------------------------------- -# 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/generic/318 b/tests/generic/318 index 1c9b3f21..2d6f75fe 100755 --- a/tests/generic/318 +++ b/tests/generic/318 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2013 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 318 # # Check get/set ACLs to/from disk with a user namespace. A new file @@ -9,24 +12,6 @@ # userns and from init_user_ns to show that the correct uid/gid in # the ACL was flushed and brought back from disk. # -#----------------------------------------------------------------------- -# 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/generic/319 b/tests/generic/319 index d1eea4a1..02973d90 100755 --- a/tests/generic/319 +++ b/tests/generic/319 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Filipe Manana. All Rights Reserved. +# # FS QA Test No. generic/319 # # Regression test to make sure a directory inherits the default ACL from @@ -8,25 +11,6 @@ # # https://patchwork.kernel.org/patch/3046931/ # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Filipe Manana. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/320 b/tests/generic/320 index 83ad21f4..63bd4703 100755 --- a/tests/generic/320 +++ b/tests/generic/320 @@ -1,4 +1,8 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/320 # # heavy rm workload @@ -8,26 +12,6 @@ # # Based on generic/273 # -#----------------------------------------------------------------------- -# Copyright (c) 2011-2012 Fujitsu, Inc. All Rights Reserved. -# 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/generic/321 b/tests/generic/321 index 6cf80e2d..4b0c734b 100755 --- a/tests/generic/321 +++ b/tests/generic/321 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Fusion IO. All Rights Reserved. +# # FS QA Test No. 321 # # Runs various dir fsync tests to cover fsync'ing directory corner cases. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Fusion IO. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/322 b/tests/generic/322 index 60ae5eab..2afd7127 100755 --- a/tests/generic/322 +++ b/tests/generic/322 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Fusion IO. All Rights Reserved. +# # FS QA Test No. 322 # # Runs various rename fsync tests to cover some rename fsync corner cases. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Fusion IO. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/323 b/tests/generic/323 index 16b811c7..581ba04f 100755 --- a/tests/generic/323 +++ b/tests/generic/323 @@ -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. 323 # # Run aio-last-ref-held-by-io - last put of ioctx not in process @@ -6,24 +9,6 @@ # last reference to an ioctx be held by the IO (instead of the # process) would cause problems (hung system, crashes). -#----------------------------------------------------------------------- -# 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/generic/324 b/tests/generic/324 index 47cb3dbc..bc63fb4b 100755 --- a/tests/generic/324 +++ b/tests/generic/324 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/324 # # Sanity check for defrag utility. # -#----------------------------------------------------------------------- -# 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/generic/325 b/tests/generic/325 index fc5bbedf..8c1251d0 100755 --- a/tests/generic/325 +++ b/tests/generic/325 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 325 # # Make some pages/extents of a file dirty, do a ranged fsync that covers @@ -12,25 +15,6 @@ # # Btrfs: fix fsync data loss after a ranged fsync # -#----------------------------------------------------------------------- -# Copyright (C) 2014 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/326 b/tests/generic/326 index c6cc9bb1..896f964f 100755 --- a/tests/generic/326 +++ b/tests/generic/326 @@ -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. 326 # # Ensure that quota charges us for reflinking a file and that we're not # charged for directio copy on write. # -#----------------------------------------------------------------------- -# 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/generic/327 b/tests/generic/327 index 1e1ab6a5..a41af2f0 100755 --- a/tests/generic/327 +++ b/tests/generic/327 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 327 # # Ensure that we can't go over the hard block limit when reflinking. # -#----------------------------------------------------------------------- -# 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/generic/328 b/tests/generic/328 index 1ad53fda..ccf5c435 100755 --- a/tests/generic/328 +++ b/tests/generic/328 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 328 # # Ensure that we can't go over the hard block limit when CoWing a file. # -#----------------------------------------------------------------------- -# 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/generic/329 b/tests/generic/329 index 39916725..c68d94ac 100755 --- a/tests/generic/329 +++ b/tests/generic/329 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 329 # # Test AIO DIO CoW behavior when the write temporarily fails. # -#----------------------------------------------------------------------- -# 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/generic/330 b/tests/generic/330 index f9f82a49..334ac3c7 100755 --- a/tests/generic/330 +++ b/tests/generic/330 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 330 # # Test AIO DIO CoW behavior. # -#----------------------------------------------------------------------- -# 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/generic/331 b/tests/generic/331 index 9b914594..8f5629c1 100755 --- a/tests/generic/331 +++ b/tests/generic/331 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 331 # # Test AIO CoW behavior when the write temporarily fails. # -#----------------------------------------------------------------------- -# 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/generic/332 b/tests/generic/332 index 1fb56113..a01da998 100755 --- a/tests/generic/332 +++ b/tests/generic/332 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 332 # # Test AIO CoW behavior. # -#----------------------------------------------------------------------- -# 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/generic/333 b/tests/generic/333 index 3d874d7e..399bf50f 100755 --- a/tests/generic/333 +++ b/tests/generic/333 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 333 # # Test for races or FS corruption when trying to hit ENOSPC while DIO writing # to a file that's also the source of a reflink operation. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/334 b/tests/generic/334 index fb21d4f9..32f891ed 100755 --- a/tests/generic/334 +++ b/tests/generic/334 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 334 # # Test for races or FS corruption when trying to hit ENOSPC while writing # to a file that's also the source of a reflink operation. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/335 b/tests/generic/335 index d9ca2683..3a5283d4 100755 --- a/tests/generic/335 +++ b/tests/generic/335 @@ -1,30 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 335 # # Test that if we move one file between directories, fsync the parent directory # of the old directory, power fail and remount the filesystem, the file is not # lost and it's located at the destination directory. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/336 b/tests/generic/336 index 82e74295..e007552c 100755 --- a/tests/generic/336 +++ b/tests/generic/336 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 336 # # Test that if we have a file F1 with two links, one in a directory A and the @@ -6,26 +9,6 @@ # file F2 from directory B into directory C, fsync inode F1, power fail and # remount the filesystem, file F2 exists and is located only in directory C. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/337 b/tests/generic/337 index 17588714..a76aa612 100755 --- a/tests/generic/337 +++ b/tests/generic/337 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 337 # # Test that the filesystem's implementation of the listxattrs system call lists # all the xattrs an inode has. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/338 b/tests/generic/338 index 818cc15b..6d701e83 100755 --- a/tests/generic/338 +++ b/tests/generic/338 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc., All Rights Reserved. +# # FS QA Test 338 # # Test I/O on dm error device. @@ -6,24 +9,6 @@ # Motivated by an ext4 bug that crashes kernel on error path when trying to # update atime. # -#----------------------------------------------------------------------- -# 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/generic/339 b/tests/generic/339 index cbcad004..012f4602 100755 --- a/tests/generic/339 +++ b/tests/generic/339 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Hannes Frederic Sowa. All Rights Reserved. +# # FS QA Test No. 339 # # Test that directory hash entries are place in the correct order. # commit f5ea110 ("xfs: add CRCs to dir2/da node blocks") left the # directory with incorrect hash ordering. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Hannes Frederic Sowa. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/340 b/tests/generic/340 index 2ba34eb5..628664a6 100755 --- a/tests/generic/340 +++ b/tests/generic/340 @@ -1,28 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 340 # # Test mmap writing races from racing threads # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/341 b/tests/generic/341 index 8102a617..77dba976 100755 --- a/tests/generic/341 +++ b/tests/generic/341 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 341 # # Test that if we rename a directory, create a new file or directory that has @@ -6,26 +9,6 @@ # directory, fsync the new inode, power fail and mount the filesystem, we see # our first directory with the new name and no files under it were lost. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/342 b/tests/generic/342 index ed64e059..d29d5d5d 100755 --- a/tests/generic/342 +++ b/tests/generic/342 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 342 # # Test that if we rename a file, create a new file that has the old name of the @@ -6,26 +9,6 @@ # power fail and mount the filesystem, we do not lose the first file and that # file has the name it was renamed to. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/343 b/tests/generic/343 index bbc57c41..e35488dd 100755 --- a/tests/generic/343 +++ b/tests/generic/343 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 343 # # Test that if we create a hard link for a file F in some directory A, then move @@ -6,26 +9,6 @@ # file F, power fail and mount the filesystem, the directory/file B is located # only at directory A and both links for file F exist. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/344 b/tests/generic/344 index 1c10a955..242996ce 100755 --- a/tests/generic/344 +++ b/tests/generic/344 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 344 # # Test races between mmap from racing threads when pages are prefaulted, # Test races between mmap and buffered writes when pages are prefaulted. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/345 b/tests/generic/345 index 780cf7c3..4b1e456a 100755 --- a/tests/generic/345 +++ b/tests/generic/345 @@ -1,28 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 345 # # Test races between mmap from racing processes with and without prefaulting. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/346 b/tests/generic/346 index 1ef7c82a..83ac7d89 100755 --- a/tests/generic/346 +++ b/tests/generic/346 @@ -1,28 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 346 # # Test races between mmap and normal writes from racing threads # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/347 b/tests/generic/347 index 3adc6744..cc6a9618 100755 --- a/tests/generic/347 +++ b/tests/generic/347 @@ -1,24 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. +# # FS QA Test No. generic/347 # # Test very basic thin device usage, exhaustion, and growth # -# 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/generic/348 b/tests/generic/348 index 3cf85659..630ff160 100755 --- a/tests/generic/348 +++ b/tests/generic/348 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 348 # # Test creating a symlink, fsync its parent directory, power fail and mount @@ -6,26 +9,6 @@ # content must match what we specified when we created it (must not be empty # or point to something else). # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/349 b/tests/generic/349 index ae9f8f68..f01f817d 100755 --- a/tests/generic/349 +++ b/tests/generic/349 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 349 # # Test fallocate(ZERO_RANGE) on a block device, which should be able to # WRITE SAME (or equivalent) the range. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/350 b/tests/generic/350 index 0a12e143..0aea4c09 100755 --- a/tests/generic/350 +++ b/tests/generic/350 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 350 # # Test fallocate(PUNCH_HOLE) on a block device, which should be able to # zero-TRIM (or equivalent) the range. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/351 b/tests/generic/351 index e87fc180..e326dca1 100755 --- a/tests/generic/351 +++ b/tests/generic/351 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 351 # # Test the unsupported fallocate flags on a block device. No collapse @@ -7,24 +10,6 @@ # with the logicalsector size, and make sure the fallbacks work for # devices that don't support write_same or discard. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/352 b/tests/generic/352 index 30eb43b7..5a96227e 100755 --- a/tests/generic/352 +++ b/tests/generic/352 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 352 # # Test fiemap ioctl on heavily deduped file @@ -7,24 +10,6 @@ # without problem and return correct SHARED flag. # Which btrfs will soft lock up and return wrong shared flag. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/353 b/tests/generic/353 index ddb9346d..59655e4b 100755 --- a/tests/generic/353 +++ b/tests/generic/353 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 353 # # Check if fiemap ioctl returns correct SHARED flag on reflinked file @@ -8,24 +11,6 @@ # already committed to disk, but not delayed extent tree modification. # This caused SHARED flag only occurs after sync. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/354 b/tests/generic/354 index ca20d7e6..b38845c8 100755 --- a/tests/generic/354 +++ b/tests/generic/354 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 354 # # Test races between private file mapping faults from racing processes or # threads # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/355 b/tests/generic/355 index 97e2320f..465c9e38 100755 --- a/tests/generic/355 +++ b/tests/generic/355 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc., All Rights Reserved. +# # FS QA Test 355 # # Test clear of suid/sgid on direct write. # -#----------------------------------------------------------------------- -# 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/generic/356 b/tests/generic/356 index b4a38f84..7319a26e 100755 --- a/tests/generic/356 +++ b/tests/generic/356 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 356 # # Check that we can't reflink a swapfile. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/357 b/tests/generic/357 index 9a83a283..ddda80d5 100755 --- a/tests/generic/357 +++ b/tests/generic/357 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 357 # # Check that we can't swapon a reflinked file. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/358 b/tests/generic/358 index d9c72451..e4b4ddad 100755 --- a/tests/generic/358 +++ b/tests/generic/358 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 358 # # Share an extent amongst a bunch of files such that the refcount @@ -7,24 +10,6 @@ # by 32 files. At block 1, change one of the owners. At block 2, # change 2 of the owners, and so on. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/359 b/tests/generic/359 index 475026dd..5a0ebac7 100755 --- a/tests/generic/359 +++ b/tests/generic/359 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 359 # # Make sure that the reference counting mechanism can handle the case @@ -9,24 +12,6 @@ # we handle the case where a refcount extent record doesn't coincide # exactly with the block mapping records. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/360 b/tests/generic/360 index cc5623f5..a9a4f2f9 100755 --- a/tests/generic/360 +++ b/tests/generic/360 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 360 # # Test symlink to very long path, check symlink file contains correct path. # -#----------------------------------------------------------------------- -# 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/generic/361 b/tests/generic/361 index cdd480f2..e28aaf46 100755 --- a/tests/generic/361 +++ b/tests/generic/361 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 361 # # Test remount on I/O errors. @@ -7,24 +10,6 @@ # the issue. # 5cb13dc cancel the setfilesize transation when io error happen # -#----------------------------------------------------------------------- -# 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/generic/362 b/tests/generic/362 index 91ffe0e9..a5eca3b9 100755 --- a/tests/generic/362 +++ b/tests/generic/362 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 362 # # RichACL apply-masks test # -#----------------------------------------------------------------------- -# 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/generic/363 b/tests/generic/363 index 4694b19e..72e81e34 100755 --- a/tests/generic/363 +++ b/tests/generic/363 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 363 # # RichACL auto-inheritance test # -#----------------------------------------------------------------------- -# 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/generic/364 b/tests/generic/364 index e56fccc3..6bed9ca2 100755 --- a/tests/generic/364 +++ b/tests/generic/364 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 364 # # RichACL basic test # -#----------------------------------------------------------------------- -# 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/generic/365 b/tests/generic/365 index 510e5e09..bf54ea26 100755 --- a/tests/generic/365 +++ b/tests/generic/365 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 365 # # RichACL chmod test # -#----------------------------------------------------------------------- -# 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/generic/366 b/tests/generic/366 index 3a9e4cb2..29a7eb8a 100755 --- a/tests/generic/366 +++ b/tests/generic/366 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 366 # # RichACL chown test # -#----------------------------------------------------------------------- -# 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/generic/367 b/tests/generic/367 index 018ff166..fd5e5b9d 100755 --- a/tests/generic/367 +++ b/tests/generic/367 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 367 # # RichACL create test # -#----------------------------------------------------------------------- -# 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/generic/368 b/tests/generic/368 index 8060f48e..410bbf19 100755 --- a/tests/generic/368 +++ b/tests/generic/368 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 368 # # RichACL ctime test # -#----------------------------------------------------------------------- -# 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/generic/369 b/tests/generic/369 index 7d11e147..e349f99e 100755 --- a/tests/generic/369 +++ b/tests/generic/369 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 369 # # RichACL delete test # -#----------------------------------------------------------------------- -# 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/generic/370 b/tests/generic/370 index 8827f5c6..f200a491 100755 --- a/tests/generic/370 +++ b/tests/generic/370 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 370 # # RichACL write-vs-append test # -#----------------------------------------------------------------------- -# 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/generic/371 b/tests/generic/371 index 7955856e..853aaac2 100755 --- a/tests/generic/371 +++ b/tests/generic/371 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 371 # # Run write(2) and fallocate(2) in parallel and the total needed data space # for these operations don't exceed whole fs free data space, to see whether # we will get any unexpected ENOSPC error. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/372 b/tests/generic/372 index 08c81a9d..44914453 100755 --- a/tests/generic/372 +++ b/tests/generic/372 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 372 # # Check that bmap/fiemap accurately report shared extents. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/373 b/tests/generic/373 index 339ed706..d36f6db7 100755 --- a/tests/generic/373 +++ b/tests/generic/373 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 373 # # Check that cross-mountpoint reflink doesn't work. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/374 b/tests/generic/374 index 5a24ec8f..b107c7c6 100755 --- a/tests/generic/374 +++ b/tests/generic/374 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 374 # # Check that cross-mountpoint dedupe doesn't work. # -#----------------------------------------------------------------------- -# 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-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/375 b/tests/generic/375 index 1d523e53..54b43452 100755 --- a/tests/generic/375 +++ b/tests/generic/375 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat. All Rights Reserved. +# # FS QA Test 375 # # Check if SGID is cleared upon chmod / setfacl when the owner is not in the # owning group. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Red Hat. All Rights Reserved. -# -# Author: Andreas gruenbacher -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/376 b/tests/generic/376 index ad32cba1..9e0b4da6 100755 --- a/tests/generic/376 +++ b/tests/generic/376 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 376 # # Test that if we rename a file, without changing its parent directory, create @@ -6,26 +9,6 @@ # against the file we renamed works correctly and after a power failure both # files exists. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/377 b/tests/generic/377 index 79b6416b..f7835ee8 100755 --- a/tests/generic/377 +++ b/tests/generic/377 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FSQA Test No. 377 # # Test listxattr syscall behaviour with different buffer sizes. # -#----------------------------------------------------------------------- -# 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, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see . -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/378 b/tests/generic/378 index 7f4d3061..393d1ce7 100755 --- a/tests/generic/378 +++ b/tests/generic/378 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 378 # # Simple permission check on hard links. @@ -9,24 +12,6 @@ # # 51f7e52 ovl: share inode for hard link # -#----------------------------------------------------------------------- -# 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/generic/379 b/tests/generic/379 index 408ade56..acba9ed3 100755 --- a/tests/generic/379 +++ b/tests/generic/379 @@ -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. 379 # # Check behavior of chown with both user and group quota enabled, # and changing both user and group together via chown(2). # -#----------------------------------------------------------------------- -# 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/generic/380 b/tests/generic/380 index 7d2e1d2b..13e19af1 100755 --- a/tests/generic/380 +++ b/tests/generic/380 @@ -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. 380 # # To test out pv#940675 crash in xfs_trans_brelse + quotas # Without the fix, this will create an ASSERT failure in debug kernels # and crash a non-debug kernel. # -#----------------------------------------------------------------------- -# 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/generic/381 b/tests/generic/381 index 006f0d87..5def9b1d 100755 --- a/tests/generic/381 +++ b/tests/generic/381 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 381 # # Test xfs_quota when user or names beginning with digits. # For example, create a 'limit' for a user or group named # '12345678-abcd', then query this user and group. # -#----------------------------------------------------------------------- -# 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/generic/382 b/tests/generic/382 index 33326ffa..50816f69 100755 --- a/tests/generic/382 +++ b/tests/generic/382 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 382 # # When default quota is set, all different quota types inherits the @@ -10,24 +13,6 @@ # # [PATCH] xfs: Split default quota limits by quota type V4 # -#----------------------------------------------------------------------- -# 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/generic/383 b/tests/generic/383 index 183221e5..2c8c5923 100755 --- a/tests/generic/383 +++ b/tests/generic/383 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Red Hat Inc. All Rights Reserved. +# # FS QA Test 383 # # Test xfs_quota when project names beginning with digits. # -#----------------------------------------------------------------------- -# 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/generic/384 b/tests/generic/384 index fd162b60..b7c940d7 100755 --- a/tests/generic/384 +++ b/tests/generic/384 @@ -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. 384 # # test to reproduce PV951636: # project quotas not updated if a file is mv'd into that directory # -#----------------------------------------------------------------------- -# 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/generic/385 b/tests/generic/385 index f07ae5d5..937131a9 100755 --- a/tests/generic/385 +++ b/tests/generic/385 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2008 Christoph Hellwig. +# # FS QA Test No. 385 # # Make sure renames accross project boundaries are properly rejected @@ -6,24 +9,6 @@ # # Based on a report and testcase from Arkadiusz Miskiewicz # -#----------------------------------------------------------------------- -# 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/generic/386 b/tests/generic/386 index 3aede60b..462c5869 100755 --- a/tests/generic/386 +++ b/tests/generic/386 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2011 SGI. All Rights Reserved. +# # FS QA Test No. 386 # # This test checks the project quota values reported by the quota @@ -8,24 +11,6 @@ # # SGI PV 1015651 # -#----------------------------------------------------------------------- -# 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/generic/387 b/tests/generic/387 index 267c5fb3..68a48012 100755 --- a/tests/generic/387 +++ b/tests/generic/387 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Fujitsu. All Rights Reserved. +# # FS QA Test 387 # # Create a heavily reflinked file, then check whether we can truncate # it correctly. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/388 b/tests/generic/388 index 863f0d89..db2e1996 100755 --- a/tests/generic/388 +++ b/tests/generic/388 @@ -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. 388 # # Test XFS log recovery ordering on v5 superblock filesystems. XFS had a problem @@ -11,24 +14,6 @@ # Ensure that log recovery does not recover stale modifications and cause # spurious corruption reports and/or mount failures. # -#----------------------------------------------------------------------- -# 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/generic/389 b/tests/generic/389 index 1b7bd770..4442611b 100755 --- a/tests/generic/389 +++ b/tests/generic/389 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 389 # # Test if O_TMPFILE files inherit POSIX Default ACLs when they are linked into # the namespace. # -#----------------------------------------------------------------------- -# 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/generic/390 b/tests/generic/390 index 3bc6de23..7715d084 100755 --- a/tests/generic/390 +++ b/tests/generic/390 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 999 # # Multi-threads freeze/unfreeze testing. This's a stress test case, # it won't do functional check. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/391 b/tests/generic/391 index 6da17814..a367dcaa 100755 --- a/tests/generic/391 +++ b/tests/generic/391 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Facebook. All Rights Reserved. +# # FS QA Test 391 # # Test two threads doing non-overlapping direct I/O in the same extents. # Motivated by a bug in Btrfs' direct I/O get_block function which would lead # to spurious -EEXIST failures from direct I/O reads. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/392 b/tests/generic/392 index 9d534138..5a67fb7d 100755 --- a/tests/generic/392 +++ b/tests/generic/392 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Jaegeuk Kim. All Rights Reserved. +# # FS QA Test 392 # # Test inode's metadata after fsync or fdatasync calls. # In the case of fsync, filesystem should recover all the inode metadata, while # recovering i_blocks and i_size at least for fdatasync. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Jaegeuk Kim. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/393 b/tests/generic/393 index 9db7cc42..a1ef841f 100755 --- a/tests/generic/393 +++ b/tests/generic/393 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2014 Jaegeuk Kim. All Rights Reserved. +# # FS QA Test No. generic/393 # # Test some small truncations to check inline_data and its cached data are @@ -13,24 +16,6 @@ # In ext4, up to 132 bytes of data can be stored in 256 bytes-sized inode. # In f2fs, up to 3.4KB of data can be embedded into 4KB-sized inode block. # -#----------------------------------------------------------------------- -# Copyright (c) 2014 Jaegeuk Kim. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/394 b/tests/generic/394 index ae9a7b43..dbaf8f17 100755 --- a/tests/generic/394 +++ b/tests/generic/394 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 394 # # Make sure fs honors file size resource limit. # -#----------------------------------------------------------------------- -# 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/generic/395 b/tests/generic/395 index 79d954e3..cae97cef 100755 --- a/tests/generic/395 +++ b/tests/generic/395 @@ -1,28 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Google, Inc. All Rights Reserved. +# # FS QA Test generic/395 # # Test setting and getting encryption policies. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/396 b/tests/generic/396 index fd392024..50c2c2e0 100755 --- a/tests/generic/396 +++ b/tests/generic/396 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Google, Inc. All Rights Reserved. +# # FS QA Test generic/396 # # Test that FS_IOC_SET_ENCRYPTION_POLICY correctly validates the fscrypt_policy # structure that userspace passes to it. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/397 b/tests/generic/397 index ba920891..c2f779a4 100755 --- a/tests/generic/397 +++ b/tests/generic/397 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Google, Inc. All Rights Reserved. +# # FS QA Test generic/397 # # Test accessing encrypted files and directories, both with and without the @@ -7,26 +10,6 @@ # need to run all the xfstests with encryption enabled. Access without the # encryption key, on the other hand, should result in some particular behaviors. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/398 b/tests/generic/398 index f283193b..58b54af0 100755 --- a/tests/generic/398 +++ b/tests/generic/398 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Google, Inc. All Rights Reserved. +# # FS QA Test generic/398 # # Filesystem encryption is designed to enforce that a consistent encryption @@ -8,26 +11,6 @@ # This does not test enforcement of this constraint on lookup, which is still # needed to detect offline changes. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/399 b/tests/generic/399 index 70896e43..5e55096f 100755 --- a/tests/generic/399 +++ b/tests/generic/399 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Google, Inc. All Rights Reserved. +# # FS QA Test generic/399 # # Check for weaknesses in filesystem encryption involving the same ciphertext @@ -13,26 +16,6 @@ # initialization vector reuse bug fixed in commit 02fc59a0d28f ("f2fs/crypto: # fix xts_tweak initialization"). # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/400 b/tests/generic/400 index 3ad30200..055ca2db 100755 --- a/tests/generic/400 +++ b/tests/generic/400 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 400 # # test out high quota ids retrieved by Q_GETNEXTQUOTA @@ -6,24 +9,6 @@ # # Designed to use the new Q_GETNEXTQUOTA quotactl # -#----------------------------------------------------------------------- -# 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/generic/401 b/tests/generic/401 index 34ce76e6..1eb3d4a9 100755 --- a/tests/generic/401 +++ b/tests/generic/401 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2016 CTERA Networks. All Rights Reserved. +# # FSQA Test No. 401 # # Test filetype feature @@ -12,26 +15,6 @@ # For fs for which we know how to test the filetype feature (xfs|ext*) # verify getting DT_UNKNOWN IFF feature is disabled. # -#----------------------------------------------------------------------- -# -# 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/generic/402 b/tests/generic/402 index c378072c..f742fedd 100755 --- a/tests/generic/402 +++ b/tests/generic/402 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Deepa Dinamani. All Rights Reserved. +# # FS QA Test 402 # # Tests to verify policy for filesystem timestamps for @@ -11,24 +14,6 @@ # Exit status 1: either or both tests above fail. # Exit status 0: both the above tests pass. # -#----------------------------------------------------------------------- -# Copyright (c) 2016 Deepa Dinamani. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/403 b/tests/generic/403 index d6706d3d..9309d713 100755 --- a/tests/generic/403 +++ b/tests/generic/403 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red hat, Inc. All Rights Reserved. +# # FS QA Test 403 # # Test racing getxattr requests against large xattr add and remove loop. This # reproduces a bug on XFS where a getxattr of an existing attribute spuriously # returned failure due to races with attribute fork conversion. # -#----------------------------------------------------------------------- -# 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/generic/404 b/tests/generic/404 index c00864e2..14decdb7 100755 --- a/tests/generic/404 +++ b/tests/generic/404 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Roman Penyaev. All Rights Reserved. +# # FS QA Test 404 # # Regression test which targets two nasty ext4 bugs in a logic which @@ -41,24 +44,6 @@ # writes unique block content and checks md5sum of a result file after # each block insert. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Roman Penyaev. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/405 b/tests/generic/405 index 01eb5ff9..d2ea48b5 100755 --- a/tests/generic/405 +++ b/tests/generic/405 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 405 # # Test mkfs against thin provision device, which has very small backing size, # mkfs should return error when it hits 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/generic/406 b/tests/generic/406 index 88ab0dad..cff4bd3c 100755 --- a/tests/generic/406 +++ b/tests/generic/406 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Liu Bo. All Rights Reserved. +# # FS QA Test generic/406 # # If a larger dio write (size >= 128M) got splitted, the assertion in endio @@ -7,24 +10,6 @@ # Regression test for # Btrfs: adjust outstanding_extents counter properly when dio write is split # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Liu Bo. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/407 b/tests/generic/407 index 1103d401..3296dd3d 100755 --- a/tests/generic/407 +++ b/tests/generic/407 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 407 # # Verify that mtime is updated when cloning files # -#----------------------------------------------------------------------- -# -# Copyright (c) 2017 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/generic/408 b/tests/generic/408 index dd78de57..96ee81e1 100755 --- a/tests/generic/408 +++ b/tests/generic/408 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Christoph Hellwig. All Rights Reserved. +# # FS QA Test No. 408 # # Verify that mtime is not updated when deduping files. # -#----------------------------------------------------------------------- -# -# Copyright (c) 2017 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/generic/409 b/tests/generic/409 index 3ad65c91..5d0852e1 100755 --- a/tests/generic/409 +++ b/tests/generic/409 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 409 # # Test mount shared subtrees, verify the bind semantics: @@ -16,24 +19,6 @@ # |non-shared| shared | private | slave | invalid | # *************************************************************************** # -#----------------------------------------------------------------------- -# 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/generic/410 b/tests/generic/410 index 63ab7162..8cfb2345 100755 --- a/tests/generic/410 +++ b/tests/generic/410 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 410 # # Test mount shared subtrees, verify the state transition when use: @@ -24,24 +27,6 @@ # |unbindable |shared |**unbindable | private | unbindable | # ------------------------------------------------------------------------ # -#----------------------------------------------------------------------- -# 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/generic/411 b/tests/generic/411 index 83f6d261..769d5aef 100755 --- a/tests/generic/411 +++ b/tests/generic/411 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2016 Red Hat Inc. All Rights Reserved. +# # FS QA Test 411 # # This test cover linux commit 7ae8fd0, kernel two mnt_group_id == 0 # (no peer)vfsmount as peers. It case kernel dereference a NULL # address. # -#----------------------------------------------------------------------- -# 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/generic/412 b/tests/generic/412 index 47c9a22e..8fae0bac 100755 --- a/tests/generic/412 +++ b/tests/generic/412 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 412 # # Test that if we have a file with a hole, do a mix of direct IO and buffered @@ -6,26 +9,6 @@ # hole, after unmounting and mounting again the filesystem, the file has a # correct size and no data loss happened. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/413 b/tests/generic/413 index a1cc5144..1f0dbba6 100755 --- a/tests/generic/413 +++ b/tests/generic/413 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 413 # # mmap direct/buffered io between DAX and non-DAX mountpoints. # -#----------------------------------------------------------------------- -# 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/generic/414 b/tests/generic/414 index 6f2136ee..7c76d580 100755 --- a/tests/generic/414 +++ b/tests/generic/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 # # Check that reflinking adjacent blocks in a file produces a single # block mapping extent. # -#----------------------------------------------------------------------- -# 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/generic/415 b/tests/generic/415 index c9675849..14fbc232 100755 --- a/tests/generic/415 +++ b/tests/generic/415 @@ -1,27 +1,12 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Plexistor Ltd. All Rights Reserved. +# # FS QA Test No. 415 # # test for races between write or fpunch operations on reflinked files # to read operations on the target file # -#----------------------------------------------------------------------- -# -# Copyright (c) 2017 Plexistor 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/generic/416 b/tests/generic/416 index 7c6ced75..448dff19 100755 --- a/tests/generic/416 +++ b/tests/generic/416 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Fujitsu. All Rights Reserved. +# # FS QA Test 416 # # Test fs behavior when large write request can't be met by one single extent @@ -6,24 +9,6 @@ # Inspired by a bug in a btrfs fix, which doesn't get exposed by current test # cases # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Fujitsu. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/417 b/tests/generic/417 index e66e0aeb..b07c8611 100755 --- a/tests/generic/417 +++ b/tests/generic/417 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 417 # # Test orphan inode / unlinked list processing on RO mount & RW transition @@ -6,24 +9,6 @@ # A filesystem that crashes with open but unlinked inodes should # be consistent after a ro, ro->rw, or rw mount cycle. # -#----------------------------------------------------------------------- -# 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/generic/418 b/tests/generic/418 index 1fa782ea..6fdae080 100755 --- a/tests/generic/418 +++ b/tests/generic/418 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 418 # # Test pagecache invalidation in buffer/direct write/read combination. @@ -11,24 +14,6 @@ # Regression test for commit c771c14baa33 ("iomap: invalidate page caches # should be after iomap_dio_complete() in direct write") # -#----------------------------------------------------------------------- -# 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/generic/419 b/tests/generic/419 index 254ffe6e..1014764c 100755 --- a/tests/generic/419 +++ b/tests/generic/419 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test generic/419 # # Try to rename files in an encrypted directory, without access to the @@ -7,26 +10,6 @@ # 173b8439e1ba ("ext4: don't allow encrypted operations without keys") # 363fa4e078cb ("f2fs: don't allow encrypted operations without keys") # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/420 b/tests/generic/420 index aab2e088..db14c332 100755 --- a/tests/generic/420 +++ b/tests/generic/420 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Calvin Owens. All Rights Reserved. +# # FS QA Test 420 # # Verify fallocate(mode=FALLOC_FL_KEEP_SIZE|FALLOC_FL_PUNCH_HOLE) does # not alter the file size. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Calvin Owens. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/421 b/tests/generic/421 index 9ab48d47..415e14b5 100755 --- a/tests/generic/421 +++ b/tests/generic/421 @@ -1,30 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test generic/421 # # Test revoking an encryption key during concurrent I/O. Regression test for # 1b53cf9815bb ("fscrypt: remove broken support for detecting keyring key # revocation"). # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/422 b/tests/generic/422 index bc00d8f7..90c88fa8 100755 --- a/tests/generic/422 +++ b/tests/generic/422 @@ -1,30 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. generic/422 # # Test that a filesystem's implementation of the stat(2) system call reports # correct values for the number of blocks allocated for a file when there are # delayed allocations. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/423 b/tests/generic/423 index 312a0c1e..b61d5de0 100755 --- a/tests/generic/423 +++ b/tests/generic/423 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 423 # # Test the statx system call # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. -# Written by David Howells (dhowells@redhat.com) -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/424 b/tests/generic/424 index 3653a31b..ec1b0035 100755 --- a/tests/generic/424 +++ b/tests/generic/424 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 424 # # Test the statx stx_attribute flags that can be set with chattr # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. -# Written by David Howells (dhowells@redhat.com) -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/425 b/tests/generic/425 index 800afc59..0658f9c7 100755 --- a/tests/generic/425 +++ b/tests/generic/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 # # Check that FIEMAP produces some output when we require an external # block to hold extended attributes. # -#----------------------------------------------------------------------- -# 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/generic/426 b/tests/generic/426 index 17639bb1..7d47b299 100755 --- a/tests/generic/426 +++ b/tests/generic/426 @@ -1,28 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 426 # # Check stale handles pointing to unlinked files # and non-stale handles pointing to linked files # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/427 b/tests/generic/427 index 9cde5f50..e8ebffe1 100755 --- a/tests/generic/427 +++ b/tests/generic/427 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 427 # # Try to trigger a race of free eofblocks and file extending dio writes. # A known bug of XFS has been fixed by "e4229d6 xfs: fix eofblocks race # with file extending async dio writes" # -#----------------------------------------------------------------------- -# 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/generic/428 b/tests/generic/428 index 909476fe..06c996a6 100755 --- a/tests/generic/428 +++ b/tests/generic/428 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Intel Corporation. All Rights Reserved. +# # FS QA Test 428 # # This is a regression test for kernel patch: # dax: fix data corruption due to stale mmap reads # created by Ross Zwisler # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Intel Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/429 b/tests/generic/429 index 28f75c52..5f5b056a 100755 --- a/tests/generic/429 +++ b/tests/generic/429 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 429 # # Test that encrypted dentries are revalidated after adding a key. @@ -16,26 +19,6 @@ # well, though we don't test for it because it's very difficult to reproduce: # 3d43bcfef5f0 ("ext4 crypto: use dget_parent() in ext4_d_revalidate()") # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/430 b/tests/generic/430 index 5d6b8d6c..1b11f60d 100755 --- a/tests/generic/430 +++ b/tests/generic/430 @@ -1,4 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# # FS QA Test No. 430 # # Tests vfs_copy_file_range(): @@ -7,24 +10,6 @@ # - Copy middle of original to a new file # - Copy end of original to new file # - Copy middle of original to a new file, creating a hole -#----------------------------------------------------------------------- -# Copyright (c) 2017 Netapp, Inc. All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/431 b/tests/generic/431 index ac17627e..f04ae215 100755 --- a/tests/generic/431 +++ b/tests/generic/431 @@ -1,27 +1,12 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# # FS QA Test No. 431 # # Tests vfs_copy_file_range(): # - Copy a small file # - Small copies from various points in the original file -#----------------------------------------------------------------------- -# Copyright (c) 2017 Netapp, Inc. All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/432 b/tests/generic/432 index 162af22a..6200af86 100755 --- a/tests/generic/432 +++ b/tests/generic/432 @@ -1,4 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# # FS QA Test No. 432 # # Tests vfs_copy_file_range(): @@ -6,24 +9,6 @@ # - Use copy to swap data at beginning and end # - Use copy to swap data in the middle # - Use copy to simultaneously overwrite and append to destination file -#----------------------------------------------------------------------- -# Copyright (c) 2017 Netapp, Inc. All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/433 b/tests/generic/433 index 13f632f7..1238419a 100755 --- a/tests/generic/433 +++ b/tests/generic/433 @@ -1,4 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# # FS QA Test No. 433 # # Tests vfs_copy_file_range(): @@ -6,24 +9,6 @@ # - Use copy to swap data at beginning and end # - Use copy to swap data in the middle # - Use copy to swap data in a small file -#----------------------------------------------------------------------- -# Copyright (c) 2017 Netapp, Inc. All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/434 b/tests/generic/434 index 5b20fc5c..032f933d 100755 --- a/tests/generic/434 +++ b/tests/generic/434 @@ -1,25 +1,10 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Netapp, Inc. All rights reserved. +# # FS QA Test No. 434 # # Tests vfs_copy_file_range() error checking -#----------------------------------------------------------------------- -# Copyright (c) 2017 Netapp, Inc. All rights reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/435 b/tests/generic/435 index 9b3456d7..baed1bdc 100755 --- a/tests/generic/435 +++ b/tests/generic/435 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 435 # # Test that without the encryption key for a directory, long filenames are @@ -12,26 +15,6 @@ # Even with these two fixes it's still possible to create intentional # collisions. For now this test covers "accidental" collisions only. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/436 b/tests/generic/436 index 6cda008b..3ed22c96 100755 --- a/tests/generic/436 +++ b/tests/generic/436 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 SUSE. All Rights Reserved. +# # FS QA Test No. 436 # # More SEEK_DATA/SEEK_HOLE sanity tests. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 SUSE. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/437 b/tests/generic/437 index 501a55bc..0df382be 100755 --- a/tests/generic/437 +++ b/tests/generic/437 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Intel Corporation. All Rights Reserved. +# # FS QA Test 437 # # This is a regression test for kernel patches: @@ -6,24 +9,6 @@ # dax: Fix race between colliding PMD & PTE entries # created by Ross Zwisler # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Intel Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/438 b/tests/generic/438 index ff9c508a..d183210e 100755 --- a/tests/generic/438 +++ b/tests/generic/438 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 SUSE. All Rights Reserved. +# # FS QA Test 438 # # This is a regression test for kernel patch @@ -10,24 +13,6 @@ # # Based on test program by Michael Zimmer # -#----------------------------------------------------------------------- -# Copyright (c) 2017 SUSE. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/439 b/tests/generic/439 index 956053fd..9cec194d 100755 --- a/tests/generic/439 +++ b/tests/generic/439 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. generic/439 # # Test that if we punch a hole in a file, with either a range that goes beyond @@ -7,26 +10,6 @@ # hole, no warnings are emmitted in syslog/dmesg and the file's content is # correct after remounting the filesystem. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2017 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/440 b/tests/generic/440 index d07f61dd..5013f276 100755 --- a/tests/generic/440 +++ b/tests/generic/440 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 440 # # Test that when the filesystem tries to enforce that all files in a directory @@ -8,26 +11,6 @@ # from the keyring. Regression test for: # 272f98f68462 ("fscrypt: fix context consistency check when key(s) unavailable") # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/441 b/tests/generic/441 index 5fbfecec..9d5d1261 100755 --- a/tests/generic/441 +++ b/tests/generic/441 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Jeff Layton +# # FS QA Test No. 441 # # Open a file several times, write to it, fsync on all fds and make sure that @@ -6,23 +9,6 @@ # on all fds and fsync on all fds. Ensure that we get errors on all of them. # Then fsync on all one last time and verify that all return 0. # -#----------------------------------------------------------------------- -# Copyright (c) 2017, Jeff Layton -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/442 b/tests/generic/442 index 989e7e9b..fe6d4608 100755 --- a/tests/generic/442 +++ b/tests/generic/442 @@ -1,26 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Jeff Layton +# # FS QA Test No. 442 # # Test writeback error handling when writing to block devices via pagecache. # See src/fsync-err.c for details of what test actually does. # -#----------------------------------------------------------------------- -# Copyright (c) 2017, Jeff Layton -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/443 b/tests/generic/443 index 2a3e917b..37a909e3 100755 --- a/tests/generic/443 +++ b/tests/generic/443 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 443 # # Takes page fault while writev is iterating over the vectors in the IOV # -#----------------------------------------------------------------------- -# 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/generic/444 b/tests/generic/444 index ebafeb44..bd212501 100755 --- a/tests/generic/444 +++ b/tests/generic/444 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 SUSE Linux. All Rights Reserved. +# # FS QA Test 444 # # Check if SGID is inherited when creating a subdirectory when the owner is not # in the owning group and directory has default ACLs. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 SUSE Linux. All Rights Reserved. -# -# Author: Jan Kara -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/445 b/tests/generic/445 index 323a0ca8..e697cca0 100755 --- a/tests/generic/445 +++ b/tests/generic/445 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 445 # # Another SEEK_DATA/SEEK_HOLE sanity test. # -#----------------------------------------------------------------------- -# 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/generic/446 b/tests/generic/446 index 52219dac..545898df 100755 --- a/tests/generic/446 +++ b/tests/generic/446 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Fujitsu. All Rights Reserved. +# # FS QA Test No. 446 # # Regression test for commit: @@ -8,24 +11,6 @@ # mapped write to a hole in a file. On xfs filesystem, it # will trigger a BUG_ON(). # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Fujitsu. All Rights Reserved. -# Author: Xiao Yang -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/447 b/tests/generic/447 index 85b7afef..3775e49f 100755 --- a/tests/generic/447 +++ b/tests/generic/447 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 447 # # See how well we handle deleting a file with a million refcount extents. # -#----------------------------------------------------------------------- -# 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/generic/448 b/tests/generic/448 index 22656f6c..d3ec5528 100755 --- a/tests/generic/448 +++ b/tests/generic/448 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 448 # # Check what happens when SEEK_HOLE/SEEK_DATA are fed negative offsets. # -#----------------------------------------------------------------------- -# 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/generic/449 b/tests/generic/449 index 2326a731..88f91865 100755 --- a/tests/generic/449 +++ b/tests/generic/449 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Ernesto A. Fernandez. All Rights Reserved. +# # FS QA Test 449 # # Fill the device and set as many extended attributes to a file as # possible. Then call setfacl on it and, if this fails for lack of # space, test that the permissions remain the same. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Ernesto A. Fernandez. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/450 b/tests/generic/450 index a430b85b..53ea1784 100755 --- a/tests/generic/450 +++ b/tests/generic/450 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 450 # # Test read around EOF. If the file offset is at or past the end of file, @@ -11,24 +14,6 @@ # 2d4594acbf6d fix the regression from "direct-io: Fix negative return # from dio read beyond eof" # -#----------------------------------------------------------------------- -# 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/generic/451 b/tests/generic/451 index f7f15b02..b9a06ac3 100755 --- a/tests/generic/451 +++ b/tests/generic/451 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 451 # # Test data integrity when mixing buffered reads and asynchronous # direct writes a file. # -#----------------------------------------------------------------------- -# 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/generic/452 b/tests/generic/452 index c9eaa887..1e38b612 100755 --- a/tests/generic/452 +++ b/tests/generic/452 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Intel Corporation. All Rights Reserved. +# # FS QA Test 452 # # This is a regression test for kernel patch: # commit 42d4a99b09cb ("ext4: fix fault handling when mounted with -o dax,ro") # created by Ross Zwisler # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Intel Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/453 b/tests/generic/453 index 8841f581..2396d62c 100755 --- a/tests/generic/453 +++ b/tests/generic/453 @@ -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. 453 # # Create a directory with multiple filenames that all appear the same @@ -6,23 +9,6 @@ # Linux filesystems should allow this (filenames are a sequence of # arbitrary bytes) even if the user implications are horrifying. # -#----------------------------------------------------------------------- -# 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/generic/454 b/tests/generic/454 index fdb5ef87..d9faf366 100755 --- a/tests/generic/454 +++ b/tests/generic/454 @@ -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. 454 # # Create xattrs with multiple keys that all appear the same @@ -6,23 +9,6 @@ # Linux filesystems should allow this (filenames are a sequence of # arbitrary bytes) even if the user implications are horrifying. # -#----------------------------------------------------------------------- -# 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/generic/455 b/tests/generic/455 index b1ab7f15..6a87b99b 100755 --- a/tests/generic/455 +++ b/tests/generic/455 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2015 Facebook. All Rights Reserved. +# # FS QA Test No. 455 # # Run fsx with log writes to verify power fail safeness. # -#----------------------------------------------------------------------- -# Copyright (c) 2015 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/456 b/tests/generic/456 index ed3cacc2..6124f0bb 100755 --- a/tests/generic/456 +++ b/tests/generic/456 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 456 # # This test is motivated by a bug found in ext4 during random crash @@ -7,25 +10,6 @@ # Fixed by commit 51e3ae81ec58 ("ext4: fix interaction between i_size, # fallocate, and delalloc after a crash") # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/457 b/tests/generic/457 index d4cc7c17..c4c0ca45 100755 --- a/tests/generic/457 +++ b/tests/generic/457 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 457 # # Run fsx with log writes on cloned files to verify power fail safeness. # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/458 b/tests/generic/458 index 730561fe..2353e7ab 100755 --- a/tests/generic/458 +++ b/tests/generic/458 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 458 # # Regression test for xfs leftover CoW extents after truncate @@ -7,25 +10,6 @@ # Fixed by commit 3af423b03435 ("xfs: evict CoW fork extents when performing # finsert/fcollapse") # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/459 b/tests/generic/459 index 22b8e626..aee71a0f 100755 --- a/tests/generic/459 +++ b/tests/generic/459 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 459 # # Test buffer filesystem error recovery during a full overcommited dm-thin device. @@ -15,24 +18,6 @@ # # This test might hang the filesystem when ran on an unpatched 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/generic/460 b/tests/generic/460 index c1ce9560..0e7d941b 100755 --- a/tests/generic/460 +++ b/tests/generic/460 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 460 # # Test that XFS reserves reasonable indirect blocks for delalloc and @@ -11,24 +14,6 @@ # This was only seen on XFS with rmapbt feature enabled, but nothing prevents # the test from being a generic test. # -#----------------------------------------------------------------------- -# 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/generic/461 b/tests/generic/461 index 50b9c6d4..0a2d34c7 100755 --- a/tests/generic/461 +++ b/tests/generic/461 @@ -1,29 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. +# Copyright (c) 2017 Google, Inc. All Rights Reserved. +# # FS QA Test No. 461 # # Shutdown stress test - exercise shutdown codepath with fsstress, # make sure we don't BUG/WARN. Coverage for all fs with shutdown. # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Red Hat, Inc. All Rights Reserved. -# Copyright (c) 2017 Google, Inc. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/462 b/tests/generic/462 index a5d6c4f8..c117f1b6 100755 --- a/tests/generic/462 +++ b/tests/generic/462 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat. All Rights Reserved. +# # FS QA Test 462 # # This is a regression test for kernel commit @@ -8,24 +11,6 @@ # This is reproducible only when testing on pmem device # which is configured in "memory mode", not in "raw mode". # -#----------------------------------------------------------------------- -# Copyright (c) 2017 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/generic/463 b/tests/generic/463 index 4797bbe6..b287b80f 100755 --- a/tests/generic/463 +++ b/tests/generic/463 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Christoph Hellwig. All Rights Reserved. +# # FS QA Test 463 # # Test racy COW AIO write completions. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 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/generic/464 b/tests/generic/464 index 4e677cbc..a110e931 100755 --- a/tests/generic/464 +++ b/tests/generic/464 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test 464 # # Run delalloc writes & append writes & non-data-integrity syncs concurrently # to test the race between block map change vs writeback. # -#----------------------------------------------------------------------- -# 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/generic/465 b/tests/generic/465 index dc10af98..1fbf23e9 100755 --- a/tests/generic/465 +++ b/tests/generic/465 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2013 Alibaba Group. All Rights Reserved. +# Copyright (c) 2017 Red Hat Inc. All Rights Reserved. +# # FS QA Test No. 465 # # Test i_size is updated properly under dio read/write # -#----------------------------------------------------------------------- -# Copyright (c) 2013 Alibaba Group. All Rights Reserved. -# 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/generic/466 b/tests/generic/466 index 341f0722..bc577df7 100755 --- a/tests/generic/466 +++ b/tests/generic/466 @@ -1,25 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, Oracle and/or its affiliates. All Rights Reserved. +# # FS QA Test No. 466 # # Check that high-offset reads and writes work. # -#----------------------------------------------------------------------- -# 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/generic/467 b/tests/generic/467 index 56dfcbd3..b868bace 100755 --- a/tests/generic/467 +++ b/tests/generic/467 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2017 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 467 # # Check open by file handle. @@ -9,25 +12,6 @@ # - open by file handle of unlinked open files # - open by file handle of renamed files # -#----------------------------------------------------------------------- -# Copyright (C) 2017 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/468 b/tests/generic/468 index 30c41744..2a4135f1 100755 --- a/tests/generic/468 +++ b/tests/generic/468 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Huawei. All Rights Reserved. +# # FS QA Test 468 # # This testcase is a fallocate variant of generic/392, it expands to test @@ -14,25 +17,6 @@ # recovering i_blocks and i_size at least for fdatasync, so this testcase excepts # that inode metadata will be unchanged after recovery. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Huawei. All Rights Reserved. -# Author: Chao Yu -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/469 b/tests/generic/469 index ab0969a9..47fdf0cf 100755 --- a/tests/generic/469 +++ b/tests/generic/469 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Red Hat Inc., All Rights Reserved. +# # FS QA Test 469 # # Test that mmap read doesn't see non-zero data past EOF on truncate down. @@ -10,24 +13,6 @@ # Patch "xfs: truncate pagecache before writeback in xfs_setattr_size()" fixed # the bug on 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/generic/470 b/tests/generic/470 index bda0557a..a970aa80 100755 --- a/tests/generic/470 +++ b/tests/generic/470 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Intel Corporation. All Rights Reserved. +# # FS QA Test No. 470 # # Use dm-log-writes to verify that MAP_SYNC actually syncs metadata during # page faults. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Intel Corporation. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/471 b/tests/generic/471 index 3969a494..7513f023 100755 --- a/tests/generic/471 +++ b/tests/generic/471 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017, SUSE Linux Products. All Rights Reserved. +# # FS QA Test No. 471 # # write a file with RWF_NOWAIT and it would fail because there are no @@ -6,23 +9,6 @@ # using RWF_NOWAIT. I/O should finish within 50 microsecods since # block allocations are already performed. # -#----------------------------------------------------------------------- -# Copyright (c) 2017, SUSE Linux Products. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/472 b/tests/generic/472 index 9cc29043..c74d6c70 100755 --- a/tests/generic/472 +++ b/tests/generic/472 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle. All Rights Reserved. +# # FS QA Test No. 472 # # Test various swapfile activation oddities. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/473 b/tests/generic/473 index bf505434..c28f4c8c 100755 --- a/tests/generic/473 +++ b/tests/generic/473 @@ -1,29 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test No. 473 # # Test for the new ranged query functionality in xfs_io's fiemap command. # This tests various combinations of hole + data layout being printed. # Also the test used 16k holes to be compatible with 16k block filesystems # -#----------------------------------------------------------------------- -# Copyright (c) 2017 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Nikolay Borisov -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/474 b/tests/generic/474 index 39a1bd68..12157a39 100755 --- a/tests/generic/474 +++ b/tests/generic/474 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Chengguang Xu +# # FS QA Test 474 # # Inspired by syncfs bug of overlayfs which does not sync dirty inodes in @@ -10,25 +13,6 @@ # Test will be skipped if filesystem(or underlying filesystem of overlayfs) # does not support shutdown. # -#----------------------------------------------------------------------- -# Copyright (c) 2017 Chengguang Xu -# All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/475 b/tests/generic/475 index 45072278..f668da2f 100755 --- a/tests/generic/475 +++ b/tests/generic/475 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 475 # # Test log recovery with repeated (simulated) disk failures. We kick @@ -8,24 +11,6 @@ # is a Good Enough (tm) simulation of our internal multipath failure # testing efforts. # -#----------------------------------------------------------------------- -# 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/generic/476 b/tests/generic/476 index 266839c8..55371503 100755 --- a/tests/generic/476 +++ b/tests/generic/476 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2017 Oracle, Inc. All Rights Reserved. +# # FS QA Test No. 476 # # Run an all-writes fsstress run with multiple threads to shake out # bugs in the write path. # -#----------------------------------------------------------------------- -# 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/generic/477 b/tests/generic/477 index 581ccda8..2e26a024 100755 --- a/tests/generic/477 +++ b/tests/generic/477 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 477 # # Check open by file handle after cycle mount. @@ -6,25 +9,6 @@ # This test uses load and store of file handles from a temp file to test # decoding file handles after cycle mount and after directory renames. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/478 b/tests/generic/478 index 6d5da8d4..92dacdc5 100755 --- a/tests/generic/478 +++ b/tests/generic/478 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Red Hat Inc. All Rights Reserved. +# # FS QA Test 478 # # Test OFD lock. fcntl F_OFD_SETLK to set lock, then F_OFD_GETLK @@ -80,24 +83,6 @@ # + clone with CLONE_FILES or not # + dup and close newfd # -#----------------------------------------------------------------------- -# 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/generic/479 b/tests/generic/479 index 7e4ba7d0..ad20aaee 100755 --- a/tests/generic/479 +++ b/tests/generic/479 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 479 # # Test that when a fsync journal/log exists, if we rename a special file (fifo, @@ -6,26 +9,6 @@ # commit the journal/log, if a power loss happens the filesystem will not fail # to replay the journal/log when it is mounted the next time. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/480 b/tests/generic/480 index a287684b..ba2c34ad 100755 --- a/tests/generic/480 +++ b/tests/generic/480 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 480 # # Test that if we have a file with two hard links in the same parent directory, @@ -6,26 +9,6 @@ # with the name of the link removed, fsync the new file and have a power loss, # mounting the filesystem succeeds. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/481 b/tests/generic/481 index 797161ab..03592e09 100755 --- a/tests/generic/481 +++ b/tests/generic/481 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 Oracle. All Rights Reserved. +# # FSQA Test No. 481 # # Reproduce a regression of btrfs that leads to -EEXIST on creating new files @@ -7,26 +10,6 @@ # The kernel fix is # Btrfs: fix unexpected -EEXIST when creating new inode # -#----------------------------------------------------------------------- -# -# Copyright (C) 2018 Oracle. All Rights Reserved. -# Author: Bo Liu -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/482 b/tests/generic/482 index 1fc26366..7595aa59 100755 --- a/tests/generic/482 +++ b/tests/generic/482 @@ -1,28 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 SUSE Linux Products GmbH. All Rights Reserved. +# # FS QA Test 482 # # Test filesystem consistency after each FUA operation # # Will do log replay and check the filesystem. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 SUSE Linux Products GmbH. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/483 b/tests/generic/483 index becb797b..99a4b6a4 100755 --- a/tests/generic/483 +++ b/tests/generic/483 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 483 # # Test that fsync operations preserve extents allocated with fallocate(2) that # are placed beyond a file's size. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/484 b/tests/generic/484 index cb55414d..d83380ac 100755 --- a/tests/generic/484 +++ b/tests/generic/484 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Red Hat Inc. All Rights Reserved. +# # FS QA Test 484 # # POSIX requires that record locks are preserved across an execve(2). But @@ -8,24 +11,6 @@ # Fixed by patch from Jeff Layton: # locks: change POSIX lock ownership on execve when files_struct is displaced # -#----------------------------------------------------------------------- -# 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/generic/485 b/tests/generic/485 index 5ee9f8c3..e88ac2e4 100755 --- a/tests/generic/485 +++ b/tests/generic/485 @@ -1,27 +1,13 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Google, Inc. All Rights Reserved. +# # FS QA Test No. 485 # # Regression test for: # 349fa7d6e193 ("ext4: prevent right-shifting extents beyond EXT_MAX_BLOCKS") # 7d83fb14258b ("xfs: prevent creating negative-sized file via INSERT_RANGE") # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/generic/486 b/tests/generic/486 index f67cca9f..ff115a07 100755 --- a/tests/generic/486 +++ b/tests/generic/486 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle. All Rights Reserved. +# # FS QA Test No. 486 # # Ensure that we can XATTR_REPLACE a tiny attr into a large attr. @@ -10,24 +13,6 @@ # Commit 7b38460dc8e4 ("xfs: don't fail when converting shortform attr to long # form during ATTR_REPLACE") fixed the xfs bug. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/487 b/tests/generic/487 index 5a384221..8952284c 100755 --- a/tests/generic/487 +++ b/tests/generic/487 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018, Jeff Layton +# # FS QA Test No. 487 # # Open a file several times, write to it, fsync on all fds and make sure that @@ -6,23 +9,6 @@ # on all fds and fsync on all fds. Ensure that we get errors on all of them. # Then fsync on all one last time and verify that all return 0. # -#----------------------------------------------------------------------- -# Copyright (c) 2018, Jeff Layton -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/488 b/tests/generic/488 index 225fbb40..a73b6382 100755 --- a/tests/generic/488 +++ b/tests/generic/488 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Omar Sandoval. All Rights Reserved. +# # FS QA Test 488 # # Test having many file descriptors referring to deleted files open. Regression # test for patch "Btrfs: fix ENOSPC caused by orphan items reservations". # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Omar Sandoval. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/489 b/tests/generic/489 index e15335e8..1d3a916e 100755 --- a/tests/generic/489 +++ b/tests/generic/489 @@ -1,29 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. +# # FSQA Test No. 489 # # Test that xattrs are not lost after calling fsync multiple times with a # filesystem commit in between the fsync calls. # -#----------------------------------------------------------------------- -# -# Copyright (C) 2018 SUSE Linux Products GmbH. All Rights Reserved. -# Author: Filipe Manana -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/490 b/tests/generic/490 index abb83837..330c2b60 100755 --- a/tests/generic/490 +++ b/tests/generic/490 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 SUSE. All Rights Reserved. +# # FS QA Test No. 490 # # Check that SEEK_DATA works properly for offsets in the middle of large holes. @@ -6,24 +9,6 @@ # for that. The problem has been fixed by commit 2ee3ee06a8fd79 "ext4: fix hole # length detection in ext4_ind_map_blocks()" # -#----------------------------------------------------------------------- -# Copyright (c) 2018 SUSE. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/491 b/tests/generic/491 index 57f02459..6b214288 100755 --- a/tests/generic/491 +++ b/tests/generic/491 @@ -1,4 +1,7 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2018 CTERA Networks. All Rights Reserved. +# # FS QA Test No. 491 # # Test first read with freeze right after mount. @@ -6,25 +9,6 @@ # With ext4, this leads to freeze proection bypass WARN_ON in # ext4_journal_check_start. # -#----------------------------------------------------------------------- -# Copyright (C) 2018 CTERA Networks. All Rights Reserved. -# Author: Amir Goldstein -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/492 b/tests/generic/492 index 2dba0c86..2f6b0fe0 100755 --- a/tests/generic/492 +++ b/tests/generic/492 @@ -1,27 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Red Hat, Inc. All Rights Reserved. +# # FS QA Test 492 # # Test the online filesystem label set/get ioctls # -#----------------------------------------------------------------------- -# Copyright (c) 2018 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/generic/493 b/tests/generic/493 index 7351ced4..d15aa5fc 100755 --- a/tests/generic/493 +++ b/tests/generic/493 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Facebook. All Rights Reserved. +# # FS QA Test 493 # # Check that we can't dedupe a swapfile. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/494 b/tests/generic/494 index b895bad9..840201c0 100755 --- a/tests/generic/494 +++ b/tests/generic/494 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Facebook. All Rights Reserved. +# # FS QA Test 494 # # Test truncation/hole punching of an active swapfile. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/495 b/tests/generic/495 index da196012..88df26c7 100755 --- a/tests/generic/495 +++ b/tests/generic/495 @@ -1,26 +1,11 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Facebook. All Rights Reserved. +# # FS QA Test 495 # # Test invalid swap files. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Facebook. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/496 b/tests/generic/496 index 4f661f8d..1c9651ad 100755 --- a/tests/generic/496 +++ b/tests/generic/496 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle. All Rights Reserved. +# # FS QA Test No. 496 # # Test various swapfile activation oddities on filesystems that support # fallocated swapfiles. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq" diff --git a/tests/generic/497 b/tests/generic/497 index 8dd1d32b..584af58a 100755 --- a/tests/generic/497 +++ b/tests/generic/497 @@ -1,27 +1,12 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2018 Oracle. All Rights Reserved. +# # FS QA Test No. 497 # # Test various swapfile activation oddities, having used fcollapse to # create discontiguous ranges in the file. # -#----------------------------------------------------------------------- -# Copyright (c) 2018 Oracle. All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -#----------------------------------------------------------------------- - seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"