Merge of master-melb:xfs-cmds:22772a by kenmcd.
fix up for different irix error msg for too many symlinks
_touch()
{
- touch $@ 2>&1 | grep -q 'Too many levels of symbolic links'
+ # On IRIX: Too many symbolic links in path name traversal
+ # On Linux: Too many levels of symbolic links
+ touch $@ 2>&1 | tee -a $here/$seq.full | grep -q 'Too many.*symbolic links'
if [ $? -eq 0 ]; then
echo "ELOOP returned. Good."
else
. ./common.filter
# real QA test starts here
+rm -f $here/$seq.full
_supported_fs xfs udf nfs
# IRIX UDF does not support symlinks
# filter out differences between linux and irix:
# - sectsz on Linux
# - mmr, mixed-case on IRIX
+# - lazy-count on IRIX
+# - inode-paths on IRIX
# - trailing spaces on Linux but not on IRIX
#
_mkfs_filter()
-e '/ *= *mmr=[0-9][0-9]* *$/d' \
-e 's/ *mixed-case=[YN]//' \
-e 's/sectsz=[0-9][0-9]* *//' \
+ -e 's/, lazy-count.*//' \
+ -e '/inode-paths/d' \
-e 's/ *$//'
}