#! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
+#
# FS QA Test No. 096
#
# test out mkfs_xfs output on IRIX/Linux and some of its error handling
# ensure pv#920679 is addressed
#
-#-----------------------------------------------------------------------
-# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it would be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write the Free Software Foundation,
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-#-----------------------------------------------------------------------
-#
-
seqfull=$0
seq=`basename $0`
seqres=$RESULT_DIR/$seq
-e 's/ ftype=[01]//' \
-e '/^log stripe unit.*too large/d' \
-e '/^log stripe unit adjusted/d' \
+ -e '/Discarding/d' \
| grep -v parent
}
# Modify as appropriate.
_supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
_require_scratch
_require_v2log
+_require_xfs_mkfs_without_validation
# choose .out file based on internal/external log
rm -f $seqfull.out
if [ "$USE_EXTERNAL" = yes ]; then
- ln -s $seq.external $seqfull.out
+ ln -s $seq.out.external $seqfull.out
else
- ln -s $seq.internal $seqfull.out
+ ln -s $seq.out.internal $seqfull.out
fi
# maximum log record size