common/rc: Add _require_{chown,chmod}()
[xfstests-dev.git] / tests / generic / 087
index 9653230c309d5d1cf7aa5f35285c2f54d1918694..c35761177ac42769f2f027e5e23d19f219d68152 100755 (executable)
@@ -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
 # 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 <agruenba@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"
@@ -53,8 +36,8 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux
 _require_test
+_require_chown
 
 QA_FS_PERMS=$here/src/fs_perms