hurd: Fix tst-openloc
commitf7f181c12c140ff1fe45376b98fe32eb491e363f
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 20 Jul 2023 21:38:24 +0000 (20 23:38 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 20 Jul 2023 21:42:56 +0000 (20 23:42 +0200)
treeb436194e7c63244f7c143f27b33ceea86bbf8033
parenta3090c2c98facbab3d47aa23a94f8d2caeb78d71
hurd: Fix tst-openloc

On GNU/Hurd, O_RDWR actually is O_WRONLY|O_RDONLY, so checking through
bitness really is wrong. O_ACCMODE is there for this.

Fixes: 5324d258427f ("fileops: Don't process ,ccs= as individual mode flags (BZ#18906)")
libio/tst-fopenloc.c