Skip to contentSkip to conversation

xfstests: remove IRIX support

PATCH In review Eric Biggers 2 participants 20 messages Jul 21, 2017 – Jul 28, 2017 Library code

lore
Share & tools
lore
#0 lore raw

v2 cover xfstests: remove IRIX support

Hello,

This is v2 of the patchset to remove IRIX support from xfstests. For some time xfstests has de facto not supported IRIX anymore. The final release of IRIX was over 10 years ago and it seems no one has been running the latest xfstests releases on any IRIX system, as at the very least xfstests now assumes the existence of some util-linux binaries. There are very likely other examples of this bitrot as well. Also, xfsprogs has already dropped IRIX support.

Therefore, this patchset simplifies things by removing IRIX support from the xfstests tests, build system, and documentation. It also ports the useful IRIX-specific tests to Linux. Of course, people will still find more cruft later to remove, but this should be a good start.

To get around the mailing list message size limit, the series is formatted with --irreversible-delete. Therefore it can't be applied directly. It can be retrieved from git here:
https://github.com/ebiggers/xfstests.git, branch remove_irix_support_v2.

Eric Biggers (15):
tests: port generic/093 to Linux
tests: port generic/097 to Linux
tests: port xfs/095 to Linux
tests: remove udf/098
tests: remove udf/101
tests: remove xfs/114 and xfs/115
tests: remove xfs/057 and xfs/058
tests: remove generic/099
tests: make shared/051 a generic test
README: remove IRIX-specific documentation
tests: remove IRIX support from tests also supported on Linux
tests: clean up per-OS output files
common: remove IRIX-specific code
build: remove IRIX-specific build logic
include: remove some unused headers

 .gitignore                                   |   14 -
 README                                       |   51 +-
 common/attr                                  |   12 -
 common/config                                |   12 -
 common/dump                                  |   39 +-
 common/filestreams                           |   43 +-
 common/log                                   |    1 -
 common/rc                                    |   23 +-
 configure.ac                                 |   59 +-
 include/builddefs.in                         |    3 -
 include/test.h                               |  192 -
 include/usctest.h                            |  303 --
 lib/str_to_bytes.c                           |    2 +-
 ltp/Makefile                                 |    4 -
 ltp/rwtest.sh                                |    1 -
 m4/package_globals.m4                        |    2 +-
 m4/package_libcdev.m4                        |    2 +-
 m4/package_utilies.m4                        |   14 +-
 m4/package_xfslibs.m4                        |   13 -
 make_irix                                    |  114 -
 src/Makefile                                 |    4 -
 src/acl_get.c                                |  148 -
 src/acl_test.c                               |  264 --
 src/fill2fs                                  |    5 +-
 src/writemod.c                               |    4 +-
 tests/generic/001                            |    2 +-
 tests/generic/002                            |    2 +-
 tests/generic/005                            |    9 +-
 tests/generic/006                            |    2 +-
 tests/generic/007                            |    2 +-
 tests/generic/010                            |    2 +-
 tests/generic/011                            |    2 +-
 tests/generic/013                            |    8 +-
 tests/generic/014                            |    2 +-
 tests/generic/015                            |    2 +-
 tests/generic/029                            |    2 +-
 tests/generic/030                            |    2 +-
 tests/generic/031                            |    2 +-
 tests/generic/043                            |    2 +-
 tests/generic/044                            |    2 +-
 tests/generic/045                            |    2 +-
 tests/generic/046                            |    2 +-
 tests/generic/047                            |    2 +-
 tests/generic/048                            |    2 +-
 tests/generic/049                            |    2 +-
 tests/generic/052                            |    2 +-
 tests/generic/054                            |    2 +-
 tests/generic/055                            |    2 +-
 tests/generic/068                            |    2 +-
 tests/generic/069                            |    2 +-
 tests/generic/070                            |    2 +-
 tests/generic/074                            |   37 +-
 tests/generic/075                            |    2 +-
 tests/generic/076                            |    2 +-
 tests/generic/080                            |    2 +-
 tests/generic/083                            |    2 +-
 tests/generic/086                            |    2 +-
 tests/generic/088                            |    5 +-
 tests/generic/088.cfg                        |    2 -
 tests/generic/{088.out.linux => 088.out}     |    0
 tests/generic/088.out.irix                   |    9 -
 tests/generic/093                            |  113 +-
 tests/generic/093.out                        |  Bin 917 -> 372 bytes
 tests/generic/096                            |    2 +-
 tests/generic/097                            |  253 +-
 tests/generic/097.out                        |  177 +
 tests/generic/097.out.udf                    |  132 -
 tests/generic/097.out.xfs                    |  132 -
 tests/generic/099                            |  136 +-
 tests/generic/099.out                        |  235 +-
 tests/generic/100                            |    2 +-
 tests/generic/105                            |   11 +-
 tests/generic/117                            |    2 +-
 tests/generic/120                            |    2 +-
 tests/generic/123                            |    2 +-
 tests/generic/130                            |    2 +-
 tests/generic/132                            |    2 +-
 tests/generic/133                            |    2 +-
 tests/generic/135                            |    2 +-
 tests/generic/184                            |    2 +-
 tests/generic/219                            |    2 +-
 tests/generic/226                            |    2 +-
 tests/generic/230                            |    2 +-
 tests/generic/234                            |    2 +-
 tests/generic/235                            |    2 +-
 tests/generic/273                            |    2 +-
 tests/generic/274                            |    2 +-
 tests/generic/275                            |    2 +-
 tests/generic/309                            |    2 +-
 tests/generic/313                            |    2 +-
 tests/generic/320                            |    2 +-
 tests/generic/378                            |    2 +-
 tests/generic/379                            |    2 +-
 tests/generic/380                            |    2 +-
 tests/generic/384                            |    8 +-
 tests/generic/403                            |    2 +-
 tests/generic/416                            |    2 +-
 tests/generic/424                            |    2 +-
 tests/generic/group                          |    6 +-
 tests/shared/051                             |  321 --
 tests/shared/051.out                         |  220 -
 tests/shared/group                           |    1 -
 tests/udf/098                                |  274 --
 tests/udf/098.out                            | 1594 --------
 tests/udf/101                                |   62 -
 tests/udf/101.out                            |   19 -
 tests/udf/102                                |    2 +-
 tests/udf/group                              |    2 -
 tests/xfs/003                                |   12 +-
 tests/xfs/004                                |    6 +-
 tests/xfs/007                                |    2 +-
 tests/xfs/008                                |    2 +-
 tests/xfs/009                                |    2 +-
 tests/xfs/012                                |    2 +-
 tests/xfs/018                                |   11 +-
 tests/xfs/018.cfg                            |    2 -
 tests/xfs/{018.op.linux => 018.op}           |    0
 tests/xfs/018.op.irix                        | 5628 --------------------------
 tests/xfs/019                                |    2 +-
 tests/xfs/022                                |    8 +-
 tests/xfs/022.cfg                            |    2 -
 tests/xfs/{022.out.linux => 022.out}         |    0
 tests/xfs/022.out.irix                       |   55 -
 tests/xfs/023                                |    5 +-
 tests/xfs/023.cfg                            |    2 -
 tests/xfs/{023.out.linux => 023.out}         |    0
 tests/xfs/023.out.irix                       |   89 -
 tests/xfs/026                                |    2 +-
 tests/xfs/027                                |    2 +-
 tests/xfs/028                                |    2 +-
 tests/xfs/030                                |    5 +-
 tests/xfs/030.cfg                            |    2 -
 tests/xfs/{030.out.linux => 030.out}         |    0
 tests/xfs/030.out.irix                       |  288 --
 tests/xfs/031                                |    5 +-
 tests/xfs/031.cfg                            |    2 -
 tests/xfs/{031.out.linux => 031.out}         |    0
 tests/xfs/031.out.irix                       |  123 -
 tests/xfs/032                                |    2 +-
 tests/xfs/033                                |    6 +-
 tests/xfs/033.cfg                            |    4 +-
 tests/xfs/{033.out.crc.linux => 033.out.crc} |    0
 tests/xfs/{033.out.linux => 033.out.default} |    0
 tests/xfs/033.out.irix                       |  217 -
 tests/xfs/035                                |    5 +-
 tests/xfs/035.cfg                            |    2 -
 tests/xfs/{035.out.linux => 035.out}         |    0
 tests/xfs/035.out.irix                       |   94 -
 tests/xfs/036                                |    5 +-
 tests/xfs/036.cfg                            |    2 -
 tests/xfs/{036.out.linux => 036.out}         |    0
 tests/xfs/036.out.irix                       |   86 -
 tests/xfs/039                                |    5 +-
 tests/xfs/039.cfg                            |    2 -
 tests/xfs/{039.out.linux => 039.out}         |    0
 tests/xfs/039.out.irix                       |   89 -
 tests/xfs/041                                |    2 +-
 tests/xfs/042                                |    2 +-
 tests/xfs/043                                |    5 +-
 tests/xfs/043.cfg                            |    2 -
 tests/xfs/{043.out.linux => 043.out}         |    0
 tests/xfs/043.out.irix                       |  104 -
 tests/xfs/046                                |    2 +-
 tests/xfs/047                                |    2 +-
 tests/xfs/048                                |    2 +-
 tests/xfs/050                                |   16 +-
 tests/xfs/052                                |    2 +-
 tests/xfs/053                                |    2 +-
 tests/xfs/055                                |    5 +-
 tests/xfs/{055.out.linux => 055.out}         |    0
 tests/xfs/055.out.irix                       |   89 -
 tests/xfs/056                                |    2 +-
 tests/xfs/057                                |   47 -
 tests/xfs/057.out                            |   34 -
 tests/xfs/058                                |   46 -
 tests/xfs/058.out                            |  243 --
 tests/xfs/061                                |    2 +-
 tests/xfs/064                                |    2 +-
 tests/xfs/065                                |    2 +-
 tests/xfs/066                                |    2 +-
 tests/xfs/071                                |    2 +-
 tests/xfs/072                                |    2 +-
 tests/xfs/080                                |    6 -
 tests/xfs/081                                |   10 +-
 tests/xfs/082                                |   11 +-
 tests/xfs/082.cfg                            |    2 -
 tests/xfs/{082.op.linux => 082.op}           |    0
 tests/xfs/082.op.irix                        | 5628 --------------------------
 tests/xfs/084                                |   10 +-
 tests/xfs/092                                |    2 +-
 tests/xfs/094                                |    2 +-
 tests/xfs/095                                |   11 +-
 tests/xfs/095.out                            |    3 +-
 tests/xfs/096                                |    2 +-
 tests/xfs/103                                |    2 +-
 tests/xfs/107                                |    2 +-
 tests/xfs/108                                |    2 +-
 tests/xfs/114                                |  340 --
 tests/xfs/114.out                            |  365 --
 tests/xfs/115                                |  257 --
 tests/xfs/115.out                            |  118 -
 tests/xfs/116                                |    2 +-
 tests/xfs/118                                |    2 +-
 tests/xfs/119                                |    2 +-
 tests/xfs/121                                |    2 +-
 tests/xfs/136                                |    2 +-
 tests/xfs/142                                |    2 +-
 tests/xfs/143                                |    2 +-
 tests/xfs/144                                |    2 +-
 tests/xfs/145                                |    2 +-
 tests/xfs/146                                |    5 +-
 tests/xfs/146.cfg                            |    2 -
 tests/xfs/{146.out.linux => 146.out}         |    0
 tests/xfs/146.out.irix                       |  324 --
 tests/xfs/147                                |    2 +-
 tests/xfs/148                                |    2 +-
 tests/xfs/149                                |    2 +-
 tests/xfs/150                                |    2 +-
 tests/xfs/151                                |    2 +-
 tests/xfs/152                                |    2 +-
 tests/xfs/153                                |    2 +-
 tests/xfs/154                                |    2 +-
 tests/xfs/155                                |    2 +-
 tests/xfs/156                                |    2 +-
 tests/xfs/157                                |    2 +-
 tests/xfs/158                                |    2 +-
 tests/xfs/159                                |    2 +-
 tests/xfs/160                                |    2 +-
 tests/xfs/161                                |    2 +-
 tests/xfs/162                                |    2 +-
 tests/xfs/163                                |    2 +-
 tests/xfs/164                                |    2 +-
 tests/xfs/165                                |    2 +-
 tests/xfs/170                                |    2 +-
 tests/xfs/172                                |    2 +-
 tests/xfs/173                                |    2 +-
 tests/xfs/174                                |    2 +-
 tests/xfs/181                                |    2 +-
 tests/xfs/185                                |    2 +-
 tests/xfs/188                                |    2 +-
 tests/xfs/194                                |    2 +-
 tests/xfs/206                                |    2 +-
 tests/xfs/291                                |    2 +-
 tests/xfs/292                                |    2 +-
 tests/xfs/293                                |    2 +-
 tests/xfs/295                                |    2 +-
 tests/xfs/297                                |    2 +-
 tests/xfs/303                                |    2 +-
 tests/xfs/group                              |    4 -
 249 files changed, 747 insertions(+), 19055 deletions(-)
 delete mode 100644 include/test.h
 delete mode 100644 include/usctest.h
 delete mode 100755 make_irix
 delete mode 100644 src/acl_get.c
 delete mode 100644 src/acl_test.c
 delete mode 100644 tests/generic/088.cfg
 rename tests/generic/{088.out.linux => 088.out} (100%)
 delete mode 100644 tests/generic/088.out.irix
 create mode 100644 tests/generic/097.out
 delete mode 100644 tests/generic/097.out.udf
 delete mode 100644 tests/generic/097.out.xfs
 delete mode 100755 tests/shared/051
 delete mode 100644 tests/shared/051.out
 delete mode 100755 tests/udf/098
 delete mode 100644 tests/udf/098.out
 delete mode 100755 tests/udf/101
 delete mode 100644 tests/udf/101.out
 delete mode 100644 tests/xfs/018.cfg
 rename tests/xfs/{018.op.linux => 018.op} (100%)
 delete mode 100644 tests/xfs/018.op.irix
 delete mode 100644 tests/xfs/022.cfg
 rename tests/xfs/{022.out.linux => 022.out} (100%)
 delete mode 100644 tests/xfs/022.out.irix
 delete mode 100644 tests/xfs/023.cfg
 rename tests/xfs/{023.out.linux => 023.out} (100%)
 delete mode 100644 tests/xfs/023.out.irix
 delete mode 100644 tests/xfs/030.cfg
 rename tests/xfs/{030.out.linux => 030.out} (100%)
 delete mode 100644 tests/xfs/030.out.irix
 delete mode 100644 tests/xfs/031.cfg
 rename tests/xfs/{031.out.linux => 031.out} (100%)
 delete mode 100644 tests/xfs/031.out.irix
 rename tests/xfs/{033.out.crc.linux => 033.out.crc} (100%)
 rename tests/xfs/{033.out.linux => 033.out.default} (100%)
 delete mode 100644 tests/xfs/033.out.irix
 delete mode 100644 tests/xfs/035.cfg
 rename tests/xfs/{035.out.linux => 035.out} (100%)
 delete mode 100644 tests/xfs/035.out.irix
 delete mode 100644 tests/xfs/036.cfg
 rename tests/xfs/{036.out.linux => 036.out} (100%)
 delete mode 100644 tests/xfs/036.out.irix
 delete mode 100644 tests/xfs/039.cfg
 rename tests/xfs/{039.out.linux => 039.out} (100%)
 delete mode 100644 tests/xfs/039.out.irix
 delete mode 100644 tests/xfs/043.cfg
 rename tests/xfs/{043.out.linux => 043.out} (100%)
 delete mode 100644 tests/xfs/043.out.irix
 rename tests/xfs/{055.out.linux => 055.out} (100%)
 delete mode 100644 tests/xfs/055.out.irix
 delete mode 100755 tests/xfs/057
 delete mode 100644 tests/xfs/057.out
 delete mode 100755 tests/xfs/058
 delete mode 100644 tests/xfs/058.out
 delete mode 100644 tests/xfs/082.cfg
 rename tests/xfs/{082.op.linux => 082.op} (100%)
 delete mode 100644 tests/xfs/082.op.irix
 delete mode 100755 tests/xfs/114
 delete mode 100644 tests/xfs/114.out
 delete mode 100755 tests/xfs/115
 delete mode 100644 tests/xfs/115.out
 delete mode 100644 tests/xfs/146.cfg
 rename tests/xfs/{146.out.linux => 146.out} (100%)
 delete mode 100644 tests/xfs/146.out.irix
Signature · 1 line
2.13.3
#1 lore raw

PATCH v2 1/15 tests: port generic/093 to Linux

From: Eric Biggers <[email protected]>

This IRIX-specific test mainly tested whether a file's capabilities are cleared when it is written to. Port the test to the Linux libcap tools and update it to expect the Linux semantics which are a little simpler:
capabilities are always cleared even if the program is root (or has CAP_FSETID). The test also tests that chmod doesn't affect open file descriptors; this is mostly unrelated, but keep it in for now.

---
 src/writemod.c        |   4 +-
 tests/generic/093     | 113 ++++++++++----------------------------------------
 tests/generic/093.out | Bin 917 -> 372 bytes
 tests/generic/group   |   2 +-
 4 files changed, 26 insertions(+), 93 deletions(-)
src/writemod.c +2 -2
index 0c9ff1a5..16b3fa0c 100644
@@ -35,7 +35,7 @@ main(int argc, char* argv[])
 {
     char *path;
     int fd;
-    char *buf = "hi there";
+    char *buf = "hi there\n";
     ssize_t x;
     int sts;
 
@@ -59,7 +59,7 @@ main(int argc, char* argv[])
         return 1;
     }
     printf("write to the file\n");
-    x = write(fd, buf, strlen(buf)+1); 
+    x = write(fd, buf, strlen(buf));
     if (x == -1) {
 	perror("write");
         return 1;
tests/generic/093 +23 -90

150 lines not on this page · raw message

tests/generic/093.out binary +0 -0
index 0113a48ca00c2637080cbaa3bcf9bb5cc90dd473..cb29153ebfb94b066e2c1c77eebb4a1c097dbd0d 100644
GIT binary patch
tests/generic/group +1 -1
index e626820c..d93aa06d 100644
@@ -95,7 +95,7 @@
 090 metadata auto quick
 091 rw auto quick
 092 auto quick prealloc
-093 attr cap udf auto
+093 attr cap auto
 094 auto quick prealloc
 095 auto rw stress
 096 auto prealloc quick zero
Signature · 1 line
2.13.3
#2 lore raw

PATCH v2 2/15 tests: port generic/097 to Linux

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

This IRIX-specific test did some basic testing of extended attributes. Port it to Linux; this mainly involved updating it to use the 'getfattr' and 'setfattr' programs instead 'attr'. Note that although 'attr' is available on Linux, it's mainly for IRIX compatibility, the man page recommends against using it on non-XFS filesystems, and it doesn't support listing user xattrs only. (In the last point it actually differs from IRIX 'attr', but probably no one cares anymore.) getfattr also sorts its output by xattr name, so its output will be the same on all filesystems unlike 'attr -l'.

---
 .gitignore                |   1 -
 tests/generic/097         | 253 ++++++++++++++++++++--------------------------
 tests/generic/097.out     | 177 ++++++++++++++++++++++++++++++++
 tests/generic/097.out.udf | 132 ------------------------
 tests/generic/097.out.xfs | 132 ------------------------
 tests/generic/group       |   2 +-
 6 files changed, 287 insertions(+), 410 deletions(-)
 create mode 100644 tests/generic/097.out
 delete mode 100644 tests/generic/097.out.udf
 delete mode 100644 tests/generic/097.out.xfs
.gitignore +0 -1
index 1e994889..c0736486 100644
@@ -235,7 +235,6 @@
 
 # Symlinked files
 /tests/generic/088.out
-/tests/generic/097.out
 /tests/xfs/018.op
 /tests/xfs/022.out
 /tests/xfs/023.out
tests/generic/097 +109 -144

337 lines not on this page · raw message

tests/generic/097.out new file +177 -0

177 lines not on this page · raw message

tests/generic/097.out.udf deleted +0 -0
deleted file mode 100644
index 1d36ff76..00000000
tests/generic/097.out.xfs deleted +0 -0
deleted file mode 100644
index 0024bf23..00000000
tests/generic/group +1 -1
index d93aa06d..20c278cc 100644
@@ -99,7 +99,7 @@
 094 auto quick prealloc
 095 auto rw stress
 096 auto prealloc quick zero
-097 udf auto
+097 attr auto quick
 098 auto quick metadata
 099 udf auto
 100 udf auto
Signature · 1 line
2.13.3
#3 lore raw

PATCH v2 3/15 tests: port xfs/095 to Linux

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

This tests upgrading the XFS log to v2. Switch from the IRIX xfs_chver program to xfs_db.

---
 tests/xfs/095     | 11 +++++------
 tests/xfs/095.out |  3 +--
 2 files changed, 6 insertions(+), 8 deletions(-)
tests/xfs/095 +5 -6
index d1373586..1f5a51f6 100755
@@ -1,7 +1,7 @@
 #! /bin/bash
 # FS QA Test No. 095
 #
-# test out xfs_chver on IRIX
+# Test upgrading the XFS log to v2
 #
 #-----------------------------------------------------------------------
 # Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
@@ -46,7 +46,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX
+_supported_os Linux
 _require_scratch
 _require_v2log
 
@@ -54,14 +54,13 @@ export MOUNT_OPTIONS="-o logbsize=64k"
 
 # try and mount a v1 log with a v2 LRsize
 # expect failure
-_mkfs_log "-l version=1"
+_mkfs_log "-l version=1 -m crc=0 -d sectsize=512"
+_scratch_xfs_db -c 'version' | tr ',' '\n' | grep LOGV2
 _create_log
 
 # now make the fs a v2 fs and try to mount again
 # it should succeed this time
-xfs_chver -l 2 $SCRATCH_DEV | \
-sed -e "s#$SCRATCH_DEV#SCRATCH_DEV#g" \
-    -e 's/[0-9][0-9]* AGs/N AGs/'
+_scratch_xfs_db -x -c 'version log2' | tr ',' '\n' | grep LOGV2
 _create_log
 
 # success, all done
tests/xfs/095.out +1 -2
index 36ffdecc..378876d8 100644
@@ -2,5 +2,4 @@ QA output created by 095
 
 *** mount failed: -o logbsize=64k ***
 
-xfs_chver: SCRATCH_DEV: changing version 0x3084 to 0x3484 in N AGs
-xfs_chver: SCRATCH_DEV: changing feature2 0x0 to 0x0 in N AGs
+LOGV2
Signature · 1 line
2.13.3
#4 lore raw

PATCH v2 4/15 tests: remove udf/098

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

udf/098 was an IRIX and UDF-specific test which tested xattrs. But the Linux UDF driver doesn't support xattrs, and even if it did there are already generic xattr tests --- including now generic/097 which is basically the same test. So just delete udf/098.

---
 tests/udf/098     |  274 ---------
 tests/udf/098.out | 1594 -----------------------------------------------------
 tests/udf/group   |    1 -
 3 files changed, 1869 deletions(-)
 delete mode 100755 tests/udf/098
 delete mode 100644 tests/udf/098.out
tests/udf/098 deleted +0 -0
deleted file mode 100755
index 09792a76..00000000
tests/udf/098.out deleted +0 -0
deleted file mode 100644
index 63772a0a..00000000
tests/udf/group +0 -1
index 24f682cc..f4372e09 100644
@@ -3,6 +3,5 @@
 # - do not start group names with a digit
 # - comment line before each group is "new" description
 #
-098 udf auto
 101 udf
 102 udf
Signature · 1 line
2.13.3
#5 lore raw

PATCH v2 5/15 tests: remove udf/101

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

This IRIX and UDF-specific test essentially just created a UDF filesystem with a specific size. This isn't really useful because there already are many generic tests that do _scratch_mkfs_sized. So just delete the test rather than trying to port it to Linux.

---
 tests/udf/101     | 62 -------------------------------------------------------
 tests/udf/101.out | 19 -----------------
 tests/udf/group   |  1 -
 3 files changed, 82 deletions(-)
 delete mode 100755 tests/udf/101
 delete mode 100644 tests/udf/101.out
tests/udf/101 deleted +0 -0
deleted file mode 100755
index 9609c072..00000000
tests/udf/101.out deleted +0 -0
deleted file mode 100644
index 1ca59a8c..00000000
tests/udf/group +0 -1
index f4372e09..6680da44 100644
@@ -3,5 +3,4 @@
 # - do not start group names with a digit
 # - comment line before each group is "new" description
 #
-101 udf
 102 udf
Signature · 1 line
2.13.3
#6 lore raw

PATCH v2 6/15 tests: remove xfs/114 and xfs/115

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

These two IRIX and XFS-specific tests tested the "parent pointer" feature which is not implemented by XFS on Linux. Just remove them.

---
 tests/xfs/114     | 340 --------------------------------------------------
 tests/xfs/114.out | 365 ------------------------------------------------------
 tests/xfs/115     | 257 --------------------------------------
 tests/xfs/115.out | 118 ------------------
 tests/xfs/group   |   2 -
 5 files changed, 1082 deletions(-)
 delete mode 100755 tests/xfs/114
 delete mode 100644 tests/xfs/114.out
 delete mode 100755 tests/xfs/115
 delete mode 100644 tests/xfs/115.out
tests/xfs/114 deleted +0 -0
deleted file mode 100755
index 24474f74..00000000
tests/xfs/114.out deleted +0 -0
deleted file mode 100644
index a36396e2..00000000
tests/xfs/115 deleted +0 -0
deleted file mode 100755
index cf17388d..00000000
tests/xfs/115.out deleted +0 -0
deleted file mode 100644
index 44d8e55e..00000000
tests/xfs/group +0 -2
index ffdb0615..e7de18dd 100644
@@ -111,8 +111,6 @@
 111 ioctl
 112 fuzzers
 113 fuzzers
-114 parent attr stress
-115 parent attr
 116 quota auto quick
 117 fuzzers
 118 auto quick fsr dangerous
Signature · 1 line
2.13.3
#7 lore raw

PATCH v2 7/15 tests: remove xfs/057 and xfs/058

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

These two IRIX and XFS-specific tests were just placeholders which didn't actually test anything. It also seems they were meant to use the acl_get and acl_test programs, but those weren't even being compiled. Get rid of all this unused stuff.

---
 src/acl_get.c     | 148 ------------------------------
 src/acl_test.c    | 264 ------------------------------------------------------
 tests/xfs/057     |  47 ----------
 tests/xfs/057.out |  34 -------
 tests/xfs/058     |  46 ----------
 tests/xfs/058.out | 243 -------------------------------------------------
 tests/xfs/group   |   2 -
 7 files changed, 784 deletions(-)
 delete mode 100644 src/acl_get.c
 delete mode 100644 src/acl_test.c
 delete mode 100755 tests/xfs/057
 delete mode 100644 tests/xfs/057.out
 delete mode 100755 tests/xfs/058
 delete mode 100644 tests/xfs/058.out
src/acl_get.c deleted +0 -0
deleted file mode 100644
index 3701dd02..00000000
src/acl_test.c deleted +0 -0
deleted file mode 100644
index a060b6c9..00000000
tests/xfs/057 deleted +0 -0
deleted file mode 100755
index a3fe9c36..00000000
tests/xfs/057.out deleted +0 -0
deleted file mode 100644
index 7e38ab37..00000000
tests/xfs/058 deleted +0 -0
deleted file mode 100755
index 89c441aa..00000000
tests/xfs/058.out deleted +0 -0
deleted file mode 100644
index 58a426b5..00000000
tests/xfs/group +0 -2
index e7de18dd..fd634275 100644
@@ -54,8 +54,6 @@
 054 auto quick
 055 dump ioctl remote tape
 056 dump ioctl auto quick
-057 acl auto
-058 acl auto
 059 dump ioctl auto quick
 060 dump ioctl auto quick
 061 dump ioctl auto quick
Signature · 1 line
2.13.3
#8 lore raw

PATCH v2 8/15 tests: remove generic/099

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

This IRIX-specific ACL test was nearly identical to shared/051, which has been better maintained and will be made a generic test in the next commit. Therefore, remove the existing generic/099.

---
 common/attr           |  12 --
 tests/generic/099     | 331 --------------------------------------------------
 tests/generic/099.out | 215 --------------------------------
 tests/generic/group   |   1 -
 4 files changed, 559 deletions(-)
 delete mode 100755 tests/generic/099
 delete mode 100644 tests/generic/099.out
common/attr +0 -12
index c840ce42..fae367f0 100644
@@ -117,18 +117,6 @@ _acl_ls()
     _ls_l -n $* | awk '{ print $1, $3, $4, $NF }' | _acl_filter_id
 } 
 
-#
-_acl_list()
-{
-    _file1=$1
-
-    if [ $HOSTOS = "IRIX" ]; then
-	ls -dD $_file1 | _acl_filter_id
-    else 
-        chacl -l $_file1 | _acl_filter_id
-    fi
-}
-
 # create an ACL with n ACEs in it
 #
 _create_n_aces()
tests/generic/099 deleted +0 -0
deleted file mode 100755
index 4af588c8..00000000
tests/generic/099.out deleted +0 -0
deleted file mode 100644
index 3f4f663f..00000000
tests/generic/group +0 -1
index 20c278cc..93a7378b 100644
@@ -101,7 +101,6 @@
 096 auto prealloc quick zero
 097 attr auto quick
 098 auto quick metadata
-099 udf auto
 100 udf auto
 101 auto quick metadata
 102 auto rw
Signature · 1 line
2.13.3
#9 lore raw

PATCH v2 9/15 tests: make shared/051 a generic test

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

The ACL test shared/051 was very similar to generic/099 which was not being run and was just removed; most likely the script was copy+pasted at some point. Since shared/051 has been getting maintained+run and is not really XFS and UDF-specific, move it to generic, reusing the old number of 099. One change was required for it to work on other
filesystems: the output of 'find' must be sorted.

---
 tests/{shared/051 => generic/099}         |  8 ++++----
 tests/{shared/051.out => generic/099.out} | 18 +++++++++---------
 tests/generic/group                       |  1 +
 tests/shared/group                        |  1 -
 4 files changed, 14 insertions(+), 14 deletions(-)
 rename tests/{shared/051 => generic/099} (98%)
 rename tests/{shared/051.out => generic/099.out} (99%)
tests/generic/099 renamed from tests/shared/051 +4 -4
similarity index 98%
rename from tests/shared/051
rename to tests/generic/099
index 298838e7..f65c53f1 100755
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FS QA Test No. 051
+# FS QA Test No. 099
 #
 # Test out ACLs.
 #
@@ -67,7 +67,7 @@ _cleanup()
 #
 
 # real QA test starts here
-_supported_fs xfs udf
+_supported_fs generic
 _supported_os Linux
 _require_test
 _require_runas
@@ -292,10 +292,10 @@ popd >/dev/null
 chown -R 12345.54321 root
 echo "Change #1..."
 _runas -u 12345 -g 54321 -- chacl -r u::rwx,g::-w-,o::--x root
-find root -print | xargs chacl -l
+find root -print | sort | xargs chacl -l
 echo "Change #2..."
 _runas -u 12345 -g 54321 -- chacl -r u::---,g::---,o::--- root
-find root -print | xargs chacl -l
+find root -print | sort | xargs chacl -l
 
 #-------------------------------------------------------
 
tests/generic/099.out renamed from tests/shared/051.out +9 -9
similarity index 99%
rename from tests/shared/051.out
rename to tests/generic/099.out
index 2b5220f7..94172420 100644
@@ -1,4 +1,4 @@
-QA output created by 051
+QA output created by 099
 
 === Test minimal ACE ===
 Setup file
@@ -111,6 +111,8 @@ acldir/file2 [u::r--,g::r--,o::---]
 Change #1...
 root [u::rwx,g::-w-,o::--x]
 root/a [u::rwx,g::-w-,o::--x]
+root/a/0 [u::rwx,g::-w-,o::--x]
+root/a/0/mumble [u::rwx,g::-w-,o::--x]
 root/a/1 [u::rwx,g::-w-,o::--x]
 root/a/1/mumble [u::rwx,g::-w-,o::--x]
 root/a/2 [u::rwx,g::-w-,o::--x]
@@ -129,9 +131,9 @@ root/a/8 [u::rwx,g::-w-,o::--x]
 root/a/8/mumble [u::rwx,g::-w-,o::--x]
 root/a/9 [u::rwx,g::-w-,o::--x]
 root/a/9/mumble [u::rwx,g::-w-,o::--x]
-root/a/0 [u::rwx,g::-w-,o::--x]
-root/a/0/mumble [u::rwx,g::-w-,o::--x]
 root/b [u::rwx,g::-w-,o::--x]
+root/b/c0 [u::rwx,g::-w-,o::--x]
+root/b/c0/0 [u::rwx,g::-w-,o::--x]
 root/b/c1 [u::rwx,g::-w-,o::--x]
 root/b/c1/1 [u::rwx,g::-w-,o::--x]
 root/b/c2 [u::rwx,g::-w-,o::--x]
@@ -150,11 +152,11 @@ root/b/c8 [u::rwx,g::-w-,o::--x]
 root/b/c8/8 [u::rwx,g::-w-,o::--x]
 root/b/c9 [u::rwx,g::-w-,o::--x]
 root/b/c9/9 [u::rwx,g::-w-,o::--x]
-root/b/c0 [u::rwx,g::-w-,o::--x]
-root/b/c0/0 [u::rwx,g::-w-,o::--x]
 Change #2...
 root [u::---,g::---,o::---]
 root/a [u::---,g::---,o::---]
+root/a/0 [u::---,g::---,o::---]
+root/a/0/mumble [u::---,g::---,o::---]
 root/a/1 [u::---,g::---,o::---]
 root/a/1/mumble [u::---,g::---,o::---]
 root/a/2 [u::---,g::---,o::---]
@@ -173,9 +175,9 @@ root/a/8 [u::---,g::---,o::---]
 root/a/8/mumble [u::---,g::---,o::---]
 root/a/9 [u::---,g::---,o::---]
 root/a/9/mumble [u::---,g::---,o::---]
-root/a/0 [u::---,g::---,o::---]
-root/a/0/mumble [u::---,g::---,o::---]
 root/b [u::---,g::---,o::---]
+root/b/c0 [u::---,g::---,o::---]
+root/b/c0/0 [u::---,g::---,o::---]
 root/b/c1 [u::---,g::---,o::---]
 root/b/c1/1 [u::---,g::---,o::---]
 root/b/c2 [u::---,g::---,o::---]
@@ -194,8 +196,6 @@ root/b/c8 [u::---,g::---,o::---]
 root/b/c8/8 [u::---,g::---,o::---]
 root/b/c9 [u::---,g::---,o::---]
 root/b/c9/9 [u::---,g::---,o::---]
-root/b/c0 [u::---,g::---,o::---]
-root/b/c0/0 [u::---,g::---,o::---]
 
 === Test out error messages for ACL text parsing  ===
 Note: Old interface gave more informative error msgs
tests/generic/group +1 -0
index 93a7378b..ee9a7539 100644
@@ -101,6 +101,7 @@
 096 auto prealloc quick zero
 097 attr auto quick
 098 auto quick metadata
+099 acl auto quick
 100 udf auto
 101 auto quick metadata
 102 auto rw
tests/shared/group +0 -1
index fab93315..b3663a03 100644
@@ -11,7 +11,6 @@
 006 auto enospc
 007 dangerous_fuzzers
 032 mkfs auto quick
-051 acl udf auto quick
 272 auto enospc rw
 289 auto quick
 298 auto trim
Signature · 1 line
2.13.3
#10 lore raw

PATCH v2 10/15 README: remove IRIX-specific documentation

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

xfstests is no longer supported on IRIX, so remove the IRIX-specific instructions for building and running xfstests.

---
 README | 51 ++++++++++++++++++++++-----------------------------
 1 file changed, 22 insertions(+), 29 deletions(-)
README +22 -29
index 11bf6a94..9456fa76 100644
@@ -2,44 +2,37 @@ _______________________
 BUILDING THE FSQA SUITE
 _______________________
 
-Building Linux:
-	- cd into the xfstests directory
-	- install prerequisite packages
-	  For example, for Ubuntu:
-		sudo apt-get install xfslibs-dev uuid-dev libtool-bin \
-		e2fsprogs automake gcc libuuid1 quota attr libattr1-dev make \
-		libacl1-dev libaio-dev xfsprogs libgdbm-dev gawk fio dbench \
-		uuid-runtime
-	  For Fedora, RHEL, or CentOS:
-		yum install acl attr automake bc dbench dump e2fsprogs fio \
-		gawk gcc indent libtool lvm2 make psmisc quota sed \
-		xfsdump xfsprogs \
-		libacl-devel libattr-devel libaio-devel libuuid-devel \
-		xfsprogs-devel btrfs-progs-devel
-		(Older distributions may require xfsprogs-qa-devel as well.)
-		(Note that for RHEL and CentOS, you may need the EPEL repo.)
-	- run make
-	- run make install
-	- create fsgqa test user ("sudo useradd fsgqa")
-	- create 123456-fsgqa test user ("sudo useradd 123456-fsgqa")
+- cd into the xfstests directory
+- install prerequisite packages
+  For example, for Ubuntu:
+	sudo apt-get install xfslibs-dev uuid-dev libtool-bin \
+	e2fsprogs automake gcc libuuid1 quota attr libattr1-dev make \
+	libacl1-dev libaio-dev xfsprogs libgdbm-dev gawk fio dbench \
+	uuid-runtime
+  For Fedora, RHEL, or CentOS:
+	yum install acl attr automake bc dbench dump e2fsprogs fio \
+	gawk gcc indent libtool lvm2 make psmisc quota sed \
+	xfsdump xfsprogs \
+	libacl-devel libattr-devel libaio-devel libuuid-devel \
+	xfsprogs-devel btrfs-progs-devel
+	(Older distributions may require xfsprogs-qa-devel as well.)
+	(Note that for RHEL and CentOS, you may need the EPEL repo.)
+- run make
+- run make install
+- create fsgqa test user ("sudo useradd fsgqa")
+- create 123456-fsgqa test user ("sudo useradd 123456-fsgqa")
 	
-Building IRIX:
-	- cd into the xfstests directory 
-	- set the ROOT and TOOLROOT env variables for IRIX appropriately
-	- run ./make_irix
-
 ______________________
 USING THE FSQA SUITE
 ______________________
 
-Preparing system for tests (IRIX and Linux):
+Preparing system for tests:
 
     - compile XFS into your kernel or load XFS modules
     - install administrative tools specific to the filesystem you wish to test
     - If you wish to run the udf components of the suite install
-      mkfs_udf and udf_db for IRIX and mkudffs for Linux. Also download and 
-      build the Philips UDF Verification Software from 
-      http://www.extra.research.philips.com/udf/, then copy the udf_test 
+      mkudffs. Also download and build the Philips UDF Verification Software
+      from http://www.extra.research.philips.com/udf/, then copy the udf_test
       binary to xfstests/src/. If you wish to disable UDF verification test
       set the environment variable DISABLE_UDF_TEST to 1.
 	
Signature · 1 line
2.13.3
#11 lore raw

PATCH v2 11/15 tests: remove IRIX support from tests also supported on Linux

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

Many tests claimed (via _supported_os) to work on both Linux and IRIX. Since IRIX is no longer supported by xfstests, update these to claim Linux support only. Then remove any obvious IRIX-specific logic in the tests, and any IRIX-specific golden output files.

---
 lib/str_to_bytes.c         |    2 +-
 ltp/rwtest.sh              |    1 -
 src/fill2fs                |    5 +-
 tests/generic/001          |    2 +-
 tests/generic/002          |    2 +-
 tests/generic/005          |    9 +-
 tests/generic/006          |    2 +-
 tests/generic/007          |    2 +-
 tests/generic/010          |    2 +-
 tests/generic/011          |    2 +-
 tests/generic/013          |    8 +-
 tests/generic/014          |    2 +-
 tests/generic/015          |    2 +-
 tests/generic/029          |    2 +-
 tests/generic/030          |    2 +-
 tests/generic/031          |    2 +-
 tests/generic/043          |    2 +-
 tests/generic/044          |    2 +-
 tests/generic/045          |    2 +-
 tests/generic/046          |    2 +-
 tests/generic/047          |    2 +-
 tests/generic/048          |    2 +-
 tests/generic/049          |    2 +-
 tests/generic/052          |    2 +-
 tests/generic/054          |    2 +-
 tests/generic/055          |    2 +-
 tests/generic/068          |    2 +-
 tests/generic/069          |    2 +-
 tests/generic/070          |    2 +-
 tests/generic/074          |   37 +-
 tests/generic/075          |    2 +-
 tests/generic/076          |    2 +-
 tests/generic/080          |    2 +-
 tests/generic/083          |    2 +-
 tests/generic/086          |    2 +-
 tests/generic/088          |    2 +-
 tests/generic/088.cfg      |    1 -
 tests/generic/088.out.irix |    9 -
 tests/generic/096          |    2 +-
 tests/generic/100          |    2 +-
 tests/generic/105          |   11 +-
 tests/generic/117          |    2 +-
 tests/generic/120          |    2 +-
 tests/generic/123          |    2 +-
 tests/generic/130          |    2 +-
 tests/generic/132          |    2 +-
 tests/generic/133          |    2 +-
 tests/generic/135          |    2 +-
 tests/generic/184          |    2 +-
 tests/generic/219          |    2 +-
 tests/generic/226          |    2 +-
 tests/generic/230          |    2 +-
 tests/generic/234          |    2 +-
 tests/generic/235          |    2 +-
 tests/generic/273          |    2 +-
 tests/generic/274          |    2 +-
 tests/generic/275          |    2 +-
 tests/generic/309          |    2 +-
 tests/generic/313          |    2 +-
 tests/generic/320          |    2 +-
 tests/generic/378          |    2 +-
 tests/generic/379          |    2 +-
 tests/generic/380          |    2 +-
 tests/generic/384          |    8 +-
 tests/generic/403          |    2 +-
 tests/generic/416          |    2 +-
 tests/generic/424          |    2 +-
 tests/udf/102              |    2 +-
 tests/xfs/003              |   12 +-
 tests/xfs/004              |    6 +-
 tests/xfs/007              |    2 +-
 tests/xfs/008              |    2 +-
 tests/xfs/009              |    2 +-
 tests/xfs/012              |    2 +-
 tests/xfs/018              |    8 +-
 tests/xfs/018.cfg          |    1 -
 tests/xfs/018.op.irix      | 5628 --------------------------------------------
 tests/xfs/019              |    2 +-
 tests/xfs/022              |    5 +-
 tests/xfs/022.cfg          |    1 -
 tests/xfs/022.out.irix     |   55 -
 tests/xfs/023              |    2 +-
 tests/xfs/023.cfg          |    1 -
 tests/xfs/023.out.irix     |   89 -
 tests/xfs/026              |    2 +-
 tests/xfs/027              |    2 +-
 tests/xfs/028              |    2 +-
 tests/xfs/030              |    2 +-
 tests/xfs/030.cfg          |    1 -
 tests/xfs/030.out.irix     |  288 ---
 tests/xfs/031              |    2 +-
 tests/xfs/031.cfg          |    1 -
 tests/xfs/031.out.irix     |  123 -
 tests/xfs/032              |    2 +-
 tests/xfs/033              |    2 +-
 tests/xfs/033.cfg          |    1 -
 tests/xfs/033.out.irix     |  217 --
 tests/xfs/035              |    2 +-
 tests/xfs/035.cfg          |    1 -
 tests/xfs/035.out.irix     |   94 -
 tests/xfs/036              |    2 +-
 tests/xfs/036.cfg          |    1 -
 tests/xfs/036.out.irix     |   86 -
 tests/xfs/039              |    2 +-
 tests/xfs/039.cfg          |    1 -
 tests/xfs/039.out.irix     |   89 -
 tests/xfs/041              |    2 +-
 tests/xfs/042              |    2 +-
 tests/xfs/043              |    2 +-
 tests/xfs/043.cfg          |    1 -
 tests/xfs/043.out.irix     |  104 -
 tests/xfs/046              |    2 +-
 tests/xfs/047              |    2 +-
 tests/xfs/048              |    2 +-
 tests/xfs/050              |   16 +-
 tests/xfs/052              |    2 +-
 tests/xfs/053              |    2 +-
 tests/xfs/055              |    2 +-
 tests/xfs/055.out.irix     |   89 -
 tests/xfs/056              |    2 +-
 tests/xfs/061              |    2 +-
 tests/xfs/064              |    2 +-
 tests/xfs/065              |    2 +-
 tests/xfs/066              |    2 +-
 tests/xfs/071              |    2 +-
 tests/xfs/072              |    2 +-
 tests/xfs/080              |    6 -
 tests/xfs/081              |   10 +-
 tests/xfs/082              |    8 +-
 tests/xfs/082.cfg          |    1 -
 tests/xfs/082.op.irix      | 5628 --------------------------------------------
 tests/xfs/084              |   10 +-
 tests/xfs/092              |    2 +-
 tests/xfs/094              |    2 +-
 tests/xfs/096              |    2 +-
 tests/xfs/103              |    2 +-
 tests/xfs/107              |    2 +-
 tests/xfs/108              |    2 +-
 tests/xfs/116              |    2 +-
 tests/xfs/118              |    2 +-
 tests/xfs/119              |    2 +-
 tests/xfs/121              |    2 +-
 tests/xfs/136              |    2 +-
 tests/xfs/142              |    2 +-
 tests/xfs/143              |    2 +-
 tests/xfs/144              |    2 +-
 tests/xfs/145              |    2 +-
 tests/xfs/146              |    2 +-
 tests/xfs/146.cfg          |    1 -
 tests/xfs/146.out.irix     |  324 ---
 tests/xfs/147              |    2 +-
 tests/xfs/148              |    2 +-
 tests/xfs/149              |    2 +-
 tests/xfs/150              |    2 +-
 tests/xfs/151              |    2 +-
 tests/xfs/152              |    2 +-
 tests/xfs/153              |    2 +-
 tests/xfs/154              |    2 +-
 tests/xfs/155              |    2 +-
 tests/xfs/156              |    2 +-
 tests/xfs/157              |    2 +-
 tests/xfs/158              |    2 +-
 tests/xfs/159              |    2 +-
 tests/xfs/160              |    2 +-
 tests/xfs/161              |    2 +-
 tests/xfs/162              |    2 +-
 tests/xfs/163              |    2 +-
 tests/xfs/164              |    2 +-
 tests/xfs/165              |    2 +-
 tests/xfs/170              |    2 +-
 tests/xfs/172              |    2 +-
 tests/xfs/173              |    2 +-
 tests/xfs/174              |    2 +-
 tests/xfs/181              |    2 +-
 tests/xfs/185              |    2 +-
 tests/xfs/188              |    2 +-
 tests/xfs/194              |    2 +-
 tests/xfs/206              |    2 +-
 tests/xfs/291              |    2 +-
 tests/xfs/292              |    2 +-
 tests/xfs/293              |    2 +-
 tests/xfs/295              |    2 +-
 tests/xfs/297              |    2 +-
 tests/xfs/303              |    2 +-
 184 files changed, 175 insertions(+), 13103 deletions(-)
 delete mode 100644 tests/generic/088.out.irix
 delete mode 100644 tests/xfs/018.op.irix
 delete mode 100644 tests/xfs/022.out.irix
 delete mode 100644 tests/xfs/023.out.irix
 delete mode 100644 tests/xfs/030.out.irix
 delete mode 100644 tests/xfs/031.out.irix
 delete mode 100644 tests/xfs/033.out.irix
 delete mode 100644 tests/xfs/035.out.irix
 delete mode 100644 tests/xfs/036.out.irix
 delete mode 100644 tests/xfs/039.out.irix
 delete mode 100644 tests/xfs/043.out.irix
 delete mode 100644 tests/xfs/055.out.irix
 delete mode 100644 tests/xfs/082.op.irix
 delete mode 100644 tests/xfs/146.out.irix
lib/str_to_bytes.c +1 -1
index c0d7d974..ef5d4fd9 100644
@@ -124,7 +124,7 @@ char    *s;
 }
 
 /*
- * Force 64 bits number when compiled as 32 IRIX binary.
+ * Force 64 bits number when compiled as a 32-bit binary.
  * This allows for a number bigger than 2G.
  */
 
ltp/rwtest.sh +0 -1
index da42caa1..a001c571 100755
@@ -252,7 +252,6 @@ fi
 #
 
 case $(uname -s) in
-	IRIX | IRIX64 )		dfOpts="-Pb"	;;
 	Linux)			dfOpts="-P"	;;
 	*)			dfOpts="-PB"	;;
 esac
src/fill2fs +1 -4
index 60d52be3..1c3383a8 100755
@@ -37,8 +37,6 @@
 use Getopt::Long;
 use File::Basename;
 
-chomp($os = `uname`);
-
 #
 # fsinfo: get filesystem info put it into the global namespace, initialises:
 #	$dev, $type, $blocks, $used, $avail, $cap, $mnt, $mnt_options
@@ -53,8 +51,7 @@ sub fsinfo {
 
   # filesystem space and mount point
   
-  $cmd = "df" if ($os =~ /IRIX/);
-  $cmd = "df -P -T --block-size=512" if ($os =~ /Linux/);
+  $cmd = "df -P -T --block-size=512";
   chomp($_ = `$cmd $file | tail -1`);
   $n = ($dev, $type, $blocks, $used, $avail, $cap, $mnt) = split(/ +/);
   die("df failed") if ($n != 7);
tests/generic/001 +1 -1
index e977a018..0edd41f1 100755
@@ -47,7 +47,7 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 verbose=true
tests/generic/002 +1 -1
index 0433882d..d8cffeaa 100755
@@ -42,7 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
tests/generic/005 +3 -6
index 70f60738..030d90b1 100755
@@ -23,9 +23,8 @@
 #
 
 #
-# Note1: On Linux, ELOOP limit used to be 32 but changed to 8, and lately
+# 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.
-# Note2: On IRIX, the limit is around the 30 mark.
 # 
 # What we are looking for here is: no panic due to blowing the stack;
 # and that the ELOOP error code is returned at some point (the actual
@@ -50,9 +49,7 @@ _cleanup()
 
 _touch()
 {
-    # On IRIX: Too many symbolic links in path name traversal
-    # On Linux: Too many levels of symbolic links
-    touch $@ 2>&1 | grep -q 'Too many.*symbolic links'
+    touch $@ 2>&1 | grep -q 'Too many levels of symbolic links'
     if [ $? -eq 0 ]; then
 	echo "ELOOP returned.  Good."
     else
@@ -69,7 +66,7 @@ _supported_fs generic
 _require_test
 _require_test_symlinks
 
-_supported_os Linux IRIX
+_supported_os Linux
 
 cd $TEST_DIR
 
tests/generic/006 +1 -1
index 7a38dbfa..7309f1f3 100755
@@ -53,7 +53,7 @@ _count()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 mkdir $TEST_DIR/permname.$$
tests/generic/007 +1 -1
index cfa45541..327bbe9c 100755
@@ -47,7 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 status=1 # default failure 
tests/generic/010 +1 -1
index 1c9d8f7e..d23a58b1 100755
@@ -55,7 +55,7 @@ _require_test_program "dbtest"
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
tests/generic/011 +1 -1
index f3c2f7cf..7c4b80c3 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 out=$TEST_DIR/dirstress.$$
tests/generic/013 +2 -6
index e31fe354..d1ba697b 100755
@@ -37,11 +37,7 @@ _cleanup()
     # we might get here with a RO FS
     _test_cycle_mount
     # now remove fsstress directory.
-    # N.B. rm(1) on IRIX can find problems when building up a long pathname
-    # such that what it has is greater the 1024 chars and will
-    # stop and complain - so get rid of complaint
-    # Ref. pv#935754
-    rm -rf $TEST_DIR/fsstress.$$.* 2>&1 | grep -v 'Path too long'
+    rm -rf $TEST_DIR/fsstress.$$.*
 }
 
 _filesize()
@@ -90,7 +86,7 @@ _do_test()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
tests/generic/014 +1 -1
index d2dcc282..28566956 100755
@@ -43,7 +43,7 @@ _cleanup()
 . ./common/filter
 
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_test
 _require_sparse_files
tests/generic/015 +1 -1
index 66c33c22..78f2b13d 100755
@@ -48,7 +48,7 @@ _free()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/generic/029 +1 -1
index a83d02d3..c2f02fb9 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 
 testfile=$SCRATCH_MNT/testfile
tests/generic/030 +1 -1
index 8e6827db..8b7e6fba 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_xfs_io_command "mremap"
 
tests/generic/031 +1 -1
index fcb5f89b..3f25f8b8 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_xfs_io_command "fcollapse"
 
tests/generic/043 +1 -1
index 784683eb..5dadab32 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/044 +1 -1
index f0dc0df1..804b1b17 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/045 +1 -1
index b49d09e3..5fa7b09f 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/046 +1 -1
index 54cb557b..bf38d53a 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/047 +1 -1
index 20f157e5..7d09b04c 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/048 +1 -1
index dc2ab204..ae561fca 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/049 +1 -1
index c7f19446..ef2b44c4 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_scratch_shutdown
tests/generic/052 +1 -1
index 65d430d1..cf0f4568 100755
@@ -41,7 +41,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full
 rm -f $tmp.log
tests/generic/054 +1 -1
index 4d4be59b..db415009 100755
@@ -40,7 +40,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full $tmp.*
 _require_scratch
tests/generic/055 +1 -1
index aed3b28c..1bbe3108 100755
@@ -67,7 +67,7 @@ _get_quota_option()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full $tmp.*
 _require_scratch
tests/generic/068 +1 -1
index f9f5f5aa..bd12278c 100755
@@ -49,7 +49,7 @@ trap "_cleanup" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_freeze
tests/generic/069 +1 -1
index aaf6bbf5..15586e9b 100755
@@ -37,7 +37,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 rm -f $seqres.full
tests/generic/070 +1 -1
index 7591b25c..de0c45c7 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_test
 _require_attrs
tests/generic/074 +8 -29
index 737b49bf..5f205b50 100755
@@ -42,7 +42,7 @@ _cleanup()
 . ./common/filter
 
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
@@ -116,37 +116,16 @@ _process_args()
 # These params can take a while on different CPUs/OSs
 # so we set them differently for different machines
 #
-if [ $HOSTOS == "IRIX" ]; then 
-    if uname -R | grep -iq debug; then 
-        # e.g. getting around 37secs for 1,1,1 on IP30 debug
-	numchildren=2
-	numloops=1
-	numfiles=2
-        param_type="IRIX debug"
-    else
-        # getting around 1 sec 1,1,1 - 10secs 1,10,1 on IP30 nondebug
+if uname -a | grep -q SMP; then
+	numloops=10
+	numfiles=5
+	numchildren=3
+	param_type="Linux SMP"
+else
 	numloops=2
 	numfiles=3
 	numchildren=3
-        param_type="IRIX nondebug"
-    fi
-elif [ $HOSTOS == "Linux" ]; then
-    if uname -a | grep -q SMP; then
-        numloops=10
-        numfiles=5
-        numchildren=3
-        param_type="Linux SMP"
-    else
-        numloops=2
-        numfiles=3
-        numchildren=3
-        param_type="Linux UP"
-    fi
-else
-    numloops=1
-    numfiles=1
-    numchildren=1
-    param_type="Default"
+	param_type="Linux UP"
 fi
 
 # can override the params here
tests/generic/075 +1 -1
index 6a214bc3..321c7217 100755
@@ -124,7 +124,7 @@ _process_args()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 size10=`expr 10 \* 1024 \* 1024`	# 10 megabytes
tests/generic/076 +1 -1
index a29f160a..ac765333 100755
@@ -53,7 +53,7 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_local_device $SCRATCH_DEV
tests/generic/080 +1 -1
index 43c93d73..a4c111b9 100755
@@ -41,7 +41,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 echo "Silence is golden."
tests/generic/083 +1 -1
index 2f8c4a0d..9f09a7b0 100755
@@ -53,7 +53,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/generic/086 +1 -1
index 5eeee50e..9c92c9bd 100755
@@ -51,7 +51,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 _require_xfs_io_command "falloc"
 
tests/generic/088 +1 -1
index 46ce6ae4..1f01c4f5 100755
@@ -47,7 +47,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 path=$TEST_DIR/t_access
tests/generic/088.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/generic/088.out.irix deleted +0 -0
deleted file mode 100644
index f31ecf90..00000000
tests/generic/096 +1 -1
index daf9981a..bfdb93a1 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_xfs_io_command "fzero"
 
tests/generic/100 +1 -1
index e5e819dc..8aff7b44 100755
@@ -43,7 +43,7 @@ _cleanup()
  
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 # Use _populate_fs() in common/rc to create a directory structure.
tests/generic/105 +2 -9
index 9b7beb4d..8b6aa526 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 # real QA test starts here
 
@@ -78,14 +78,7 @@ echo data > subdir/file
 _ls_l subdir/file | awk '{ print $1, $3 }'
 
 # add an ACL with a user ACE which has no exec permission 
-if [ "$HOSTOS" == "Linux" ]; then
-    setfacl -m u:$acl1:r subdir
-elif [ "$HOSTOS" == "IRIX" ]; then
-    chacl u:$acl:r--,g::---,o::--- subdir
-else
-    echo "Unknown OS!"
-    exit 1
-fi
+setfacl -m u:$acl1:r subdir
 
 # With the bug this gives: `ls: subdir/file: Permission denied'
 # because one needs at least an exec perm somewhere in acl
tests/generic/117 +1 -1
index b634861d..58165eaa 100755
@@ -76,7 +76,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_attrs
tests/generic/120 +1 -1
index 9cf4ea8d..7d65f620 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_atime
tests/generic/123 +1 -1
index 453ede4b..e0948dff 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_test
 _require_user
tests/generic/130 +1 -1
index 1e96630e..90bd1693 100755
@@ -46,7 +46,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _require_sparse_files
tests/generic/132 +1 -1
index aa52c7db..24e568b2 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 
tests/generic/133 +1 -1
index f1a221e0..37a86e83 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 _require_test
 _require_odirect
 
tests/generic/135 +1 -1
index 14b81321..52c1227b 100755
@@ -37,7 +37,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_odirect
 _require_scratch
tests/generic/184 +1 -1
index d7c0eb9a..5690cd18 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $TEST_DIR/null
tests/generic/219 +1 -1
index bdeb0334..9a8d017e 100755
@@ -41,7 +41,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_quota
 _require_user
tests/generic/226 +1 -1
index a099ec6d..cf6913ee 100755
@@ -35,7 +35,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 _require_scratch
 _require_odirect
 
tests/generic/230 +1 -1
index 28ca87da..0d2b2794 100755
@@ -41,7 +41,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_quota
 _require_user
tests/generic/234 +1 -1
index 75a2c23c..4605072e 100755
@@ -88,7 +88,7 @@ test_setting()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_quota
 
tests/generic/235 +1 -1
index 309540ac..f991b1b7 100755
@@ -41,7 +41,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_quota
 _require_user
tests/generic/273 +1 -1
index 578b1dab..de787e7a 100755
@@ -125,7 +125,7 @@ _do_workload()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 
 echo "------------------------------"
tests/generic/274 +1 -1
index 61ab2209..7d093865 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_xfs_io_command "falloc"
 
tests/generic/275 +1 -1
index 955c4aca..4129cfcf 100755
@@ -44,7 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 
 echo "------------------------------"
tests/generic/309 +1 -1
index c6b89db9..9dee88c7 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 echo "Silence is golden"
tests/generic/313 +1 -1
index a9069260..5a3cb859 100755
@@ -44,7 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 testfile=$TEST_DIR/testfile.$seq
tests/generic/320 +1 -1
index 3dd3bead..83ad21f4 100755
@@ -49,7 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 
 threads=100
tests/generic/378 +1 -1
index 8139b4d5..7f4d3061 100755
@@ -51,7 +51,7 @@ rm -f $seqres.full
 
 # real QA test starts here
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 _require_user
 
tests/generic/379 +1 -1
index fb7420b0..408ade56 100755
@@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 cp /dev/null $seqres.full
 chmod ugo+rwx $seqres.full
tests/generic/380 +1 -1
index 2a6dbb78..7d2e1d2b 100755
@@ -48,7 +48,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_quota
tests/generic/384 +2 -6
index 452d26e3..fd162b60 100755
@@ -46,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs generic
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_test
 _require_quota
@@ -97,11 +97,7 @@ touch $dir/2
 cp $dir/2 $dir/3
 report_quota
 
-if [ "$HOSTOS" == "IRIX" ] ; then
-    mkfile 1M $TEST_DIR/6
-else
-    xfs_mkfile 1M $TEST_DIR/6
-fi
+xfs_mkfile 1M $TEST_DIR/6
 
 #try cp to dir
 cp $TEST_DIR/6 $dir/6
tests/generic/403 +1 -1
index 81d36608..17897ffb 100755
@@ -49,7 +49,7 @@ rm -f $seqres.full
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_attrs
 
tests/generic/416 +1 -1
index 925524b8..7c6ced75 100755
@@ -50,7 +50,7 @@ rm -f $seqres.full
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 
 fs_size=$((128 * 1024 * 1024))
tests/generic/424 +1 -1
index 1810e850..3653a31b 100755
@@ -50,7 +50,7 @@ rm -f $seqres.full
 
 # Modify as appropriate.
 _supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 _require_test_program stat_test
 _require_statx
tests/udf/102 +1 -1
index 8fd46976..dd644c01 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs udf 
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _setup_udf_scratchdir
tests/xfs/003 +3 -9
index 0fd4cfa0..3cc52423 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 [ -f core ] && rm -f core
@@ -72,14 +72,8 @@ test_done
 echo "=== TEST 5 ==="
 xfs_db -r -c 'inode 128' -c 'push' -c 'type' $TEST_DEV >$tmp.out 2>&1
 test_done
-# On IRIX we lose state after a "push" operation and don't
-# know the type is still inode
-# Probably not worth changing xfs_db on IRIX for this.
-if [ "$HOSTOS" != "IRIX" ]; then
-    if ! grep -q "current type is \"inode\"" $tmp.out
-    then
-	    cat $tmp.out
-    fi
+if ! grep -q "current type is \"inode\"" $tmp.out; then
+    cat $tmp.out
 fi
 
 echo "=== TEST 6 ==="
tests/xfs/004 +2 -4
index f27f4b79..f06c4f0f 100755
@@ -58,7 +58,7 @@ _populate_scratch()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
@@ -67,9 +67,7 @@ rm -f $seqres.full
 
 _populate_scratch
 
-[ "$HOSTOS" = "Linux" ] && DF_PROG="$DF_PROG -P --block-size=512"
-
-eval `$DF_PROG $SCRATCH_MNT 2>&1 \
+eval `$DF_PROG -P --block-size=512 $SCRATCH_MNT 2>&1 \
 	| tail -1 | $AWK_PROG '{ printf "blocks=%u used=%u avail=%u\n", $3, $4, $5 }'`
 echo "df gave: blocks=$blocks used=$used avail=$avail" >>$seqres.full
 echo "blocksize from mkfs is '$dbsize'" >>$seqres.full
tests/xfs/007 +1 -1
index 92ec915f..d80d380f 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os Linux Irix
+_supported_os Linux
 
 _require_scratch
 _require_xfs_quota
tests/xfs/008 +1 -1
index 9f22087d..d38d320f 100755
@@ -86,7 +86,7 @@ _do_test()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
tests/xfs/009 +1 -1
index abef2e05..1a5bd4d3 100755
@@ -76,7 +76,7 @@ _filesize()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/012 +1 -1
index 7b9a54d2..e2c810dd 100755
@@ -103,7 +103,7 @@ _do_test()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 rm -f $seqres.full
tests/xfs/018 +2 -6
index 451735fd..253af940 100755
@@ -47,7 +47,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 # prelim
 rm -f $seqres.full $tmp.*
 _require_scratch
@@ -68,11 +68,7 @@ cat >$tmp.seq.params <<EOF
   version=2     logbsize=256k
 EOF
 
-if [ "$HOSTOS" = "IRIX" ]; then
-    start_blk=0
-else
-    start_blk=2
-fi
+start_blk=2
 
 # do the work for various log params which
 # should not effect the data content of the log
tests/xfs/018.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/018.op.irix deleted +0 -0
deleted file mode 100644
index e3d3cd32..00000000
tests/xfs/019 +1 -1
index 4d2fdeda..3e4f1692 100755
@@ -63,7 +63,7 @@ _filter_stat()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/022 +2 -3
index b2b6142c..1cd6d28e 100755
@@ -43,13 +43,12 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $TAPE_DEV
 
 # note: fsstress uses an endian dependent random number generator, running this
-# will produce different output for big/little endian machines. This issue was
-# resolved by using different Linux/IRIX out files.
+# will produce different output for big/little endian machines.
 _create_dumpdir_stress
 _erase_hard
 _do_dump_sub
tests/xfs/022.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/022.out.irix deleted +0 -0
deleted file mode 100644
index f72876aa..00000000
tests/xfs/023 +1 -1
index 9a899a86..d304384b 100755
@@ -42,7 +42,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $TAPE_DEV
 _create_dumpdir_fill
tests/xfs/023.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/023.out.irix deleted +0 -0
deleted file mode 100644
index 97845dd4..00000000
tests/xfs/026 +1 -1
index 4cd77896..2111190b 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _create_dumpdir_fill
 _do_dump_file
tests/xfs/027 +1 -1
index 10056838..58a62482 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _create_dumpdir_fill
 _do_dump_restore
tests/xfs/028 +1 -1
index e6348902..19e09603 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # wipe test dir clean first
 # so dump can be real quick
tests/xfs/030 +1 -1
index 15f41edd..4d8d7d67 100755
@@ -67,7 +67,7 @@ _check_ag()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/030.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/030.out.irix deleted +0 -0
deleted file mode 100644
index 56adfd05..00000000
tests/xfs/031 +1 -1
index 59d68c31..678c3249 100755
@@ -95,7 +95,7 @@ EOF
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/031.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/031.out.irix deleted +0 -0
deleted file mode 100644
index 32e902d4..00000000
tests/xfs/032 +1 -1
index 6d644ad8..a6923b08 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_test_program "feature"
tests/xfs/033 +1 -1
index 45caf081..a6f93f29 100755
@@ -72,7 +72,7 @@ _filter_bad_ids()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/033.cfg +0 -1
index 88e90e57..768ca9e0 100644
@@ -1,3 +1,2 @@
-irix: irix
 linux,crc: crc.linux
 linux: linux
tests/xfs/033.out.irix deleted +0 -0
deleted file mode 100644
index 59601179..00000000
tests/xfs/035 +1 -1
index 25f2f697..6b6c86b7 100755
@@ -41,7 +41,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $TAPE_DEV
 _create_dumpdir_fill
tests/xfs/035.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/035.out.irix deleted +0 -0
deleted file mode 100644
index 653f950a..00000000
tests/xfs/036 +1 -1
index 280d0366..c65523f5 100755
@@ -41,7 +41,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $RMT_IRIXTAPE_DEV
 _create_dumpdir_fill
tests/xfs/036.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/036.out.irix deleted +0 -0
deleted file mode 100644
index 6680373f..00000000
tests/xfs/039 +1 -1
index 2f765b82..62735906 100755
@@ -41,7 +41,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $RMT_IRIXTAPE_DEV
 _create_dumpdir_fill
tests/xfs/039.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/039.out.irix deleted +0 -0
deleted file mode 100644
index 9bd188fe..00000000
tests/xfs/041 +1 -1
index 50385288..1b9500f7 100755
@@ -46,7 +46,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/042 +1 -1
index ba5eed32..182cebc3 100755
@@ -46,7 +46,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/043 +1 -1
index 59eeff6e..caca73da 100755
@@ -43,7 +43,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $TAPE_DEV 
 _create_dumpdir_fill
tests/xfs/043.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/043.out.irix deleted +0 -0
deleted file mode 100644
index 61c226cc..00000000
tests/xfs/046 +1 -1
index 841c12b6..446a69dc 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _create_dumpdir_symlinks
 _do_dump_file
tests/xfs/047 +1 -1
index d7c0dce0..6ade1678 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # wipe test dir clean first
 # so dump can be real quick
tests/xfs/048 +1 -1
index 3dd685f0..32dbc057 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 src/fault $TEST_DIR || exit
tests/xfs/050 +3 -13
index 130df77e..ac7feb48 100755
@@ -46,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 cp /dev/null $seqres.full
 chmod a+rwx $seqres.full	# arbitrary users will write here
@@ -213,12 +213,7 @@ EOF
 projid_file="$tmp.projid"
 
 echo "*** user"
-if [ "$HOSTOS" == "IRIX" ]
-then
-	_qmount_option "quota"
-else
-	_qmount_option "uquota"
-fi
+_qmount_option "uquota"
 _exercise u
 
 echo "*** group"
@@ -226,12 +221,7 @@ _qmount_option "gquota"
 _exercise g
 
 echo "*** uqnoenforce"
-if [ "$HOSTOS" == "IRIX" ]
-then
-	_qmount_option "qnoenforce"
-else
-	_qmount_option "uqnoenforce"
-fi
+_qmount_option "uqnoenforce"
 _exercise uno
 
 echo "*** gqnoenforce"
tests/xfs/052 +1 -1
index 56231f37..faad218e 100755
@@ -48,7 +48,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full
 
tests/xfs/053 +1 -1
index 80c244dd..353dda34 100755
@@ -48,7 +48,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # real QA test starts here
 
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_attrs
 
tests/xfs/055 +1 -1
index 920ba288..383058a5 100755
@@ -41,7 +41,7 @@ _link_out_file
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_tape $RMT_TAPE_USER@$RMT_IRIXTAPE_DEV
 _create_dumpdir_fill
tests/xfs/055.out.irix deleted +0 -0
deleted file mode 100644
index 8bff6e9c..00000000
tests/xfs/056 +1 -1
index 7e2624a2..613539a7 100755
@@ -38,7 +38,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _create_dumpdir_fill_perm
 _do_dump_file
tests/xfs/061 +1 -1
index 2600f03d..8a4e254a 100755
@@ -37,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # src/dumpfile based on dumping from
 # _create_dumpdir_fill_perm (small dump)
tests/xfs/064 +1 -1
index 410b4870..306e2cce 100755
@@ -51,7 +51,7 @@ _ls_size_filter()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _create_dumpdir_hardlinks 9
 
tests/xfs/065 +1 -1
index 6b2139f3..b7da0b8c 100755
@@ -58,7 +58,7 @@ _list_dir()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 #
 # too much hassle to get output matching with quotas turned on
tests/xfs/066 +1 -1
index 736439b4..061ce2dd 100755
@@ -44,7 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 _my_stat_filter()
tests/xfs/071 +1 -1
index cf69b66b..c214dd51 100755
@@ -100,7 +100,7 @@ write_block()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
 
tests/xfs/072 +1 -1
index 43aa4211..5393cf8b 100755
@@ -44,7 +44,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
 
tests/xfs/080 +0 -6
index e0f5b1b9..20c4a72a 100755
@@ -42,9 +42,6 @@ _cleanup()
 }
 
 _supported_fs xfs
-
-# Apparently should be able to work on IRIX,
-# but not at the moment.
 _supported_os Linux
 _require_test
 
@@ -57,9 +54,6 @@ echo
 
 # real QA test starts here
 
-# to get sh working like ksh on IRIX
-export _XPG=1
-
 $here/ltp/rwtest.sh $quiet $clean -i 2000 -f direct,buffered,sync
 status=$?
 [ $status -ne 0 ] && exit
tests/xfs/081 +2 -8
index 6f6f8256..b54c8d54 100755
@@ -38,7 +38,7 @@ status=1	# failure is the default!
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _cleanup()
 {
@@ -62,12 +62,6 @@ _scratch_unmount >/dev/null 2>&1
 # do a simple quota test to ensure DQUOT data is happening
 export MOUNT_OPTIONS="-o quota,gquota"
 
-if [ "$HOSTOS" = "IRIX" ]; then 
-    start=0
-else
-    start=2
-fi
-
 # mount with quotas?
 _scratch_mkfs_xfs "-l version=1" 1>/dev/null 2>&1
 _qmount
@@ -77,7 +71,7 @@ _scratch_unmount
 _mkfs_log "-l version=1"
 _create_log
 _check_log
-_print_transaction_inode $start
+_print_transaction_inode 2
 _cmp_output $seq.ugquota.trans_inode $filtered
 
 # got thru it all so we may have success
tests/xfs/082 +1 -7
index 0c0b98af..f824d5ef 100755
@@ -47,7 +47,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # prelim
 rm -f $seqres.full $tmp.*
@@ -88,12 +88,6 @@ for s in sync nosync ; do
 	if [ "$mkfs" = "#" ]; then 
 	    continue
 	fi
-	if [ "$HOSTOS" = "IRIX" ]; then 
-	    # don't have umount rec at start on IRIX
-	    # so we won't have to skip over it and get to 
-	    # another stripe boundary
-	    start=0
-	fi
 	echo "--- mkfs=$mkfs, mnt=$mnt, sync=$s ---"
 	export MOUNT_OPTIONS="-o $mnt"
 	if ! _mkfs_log "-l $mkfs"; then
tests/xfs/082.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/082.op.irix deleted +0 -0
deleted file mode 100644
index e3d3cd32..00000000
tests/xfs/084 +1 -9
index 7aa193b5..6d20ef3a 100755
@@ -50,17 +50,9 @@ pgsize=`$here/src/feature -s`
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
-if [ $HOSTOS == "IRIX" ]; then 
-    if uname -R | grep -iq debug; then 
-        # taking up to 23 mins on my 512K octane on debug
-        # not worth worrying about
-	_notrun "don't bother running on debug IRIX"
-    fi
-fi
-
 echo
 echo "*** First case - I/O blocksize same as pagesize"
 $here/src/resvtest -i 20 -b $pgsize "$TEST_DIR/resv" | _filter_resv
tests/xfs/092 +1 -1
index f195077d..5a693195 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_no_large_scratch_dev
 
tests/xfs/094 +1 -1
index bf9eb2f9..d3606f81 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_realtime
 _require_scratch
 
tests/xfs/096 +1 -1
index 64754b2a..a9451f43 100755
@@ -102,7 +102,7 @@ rm -f $seqres.full
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_v2log
 _require_xfs_mkfs_without_validation
tests/xfs/103 +1 -1
index 48b8c59c..024416bd 100755
@@ -64,7 +64,7 @@ _filter_noymlinks_flag()
 }
 
 # real QA test starts here
-_supported_os Linux IRIX
+_supported_os Linux
 _supported_fs xfs
 _require_scratch
 
tests/xfs/107 +1 -1
index 2bd20a3d..7640bff3 100755
@@ -51,7 +51,7 @@ s/Inode: \#\d+ \(\d+ blocks, \d+ extents\)/Inode: #[INO] (X blocks, Y extents)/;
 }
 
 _supported_fs xfs
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_xfs_quota
 
tests/xfs/108 +1 -1
index addb8e7d..86415366 100755
@@ -38,7 +38,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux #IRIX
+_supported_os Linux
 _require_scratch
 _require_xfs_quota
 
tests/xfs/116 +1 -1
index 1d13d15d..af2bcb99 100755
@@ -47,7 +47,7 @@ _cleanup()
 # real QA test starts here
 
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_xfs_quota
tests/xfs/118 +1 -1
index a5f5593f..fac3aa77 100755
@@ -53,7 +53,7 @@ _cleanup()
 rm -f $seqres.full
 
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_command "$XFS_FSR_PROG" "xfs_fsr"
tests/xfs/119 +1 -1
index 156d5e4a..ad6db455 100755
@@ -47,7 +47,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/121 +1 -1
index d301808b..2f84a3c8 100755
@@ -42,7 +42,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full
 rm -f $tmp.log
tests/xfs/136 +1 -1
index 0177698a..cbba64f7 100755
@@ -50,7 +50,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_attrs
tests/xfs/142 +1 -1
index a1efcc23..8a11d8bc 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/143 +1 -1
index c389a2b8..4a3bd473 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/144 +1 -1
index 41041c4e..da3995e9 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/145 +1 -1
index 44b3e4ef..14a979b5 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/146 +1 -1
index f6cd3f30..ea448db2 100755
@@ -45,7 +45,7 @@ _report_filter () {
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 # link correct .out file
 _link_out_file
tests/xfs/146.cfg +0 -1
index 7ffdfc07..7fd51a7d 100644
@@ -1,2 +1 @@
-irix: irix
 linux: linux
tests/xfs/146.out.irix deleted +0 -0
deleted file mode 100644
index 827be545..00000000
tests/xfs/147 +1 -1
index 73ff7f9f..26b885c7 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/148 +1 -1
index 42c04810..89f6906d 100755
@@ -63,7 +63,7 @@ _check_ag()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/149 +1 -1
index 1307d5c0..a72a5ba4 100755
@@ -97,7 +97,7 @@ EOF
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_no_large_scratch_dev
tests/xfs/150 +1 -1
index f9e690a9..8ab2682d 100755
@@ -43,7 +43,7 @@ _filter_fs_handle()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/151 +1 -1
index bba70944..982f10b4 100755
@@ -64,7 +64,7 @@ _check_sids()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/152 +1 -1
index 72bdabf2..1a6473f2 100755
@@ -44,7 +44,7 @@ _filter_handles()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/153 +1 -1
index cac77228..4fd348d6 100755
@@ -39,7 +39,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/154 +1 -1
index 810a6ac1..398dd280 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/155 +1 -1
index 1a1631e2..6f5ebfe3 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/156 +1 -1
index d6e22b66..9e17e078 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/157 +1 -1
index bf655902..ac7b63b7 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/158 +1 -1
index 596f4c24..22710a12 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/159 +1 -1
index fc5193ff..29bd7243 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/160 +1 -1
index 9a2e2d04..8b8e2ec4 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/161 +1 -1
index 11e53def..4124c7f9 100755
@@ -45,7 +45,7 @@ _filter_get_allocinfo()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/162 +1 -1
index 4edb68fd..4e6fc6f7 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/163 +1 -1
index e283545c..32fff300 100755
@@ -49,7 +49,7 @@ _filter_handles()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
tests/xfs/164 +1 -1
index 64133240..d8efaa63 100755
@@ -66,7 +66,7 @@ _filter_bmap()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 testfile=$TEST_DIR/file.$seq
tests/xfs/165 +1 -1
index 4080a88d..c4ae531f 100755
@@ -63,7 +63,7 @@ _filter_bmap()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 # io tests 
tests/xfs/170 +1 -1
index f772bc40..c5ae8e45 100755
@@ -47,7 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/172 +1 -1
index 43ef5ab1..17463d79 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/173 +1 -1
index 8c4f9a6f..3a20a9e4 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/174 +1 -1
index 5e2e61b0..daa65a96 100755
@@ -46,7 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 
tests/xfs/181 +1 -1
index a2010455..07d75171 100755
@@ -49,7 +49,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 rm -f $seqres.full
 rm -f $tmp.log
tests/xfs/185 +1 -1
index 17334de5..d7dfef7a 100755
@@ -38,7 +38,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os Linux IRIX
+_supported_os Linux
 
 _require_scratch
 _scratch_mkfs_xfs -b size=512 >/dev/null 2>&1
tests/xfs/188 +1 -1
index 8798ecf9..370b93ca 100755
@@ -51,7 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_xfs_mkfs_ciname
 rm -f $seqres.full
tests/xfs/194 +1 -1
index e9e85889..3226431f 100755
@@ -42,7 +42,7 @@ _cleanup()
 
 # only xfs supported due to use of xfs_bmap
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # real QA test starts here
 rm -f $seqres.full
tests/xfs/206 +1 -1
index d549a4cc..70997e3f 100755
@@ -52,7 +52,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 _require_loop
 
tests/xfs/291 +1 -1
index c1cbe32c..3f5295c5 100755
@@ -41,7 +41,7 @@ _cleanup()
 . ./common/filter
 
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 # real QA test starts here
 rm -f $seqres.full
tests/xfs/292 +1 -1
index db890b5d..98404085 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_test
 
 fsfile=$TEST_DIR/fsfile.$seq
tests/xfs/293 +1 -1
index 6ac08c6f..60245a99 100755
@@ -44,7 +44,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_command "$MAN_PROG" man
 
tests/xfs/295 +1 -1
index 2325537c..c783df72 100755
@@ -45,7 +45,7 @@ _cleanup()
 
 # Modify as appropriate.
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 _require_scratch
 _require_attrs
 
tests/xfs/297 +1 -1
index 9accffd4..708a7f86 100755
@@ -44,7 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 _require_scratch
 _require_freeze
tests/xfs/303 +1 -1
index de7b27ea..532abd7f 100755
@@ -43,7 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_supported_os IRIX Linux
+_supported_os Linux
 
 echo "Silence is golden"
 
Signature · 1 line
2.13.3
#12 lore raw

PATCH v2 12/15 tests: clean up per-OS output files

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

Some tests had separate output files for IRIX and Linux. Now that the IRIX ones have been removed, rename the Linux ones and remove the now-unneeded .cfg files and calls to _link_out_file.

---
 .gitignore                                   | 13 -------------
 tests/generic/088                            |  3 ---
 tests/generic/088.cfg                        |  1 -
 tests/generic/{088.out.linux => 088.out}     |  0
 tests/xfs/018                                |  3 ---
 tests/xfs/018.cfg                            |  1 -
 tests/xfs/{018.op.linux => 018.op}           |  0
 tests/xfs/022                                |  3 ---
 tests/xfs/022.cfg                            |  1 -
 tests/xfs/{022.out.linux => 022.out}         |  0
 tests/xfs/023                                |  3 ---
 tests/xfs/023.cfg                            |  1 -
 tests/xfs/{023.out.linux => 023.out}         |  0
 tests/xfs/030                                |  3 ---
 tests/xfs/030.cfg                            |  1 -
 tests/xfs/{030.out.linux => 030.out}         |  0
 tests/xfs/031                                |  3 ---
 tests/xfs/031.cfg                            |  1 -
 tests/xfs/{031.out.linux => 031.out}         |  0
 tests/xfs/033                                |  4 ++--
 tests/xfs/033.cfg                            |  3 +--
 tests/xfs/{033.out.crc.linux => 033.out.crc} |  0
 tests/xfs/{033.out.linux => 033.out.default} |  0
 tests/xfs/035                                |  3 ---
 tests/xfs/035.cfg                            |  1 -
 tests/xfs/{035.out.linux => 035.out}         |  0
 tests/xfs/036                                |  3 ---
 tests/xfs/036.cfg                            |  1 -
 tests/xfs/{036.out.linux => 036.out}         |  0
 tests/xfs/039                                |  3 ---
 tests/xfs/039.cfg                            |  1 -
 tests/xfs/{039.out.linux => 039.out}         |  0
 tests/xfs/043                                |  3 ---
 tests/xfs/043.cfg                            |  1 -
 tests/xfs/{043.out.linux => 043.out}         |  0
 tests/xfs/055                                |  3 ---
 tests/xfs/{055.out.linux => 055.out}         |  0
 tests/xfs/082                                |  3 ---
 tests/xfs/082.cfg                            |  1 -
 tests/xfs/{082.op.linux => 082.op}           |  0
 tests/xfs/146                                |  3 ---
 tests/xfs/146.cfg                            |  1 -
 tests/xfs/{146.out.linux => 146.out}         |  0
 43 files changed, 3 insertions(+), 68 deletions(-)
 delete mode 100644 tests/generic/088.cfg
 rename tests/generic/{088.out.linux => 088.out} (100%)
 delete mode 100644 tests/xfs/018.cfg
 rename tests/xfs/{018.op.linux => 018.op} (100%)
 delete mode 100644 tests/xfs/022.cfg
 rename tests/xfs/{022.out.linux => 022.out} (100%)
 delete mode 100644 tests/xfs/023.cfg
 rename tests/xfs/{023.out.linux => 023.out} (100%)
 delete mode 100644 tests/xfs/030.cfg
 rename tests/xfs/{030.out.linux => 030.out} (100%)
 delete mode 100644 tests/xfs/031.cfg
 rename tests/xfs/{031.out.linux => 031.out} (100%)
 rename tests/xfs/{033.out.crc.linux => 033.out.crc} (100%)
 rename tests/xfs/{033.out.linux => 033.out.default} (100%)
 delete mode 100644 tests/xfs/035.cfg
 rename tests/xfs/{035.out.linux => 035.out} (100%)
 delete mode 100644 tests/xfs/036.cfg
 rename tests/xfs/{036.out.linux => 036.out} (100%)
 delete mode 100644 tests/xfs/039.cfg
 rename tests/xfs/{039.out.linux => 039.out} (100%)
 delete mode 100644 tests/xfs/043.cfg
 rename tests/xfs/{043.out.linux => 043.out} (100%)
 rename tests/xfs/{055.out.linux => 055.out} (100%)
 delete mode 100644 tests/xfs/082.cfg
 rename tests/xfs/{082.op.linux => 082.op} (100%)
 delete mode 100644 tests/xfs/146.cfg
 rename tests/xfs/{146.out.linux => 146.out} (100%)
.gitignore +0 -13
index c0736486..fcbc0cd4 100644
@@ -234,19 +234,6 @@
 /dmapi/src/suite2/src/test_rights
 
 # Symlinked files
-/tests/generic/088.out
-/tests/xfs/018.op
-/tests/xfs/022.out
-/tests/xfs/023.out
-/tests/xfs/030.out
-/tests/xfs/031.out
 /tests/xfs/033.out
-/tests/xfs/035.out
-/tests/xfs/036.out
-/tests/xfs/039.out
-/tests/xfs/043.out
-/tests/xfs/055.out
 /tests/xfs/071.out
-/tests/xfs/082.op
 /tests/xfs/096.out
-/tests/xfs/146.out
tests/generic/088 +0 -3
index 1f01c4f5..8d31741b 100755
@@ -42,9 +42,6 @@ _filter()
     _filter_test_dir | sed -e '/----------/d'
 }
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs generic
 _supported_os Linux
tests/generic/088.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/generic/088.out renamed from tests/generic/088.out.linux +0 -0
similarity index 100%
rename from tests/generic/088.out.linux
rename to tests/generic/088.out
tests/xfs/018 +0 -3
index 253af940..b2913821 100755
@@ -53,9 +53,6 @@ rm -f $seqres.full $tmp.*
 _require_scratch
 _require_v2log
 
-# link correct .out file
-_link_out_file_named $seqfull.op $(_get_os_name)
-
 echo "*** init FS"
 _scratch_unmount >/dev/null 2>&1
 
tests/xfs/018.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/018.op renamed from tests/xfs/018.op.linux +0 -0
similarity index 100%
rename from tests/xfs/018.op.linux
rename to tests/xfs/018.op
tests/xfs/022 +0 -3
index 1cd6d28e..ebe539ab 100755
@@ -38,9 +38,6 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/022.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/022.out renamed from tests/xfs/022.out.linux +0 -0
similarity index 100%
rename from tests/xfs/022.out.linux
rename to tests/xfs/022.out
tests/xfs/023 +0 -3
index d304384b..fff49d56 100755
@@ -37,9 +37,6 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/023.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/023.out renamed from tests/xfs/023.out.linux +0 -0
similarity index 100%
rename from tests/xfs/023.out.linux
rename to tests/xfs/023.out
tests/xfs/030 +0 -3
index 4d8d7d67..bc807753 100755
@@ -45,9 +45,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common/filter
 . ./common/repair
 
-# link correct .out file
-_link_out_file
-
 # nuke the superblock, AGI, AGF, AGFL; then try repair the damage
 #
 _check_ag()
tests/xfs/030.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/030.out renamed from tests/xfs/030.out.linux +0 -0
similarity index 100%
rename from tests/xfs/030.out.linux
rename to tests/xfs/030.out
tests/xfs/031 +0 -3
index 678c3249..b05f28b0 100755
@@ -38,9 +38,6 @@ rm -f $seqres.full
 . ./common/repair
 . ./common/filter
 
-# link correct .out file
-_link_out_file
-
 _check_repair()
 {
 	echo "Repairing, round 0" >> $seqres.full
tests/xfs/031.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/031.out renamed from tests/xfs/031.out.linux +0 -0
similarity index 100%
rename from tests/xfs/031.out.linux
rename to tests/xfs/031.out
tests/xfs/033 +2 -2
index a6f93f29..321856fc 100755
@@ -86,9 +86,9 @@ if [ $isize -lt 512 ]; then
 fi
 
 # link correct .out file
-FEATURES=$(_get_os_name)
+FEATURES=
 if [ $_fs_has_crcs -eq 1 ]; then
-	FEATURES=$FEATURES,crc
+	FEATURES=crc
 fi
 _link_out_file_named $seqfull.out "$FEATURES"
 
tests/xfs/033.cfg +1 -2
index 768ca9e0..46df3b03 100644
@@ -1,2 +1 @@
-linux,crc: crc.linux
-linux: linux
+crc: crc
tests/xfs/033.out.crc renamed from tests/xfs/033.out.crc.linux +0 -0
similarity index 100%
rename from tests/xfs/033.out.crc.linux
rename to tests/xfs/033.out.crc
tests/xfs/033.out.default renamed from tests/xfs/033.out.linux +0 -0
similarity index 100%
rename from tests/xfs/033.out.linux
rename to tests/xfs/033.out.default
tests/xfs/035 +0 -3
index 6b6c86b7..1fde45df 100755
@@ -36,9 +36,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/035.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/035.out renamed from tests/xfs/035.out.linux +0 -0
similarity index 100%
rename from tests/xfs/035.out.linux
rename to tests/xfs/035.out
tests/xfs/036 +0 -3
index c65523f5..2a930b20 100755
@@ -36,9 +36,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/036.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/036.out renamed from tests/xfs/036.out.linux +0 -0
similarity index 100%
rename from tests/xfs/036.out.linux
rename to tests/xfs/036.out
tests/xfs/039 +0 -3
index 62735906..51d5544a 100755
@@ -36,9 +36,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/039.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/039.out renamed from tests/xfs/039.out.linux +0 -0
similarity index 100%
rename from tests/xfs/039.out.linux
rename to tests/xfs/039.out
tests/xfs/043 +0 -3
index caca73da..9bd6f1ec 100755
@@ -38,9 +38,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/043.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/043.out renamed from tests/xfs/043.out.linux +0 -0
similarity index 100%
rename from tests/xfs/043.out.linux
rename to tests/xfs/043.out
tests/xfs/055 +0 -3
index 383058a5..9f67e176 100755
@@ -36,9 +36,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/dump
 
-# link correct .out file
-_link_out_file
-
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
tests/xfs/055.out renamed from tests/xfs/055.out.linux +0 -0
similarity index 100%
rename from tests/xfs/055.out.linux
rename to tests/xfs/055.out
tests/xfs/082 +0 -3
index f824d5ef..03878379 100755
@@ -54,9 +54,6 @@ rm -f $seqres.full $tmp.*
 _require_scratch
 _require_v2log 
 
-# link correct .out file
-_link_out_file_named $seqfull.op $(_get_os_name)
-
 echo "*** init FS"
 _scratch_unmount >/dev/null 2>&1
 
tests/xfs/082.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/082.op renamed from tests/xfs/082.op.linux +0 -0
similarity index 100%
rename from tests/xfs/082.op.linux
rename to tests/xfs/082.op
tests/xfs/146 +0 -3
index ea448db2..9d93e951 100755
@@ -47,9 +47,6 @@ _report_filter () {
 _supported_fs xfs
 _supported_os Linux
 
-# link correct .out file
-_link_out_file
-
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
 _dmapi_scratch_mount
tests/xfs/146.cfg deleted +0 -0
deleted file mode 100644
index 7fd51a7d..00000000
tests/xfs/146.out renamed from tests/xfs/146.out.linux +0 -0
similarity index 100%
rename from tests/xfs/146.out.linux
rename to tests/xfs/146.out
Signature · 1 line
2.13.3
#13 lore raw

PATCH v2 13/15 common: remove IRIX-specific code

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

As xfstests is no longer supported on IRIX, remove IRIX-specific code from the common helper scripts.

---
 common/config      | 12 ------------
 common/dump        | 39 +++------------------------------------
 common/filestreams | 43 ++++++-------------------------------------
 common/log         |  1 -
 common/rc          | 23 +++--------------------
 5 files changed, 12 insertions(+), 106 deletions(-)
common/config +0 -12
index 5091db9d..80598d06 100644
@@ -52,15 +52,10 @@
 export LANG=C
 export LC_ALL=C
 
-# Warning: don't put freeware before /usr/bsd on IRIX coz you'll
-#  get the wrong hostname and set your system name to -s  :)
-[ -d /usr/bsd ] && PATH=$PATH:/usr/bsd
-[ -d /usr/freeware/bin ] && PATH=$PATH:/usr/freeware/bin
 PATH=".:$PATH"
 
 export HOST=`hostname -s`
 export HOSTOS=`uname -s`
-[ "$HOSTOS" = "IRIX64" ] && export HOSTOS="IRIX"
 
 export MODULAR=0               # using XFS as a module or not
 export BOOT="/boot"            # install target for kernels
@@ -220,13 +215,6 @@ fi
 export UDEV_SETTLE_PROG
 
 case "$HOSTOS" in
-    IRIX*)
-        export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`"
-        export MKFS_UDF_PROG="`set_prog_path mkfs_udf`"
-        export XFS_FSR_PROG="`set_prog_path /usr/etc/fsr_xfs`"
-        export MKFS_NFS_PROG="false"
-        export MKFS_CIFS_PROG="false"
-        ;;
     Linux)
         export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`"
         export MKFS_EXT4_PROG="`set_prog_path mkfs.ext4`"
common/dump +3 -36
index d6663e0c..b0e4a12f 100644
@@ -395,8 +395,6 @@ End-of-File
 
 _mk_fillconfig_perm()
 {
-    # dir_guid: ugo=rwx,g+s on dir is for IRIX chmod(1)
-
     cat <<End-of-File >$tmp.config
 # pathname	size/dir  user group mode
 #
@@ -406,7 +404,7 @@ file_sticky	10	$nobody	$nobody	01777
 file_mix1	10	$nobody	$nobody	761
 file_mix2	10	$nobody	$nobody	642
 dir_suid	d	$nobody	$nobody	04777
-dir_guid	d	$nobody	$nobody	ugo=rwx,g+s
+dir_guid	d	$nobody	$nobody	02777
 dir_sticky	d	$nobody	$nobody	01777
 dir_mix1	d	$nobody	$nobody	761
 dir_mix2	d	$nobody	$nobody	642
@@ -798,25 +796,6 @@ _ls_filter()
   | sed -e 's/total [0-9][0-9]*/total TOTAL/'
 }
 
-#
-# Filtering of Irix character hwgraph device names
-# e.g.
-# chardev: /hw/node/xtalk/15/pci/0/scsi_ctlr/0/target/1/lun/0/disk/partition/4/char
-# blkdev:  /dev/dsk/dks0d1s4
-#
-_filter_devchar()
-{
-    $AWK_PROG '
-	/\/hw\/node/ {
-	    sub(/\/hw.*scsi_ctlr\//,"/dev/dsk/dks")  # blah blah /dev/dsk/dks0/target/1/....
-	    sub(/\/target\//,"d")                    # blah blah /dev/dsk/dks0d1/lun/0/disk.....
-	    sub(/\/lun.*partition\//,"s")            # blah blah /dev/dsk/dks0d1s4/char
-	    sub(/\/char/,"")			     # blah blah /dev/dsk/dks0d1s4
-	}
-	{ print }
-    '
-}
-
 
 #
 # Filter out the non-deterministic dump msgs from
@@ -824,7 +803,6 @@ _filter_devchar()
 #
 _dump_filter_main()
 {
-  _filter_devchar |\
   sed \
       -e "s#$__XFSDUMP_PROG#xfsdump#"			\
       -e "s#$XFSRESTORE_PROG#xfsrestore#"		\
@@ -1191,7 +1169,7 @@ _do_restore_toc()
     echo "Contents of dump ..."
     opts="$_restore_debug$restore_args -f $dump_file -t"
     echo "xfsrestore $opts" | _dir_filter
-    cd $SCRATCH_MNT # for IRIX which needs xfs cwd
+    cd $SCRATCH_MNT
     $XFSRESTORE_PROG $opts 2>&1 | tee -a $seqres.full | _dump_filter_main |\
     _check_quota_file |\
     _check_quota_entries |\
@@ -1484,25 +1462,14 @@ _check_quota_entries()
 # xfsrestore: user quota information written to ...'
 # xfsrestore: group quota information written to ...'
 # xfsrestore: project quota information written to ...'
-#
-# If on IRIX then look for:
-# xfsrestore: use 'edquota' to restore quotas
-# Else look for:
 # xfsrestore: use 'xfs_quota' to restore quotas
 #
 _check_quota_dumprestore()
 {
-    if [ "$HOSTOS" == "IRIX" ]; then
 	_check_quota 'user quota information' \
 		     'group quota information' \
 		     'project quota information' | \
-	sed "/xfsrestore:.*use 'edquota' to restore quotas/d"
-    else
-	_check_quota 'user quota information' \
-		     'group quota information' \
-		     'project quota information' | \
-	sed "/xfsrestore:.*use 'xfs_quota' to restore quotas/d"
-    fi
+		sed "/xfsrestore:.*use 'xfs_quota' to restore quotas/d"
 }
 
 #
common/filestreams +6 -37

70 lines not on this page · raw message

common/log +0 -1
index d1c19ff5..bdb4ed68 100644
@@ -314,7 +314,6 @@ _print_operation()
 # and may not match with the FS mounted at a different LR size 
 # => xlog_do_recovery_pass() can not handle the different hdr sizes
 #    it assumes them all to be the same between the start..finish
-# NB: On IRIX there is no UMOUNT record and so we could start from -s 0.
 
 _print_transaction_inode()
 {
common/rc +3 -20
index fa1314c6..d3bf8339 100644
@@ -238,7 +238,7 @@ _scratch_options()
 
     case $type in
     mkfs)
-	[ "$HOSTOS" != "IRIX" ] && SCRATCH_OPTIONS="$SCRATCH_OPTIONS -f"
+	SCRATCH_OPTIONS="$SCRATCH_OPTIONS -f"
 	rt_opt="-r"
         log_opt="-l"
 	;;
@@ -287,14 +287,7 @@ _mount_ops_filter()
     [ $last_index -gt 0 ] && shift $last_index
     FS_ESCAPED=$1
     
-    # irix is fussy about how it is fed its mount options
-    # - multiple -o's are not allowed
-    # - no spaces between comma delimitered options
-    # the sed script replaces all -o's (except the first) with a comma
-    # not required for linux, but won't hurt
-    
-    echo $params | sed -e 's/[[:space:]]\+-o[[:space:]]*/UnIqUe/1; s/[[:space:]]\+-o[[:space:]]*/,/g; s/UnIqUe/ -o /1' \
-        | sed -e 's/dmapi/dmi/' \
+    echo $params | sed -e 's/dmapi/dmi/' \
         | $PERL_PROG -ne "s#mtpt=[^,|^\n|^\s]*#mtpt=$FS_ESCAPED\1\2#; print;"
 
 }
@@ -2116,12 +2109,7 @@ s,^\s*$,,;
 
 _user_do()
 {
-    if [ "$HOSTOS" == "IRIX" ]
-	then
-	echo $1 | /bin/bash "su $qa_user 2>&1" | _filter_user_do
-    else
 	echo $1 | su -s /bin/bash $qa_user 2>&1 | _filter_user_do
-    fi
 }
 
 _require_xfs_io_command()
@@ -2693,9 +2681,7 @@ _full_platform_details()
 
 _get_os_name()
 {
-	if [ "`uname`" == "IRIX64" ] || [ "`uname`" == "IRIX" ]; then
-		echo 'irix'
-	elif [ "`uname`" == "Linux" ]; then
+	if [ "`uname`" == "Linux" ]; then
 		echo 'linux'
 	else
 		echo Unknown operating system: `uname`
@@ -3259,9 +3245,6 @@ run_check()
 
 _require_test_symlinks()
 {
-	# IRIX UDF does not support symlinks
-	[ "$HOSTOS" = "IRIX" -a "$FSTYP" = 'udf' ] && \
-		_notrun "Require symlinks support"
 	target=`mktemp -p $TEST_DIR`
 	link=`mktemp -p $TEST_DIR -u`
 	ln -s `basename $target` $link
Signature · 1 line
2.13.3
#14 lore raw

Re: [PATCH v2 13/15] common: remove IRIX-specific code

Quoted 97 lines · Eric Biggers

From: Eric Biggers <[email protected]>

As xfstests is no longer supported on IRIX, remove IRIX-specific code from the common helper scripts.

---
 common/config      | 12 ------------
 common/dump        | 39 +++------------------------------------
 common/filestreams | 43 ++++++-------------------------------------
 common/log         |  1 -
 common/rc          | 23 +++--------------------
 5 files changed, 12 insertions(+), 106 deletions(-)
common/config +0 -12
index 5091db9d..80598d06 100644
@@ -52,15 +52,10 @@
 export LANG=C
 export LC_ALL=C
 
-# Warning: don't put freeware before /usr/bsd on IRIX coz you'll
-#  get the wrong hostname and set your system name to -s  :)
-[ -d /usr/bsd ] && PATH=$PATH:/usr/bsd
-[ -d /usr/freeware/bin ] && PATH=$PATH:/usr/freeware/bin
 PATH=".:$PATH"
 
 export HOST=`hostname -s`
 export HOSTOS=`uname -s`
-[ "$HOSTOS" = "IRIX64" ] && export HOSTOS="IRIX"
 
 export MODULAR=0               # using XFS as a module or not
 export BOOT="/boot"            # install target for kernels
@@ -220,13 +215,6 @@ fi
 export UDEV_SETTLE_PROG
 
 case "$HOSTOS" in
-    IRIX*)
-        export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`"
-        export MKFS_UDF_PROG="`set_prog_path mkfs_udf`"
-        export XFS_FSR_PROG="`set_prog_path /usr/etc/fsr_xfs`"
-        export MKFS_NFS_PROG="false"
-        export MKFS_CIFS_PROG="false"
-        ;;
     Linux)
         export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`"
         export MKFS_EXT4_PROG="`set_prog_path mkfs.ext4`"
common/dump +1 -22
index d6663e0c..b0e4a12f 100644
@@ -395,8 +395,6 @@ End-of-File
 
 _mk_fillconfig_perm()
 {
-    # dir_guid: ugo=rwx,g+s on dir is for IRIX chmod(1)
-
     cat <<End-of-File >$tmp.config
 # pathname	size/dir  user group mode
 #
@@ -406,7 +404,7 @@ file_sticky	10	$nobody	$nobody	01777
 file_mix1	10	$nobody	$nobody	761
 file_mix2	10	$nobody	$nobody	642
 dir_suid	d	$nobody	$nobody	04777
-dir_guid	d	$nobody	$nobody	ugo=rwx,g+s
+dir_guid	d	$nobody	$nobody	02777
 dir_sticky	d	$nobody	$nobody	01777
 dir_mix1	d	$nobody	$nobody	761
 dir_mix2	d	$nobody	$nobody	642
@@ -798,25 +796,6 @@ _ls_filter()
   | sed -e 's/total [0-9][0-9]*/total TOTAL/'
 }
 
-#
-# Filtering of Irix character hwgraph device names
-# e.g.
-# chardev: /hw/node/xtalk/15/pci/0/scsi_ctlr/0/target/1/lun/0/disk/partition/4/char
-# blkdev:  /dev/dsk/dks0d1s4
-#
-_filter_devchar()
-{
-    $AWK_PROG '
-	/\/hw\/node/ {
-	    sub(/\/hw.*scsi_ctlr\//,"/dev/dsk/dks")  # blah blah /dev/dsk/dks0/target/1/....
-	    sub(/\/target\//,"d")                    # blah blah /dev/dsk/dks0d1/lun/0/disk.....
-	    sub(/\/lun.*partition\//,"s")            # blah blah /dev/dsk/dks0d1s4/char
-	    sub(/\/char/,"")			     # blah blah /dev/dsk/dks0d1s4
-	}
-	{ print }
-    '
-}
-
 
 #
 # Filter out the non-deterministic dump msgs from

common/dump _filter_devchar() · line 827

Quoted 4 lines
common/dump +0 -1
@@ -824,7 +803,6 @@ _filter_devchar()
 #
 _dump_filter_main()
 {
-  _filter_devchar |\

I added this _filter_devchar function back as xfs/061 needs it, otherwise it fails like:

-xfsrestore: volume: /dev/dsk/dks0d2s1
+xfsrestore: volume: /hw/node/io/gio/hpc/scsi_ctlr/0/target/2/lun/0/disk/partition/1/char

I think this is the safest and easiest thing to do at this moment.

Thanks,
Eryu

#15 lore raw

Re: [PATCH v2 13/15] common: remove IRIX-specific code

Quoted 31 lines · Eryu Guan
Quoted 23 lines
common/dump +0 -19
-#
-# Filtering of Irix character hwgraph device names
-# e.g.
-# chardev: /hw/node/xtalk/15/pci/0/scsi_ctlr/0/target/1/lun/0/disk/partition/4/char
-# blkdev:  /dev/dsk/dks0d1s4
-#
-_filter_devchar()
-{
-    $AWK_PROG '
-	/\/hw\/node/ {
-	    sub(/\/hw.*scsi_ctlr\//,"/dev/dsk/dks")  # blah blah /dev/dsk/dks0/target/1/....
-	    sub(/\/target\//,"d")                    # blah blah /dev/dsk/dks0d1/lun/0/disk.....
-	    sub(/\/lun.*partition\//,"s")            # blah blah /dev/dsk/dks0d1s4/char
-	    sub(/\/char/,"")			     # blah blah /dev/dsk/dks0d1s4
-	}
-	{ print }
-    '
-}
-
 
 #
 # Filter out the non-deterministic dump msgs from

common/dump _filter_devchar() · line 827

Quoted 4 lines
common/dump +0 -1
@@ -824,7 +803,6 @@ _filter_devchar()
 #
 _dump_filter_main()
 {
-  _filter_devchar |\

I added this _filter_devchar function back as xfs/061 needs it, otherwise it fails like:

Quoted 5 lines

-xfsrestore: volume: /dev/dsk/dks0d2s1
+xfsrestore: volume: /hw/node/io/gio/hpc/scsi_ctlr/0/target/2/lun/0/disk/partition/1/char

I think this is the safest and easiest thing to do at this moment.

Okay, that's fine for now. Thanks for testing!

Eric

#16 lore raw

PATCH v2 14/15 build: remove IRIX-specific build logic

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

As xfstests is no longer supported on IRIX, remove the ability to build xfstests for IRIX.

---
 configure.ac          |  59 ++++++++++----------------
 include/builddefs.in  |   3 --
 ltp/Makefile          |   4 --
 m4/package_globals.m4 |   2 +-
 m4/package_libcdev.m4 |   2 +-
 m4/package_utilies.m4 |  14 +++----
 m4/package_xfslibs.m4 |  13 ------
 make_irix             | 114 --------------------------------------------------
 src/Makefile          |   4 --
 9 files changed, 32 insertions(+), 183 deletions(-)
 delete mode 100755 make_irix
configure.ac +23 -36
index 843ff6b6..57092f1c 100644
@@ -42,45 +42,32 @@ AC_CHECK_HEADERS([xfs/xfs_log_format.h],,,[
 
 AC_PACKAGE_NEED_UUIDCOMPARE
 
-case $pkg_platform
-in
-	irix)
-		AC_PACKAGE_NEED_SYS_ACL_H
-		AC_PACKAGE_NEED_ATTRIBUTES_H
-		AC_PACKAGE_WANT_NDBM
-		AC_PACKAGE_NEED_IRIX_LIBHANDLE
-		have_attr_list=true
-		AC_SUBST(have_attr_list)
-		;;
-	*)
-		AC_MULTILIB($enable_lib64)
-		AC_PACKAGE_NEED_XFS_XFS_H
-		AC_PACKAGE_WANT_LIBXFS_H
-		AC_PACKAGE_WANT_XLOG_ASSIGN_LSN
-		AC_PACKAGE_NEED_XFS_XQM_H
-		AC_PACKAGE_NEED_XFSCTL_MACRO
-		AC_PACKAGE_NEED_XFS_HANDLE_H
+AC_MULTILIB($enable_lib64)
+AC_PACKAGE_NEED_XFS_XFS_H
+AC_PACKAGE_WANT_LIBXFS_H
+AC_PACKAGE_WANT_XLOG_ASSIGN_LSN
+AC_PACKAGE_NEED_XFS_XQM_H
+AC_PACKAGE_NEED_XFSCTL_MACRO
+AC_PACKAGE_NEED_XFS_HANDLE_H
 
-		AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE
-		AC_PACKAGE_NEED_ATTR_XATTR_H
-		AC_PACKAGE_NEED_ATTRIBUTES_H
-		AC_PACKAGE_WANT_ATTRLIST_LIBATTR
-		AC_PACKAGE_NEED_GETXATTR_LIBATTR
+AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE
+AC_PACKAGE_NEED_ATTR_XATTR_H
+AC_PACKAGE_NEED_ATTRIBUTES_H
+AC_PACKAGE_WANT_ATTRLIST_LIBATTR
+AC_PACKAGE_NEED_GETXATTR_LIBATTR
 
-		AC_PACKAGE_NEED_SYS_ACL_H
-		AC_PACKAGE_NEED_ACL_LIBACL_H
-		AC_PACKAGE_NEED_ACLINIT_LIBACL
+AC_PACKAGE_NEED_SYS_ACL_H
+AC_PACKAGE_NEED_ACL_LIBACL_H
+AC_PACKAGE_NEED_ACLINIT_LIBACL
 
-		AC_PACKAGE_WANT_GDBM
-		AC_PACKAGE_WANT_AIO
-		AC_PACKAGE_WANT_DMAPI
-		AC_PACKAGE_WANT_LINUX_FIEMAP_H
-		AC_PACKAGE_WANT_FALLOCATE
-		AC_PACKAGE_WANT_OPEN_BY_HANDLE_AT
-		AC_PACKAGE_WANT_LINUX_PRCTL_H
-		AC_PACKAGE_WANT_LINUX_FS_H
-		;;
-esac
+AC_PACKAGE_WANT_GDBM
+AC_PACKAGE_WANT_AIO
+AC_PACKAGE_WANT_DMAPI
+AC_PACKAGE_WANT_LINUX_FIEMAP_H
+AC_PACKAGE_WANT_FALLOCATE
+AC_PACKAGE_WANT_OPEN_BY_HANDLE_AT
+AC_PACKAGE_WANT_LINUX_PRCTL_H
+AC_PACKAGE_WANT_LINUX_FS_H
 
 AC_CHECK_FUNCS([renameat2])
 
include/builddefs.in +0 -3
index 38fb9c60..cb52b99a 100644
@@ -76,9 +76,6 @@ endif
 ifeq ($(PKG_PLATFORM),darwin)
 PCFLAGS = -traditional-cpp $(GCCFLAGS)
 endif
-ifeq ($(PKG_PLATFORM),irix)
-PCFLAGS = -nostdinc -I$(ROOT)/usr/include -I$(TOPDIR)/../irix/include
-endif
 ifeq ($(PKG_PLATFORM),freebsd)
 endif
 
ltp/Makefile +0 -4
index 5bea4927..eed83f48 100644
@@ -17,10 +17,6 @@ ifeq ($(HAVE_ATTR_LIST), true)
 LCFLAGS += -DHAVE_ATTR_LIST
 LLDLIBS += $(LIBATTR)
 endif
-ifeq ($(PKG_PLATFORM),irix)
-LCFLAGS += -DHAVE_ATTR_LIST
-LLDLIBS += $(LIBATTR)
-endif
 
 ifeq ($(HAVE_AIO), true)
 TARGETS += aio-stress
m4/package_globals.m4 +1 -1
index 72fbbb78..ce7a8c51 100644
@@ -39,7 +39,7 @@ AC_DEFUN([AC_PACKAGE_GLOBALS],
     test -z "$DISTRIBUTION" || pkg_distribution="$DISTRIBUTION"
     AC_SUBST(pkg_distribution)
 
-    pkg_platform=`uname -s | tr 'A-Z' 'a-z' | sed -e 's/irix64/irix/'`
+    pkg_platform=`uname -s | tr 'A-Z' 'a-z'`
     test -z "$PLATFORM" || pkg_platform="$PLATFORM"
     AC_SUBST(pkg_platform)
   ])
m4/package_libcdev.m4 +1 -1
index 5156ced6..fb123f33 100644
@@ -67,7 +67,7 @@ AC_DEFUN([AC_HAVE_SENDFILE],
   ])
 
 #
-# Check if we have a getmntent libc call (IRIX, Linux)
+# Check if we have a getmntent libc call (Linux)
 #
 AC_DEFUN([AC_HAVE_GETMNTENT],
   [ AC_MSG_CHECKING([for getmntent ])
m4/package_utilies.m4 +7 -7
index 726406c8..108ef455 100644
@@ -41,7 +41,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
     AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler])
 
     if test -z "$MAKE"; then
-        AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+        AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/local/bin)
     fi
     if test -z "$MAKE"; then
         AC_PATH_PROG(MAKE, make,, /usr/bin)
@@ -54,19 +54,19 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
 	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
     fi
     if test -z "$LIBTOOL"; then
-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin)
     fi
     libtool=$LIBTOOL
     AC_SUBST(libtool)
     AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
 
     if test -z "$TAR"; then
-        AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
+        AC_PATH_PROG(TAR, tar,, /bin:/usr/local/bin:/usr/bin)
     fi
     tar=$TAR
     AC_SUBST(tar)
     if test -z "$ZIP"; then
-        AC_PATH_PROG(ZIP, gzip,, /bin:/usr/bin:/usr/local/bin:/usr/freeware/bin)
+        AC_PATH_PROG(ZIP, gzip,, /bin:/usr/bin:/usr/local/bin)
     fi
 
     zip=$ZIP
@@ -108,14 +108,14 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
 
     if test "$enable_gettext" = yes; then
         if test -z "$MSGFMT"; then
-                AC_PATH_PROG(MSGFMT, msgfmt,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+                AC_PATH_PROG(MSGFMT, msgfmt,, /usr/bin:/usr/local/bin)
         fi
         msgfmt=$MSGFMT
         AC_SUBST(msgfmt)
         AC_PACKAGE_NEED_UTILITY($1, "$msgfmt", msgfmt, gettext)
 
         if test -z "$MSGMERGE"; then
-                AC_PATH_PROG(MSGMERGE, msgmerge,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+                AC_PATH_PROG(MSGMERGE, msgmerge,, /usr/bin:/usr/local/bin)
         fi
         msgmerge=$MSGMERGE
         AC_SUBST(msgmerge)
@@ -123,7 +123,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
     fi
 
     if test -z "$RPM"; then
-        AC_PATH_PROG(RPM, rpm,, /bin:/usr/bin:/usr/freeware/bin)
+        AC_PATH_PROG(RPM, rpm,, /bin:/usr/bin)
     fi
     rpm=$RPM
     AC_SUBST(rpm)
m4/package_xfslibs.m4 +0 -13
index 5588e9ed..9be56e11 100644
@@ -92,19 +92,6 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE],
     AC_SUBST(libhdl)
   ])
 
-AC_DEFUN([AC_PACKAGE_NEED_IRIX_LIBHANDLE],
-  [ 
-    AC_MSG_CHECKING([libhandle.a for IRIX])
-    libhdl="`pwd`/../irix/libhandle/libhandle.a"
-    if ! test -f $libhdl; then
-	echo 'no'
-        echo 'FATAL ERROR: could not find IRIX XFS handle library.'
-        exit 1
-    fi
-    echo 'yes'
-    AC_SUBST(libhdl)
-  ])
-
 AC_DEFUN([AC_PACKAGE_NEED_XFSCTL_MACRO],
   [ AC_MSG_CHECKING([xfsctl from xfs/xfs.h])
     AC_TRY_LINK([
make_irix deleted +0 -0
deleted file mode 100755
index d1782785..00000000
src/Makefile +0 -4
index cb608ad4..b8aff49e 100644
@@ -49,10 +49,6 @@ ifeq ($(PKG_PLATFORM),linux)
 TARGETS += $(LINUX_TARGETS)
 endif
 
-ifeq ($(PKG_PLATFORM),irix)
-LLDLIBS += -lgen
-endif
-
 ifeq ($(HAVE_DB), true)
 TARGETS += dbtest
 LLDLIBS += $(LIBGDBM)
Signature · 1 line
2.13.3
#17 lore raw

PATCH v2 15/15 include: remove some unused headers

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

test.h and usctest.h aren't used by anything. Get rid of them.

---
 include/test.h    | 192 ----------------------------------
 include/usctest.h | 303 ------------------------------------------------------
 2 files changed, 495 deletions(-)
 delete mode 100644 include/test.h
 delete mode 100644 include/usctest.h
include/test.h deleted +0 -0
deleted file mode 100644
index 29580dde..00000000
include/usctest.h deleted +0 -0
deleted file mode 100644
index 193852ff..00000000
Signature · 1 line
2.13.3
#18 lore raw
In reply to Eric Biggers
Quoted 15 lines · Eric Biggers

Hello,

This is v2 of the patchset to remove IRIX support from xfstests. For some time xfstests has de facto not supported IRIX anymore. The final release of IRIX was over 10 years ago and it seems no one has been running the latest xfstests releases on any IRIX system, as at the very least xfstests now assumes the existence of some util-linux binaries. There are very likely other examples of this bitrot as well. Also, xfsprogs has already dropped IRIX support.

Therefore, this patchset simplifies things by removing IRIX support from the xfstests tests, build system, and documentation. It also ports the useful IRIX-specific tests to Linux. Of course, people will still find more cruft later to remove, but this should be a good start.

Quoted 4 lines

To get around the mailing list message size limit, the series is formatted with --irreversible-delete. Therefore it can't be applied directly. It can be retrieved from git here:
https://github.com/ebiggers/xfstests.git, branch remove_irix_support_v2.

Great work! Thank you so much for doing this! I pulled & merged your branch into a test branch and am running some tests now, overall it looks good to me.

Though, as you mentioned, there're some places that could do further cleanups (e.g. I'm wondering if we can kill _supported_os completely and remove it from 'new' template, and some $HOSTOS and $PKG_PLATFORM checks could be cleaned up too), I agree this is a great start. Thanks again!

Eryu

#19 lore raw
Quoted 21 lines · Eryu Guan
Quoted 15 lines · Eric Biggers

Hello,

This is v2 of the patchset to remove IRIX support from xfstests. For some time xfstests has de facto not supported IRIX anymore. The final release of IRIX was over 10 years ago and it seems no one has been running the latest xfstests releases on any IRIX system, as at the very least xfstests now assumes the existence of some util-linux binaries. There are very likely other examples of this bitrot as well. Also, xfsprogs has already dropped IRIX support.

Therefore, this patchset simplifies things by removing IRIX support from the xfstests tests, build system, and documentation. It also ports the useful IRIX-specific tests to Linux. Of course, people will still find more cruft later to remove, but this should be a good start.

Quoted 4 lines

To get around the mailing list message size limit, the series is formatted with --irreversible-delete. Therefore it can't be applied directly. It can be retrieved from git here:
https://github.com/ebiggers/xfstests.git, branch remove_irix_support_v2.

Quoted 9 lines

Great work! Thank you so much for doing this! I pulled & merged your branch into a test branch and am running some tests now, overall it looks good to me.

Though, as you mentioned, there're some places that could do further cleanups (e.g. I'm wondering if we can kill _supported_os completely and remove it from 'new' template, and some $HOSTOS and $PKG_PLATFORM checks could be cleaned up too), I agree this is a great start. Thanks again!

We shouldn't make it too hard to port xfstests to other platforms in the future, but yes I think at least _supported_os and $HOSTOS should probably go, since they're subject to bitrot and checking the OS isn't usually what is really wanted anyway. Really we should check for the presence of some feature, program, quirk, etc. instead, instead of being lazy and checking for "Linux".

Eric