On Fri, Sep 25, 2020 at 10:16 PM Paul Eggert <egg...@cs.ucla.edu> wrote: > > On 9/25/20 5:32 PM, Jim Meyering wrote: > > Thanks for the new regex testing code where it still fails on OS X > > (10.15.6 (19G2021)) and it printed this in the log: > > > > test-regex: re_search 'i' on 'İ' returned -1 > > > > Confirmed that flaw affects grep too, > > My guess is that macOS doesn't uppercase 'i' to 'İ' in Turkish. That would > explain the test failure. At any rate, the Gnulib test should defend itself > against that sort of misbehavior. I installed the attached Gnulib patch and > updated grep accordingly. > > Jeffery, a revised test-regex.tgz tarball is attached. You can test it the > same > way as before: > > tar xf test-regex.tgz > cd test-regex > ./configure > make check
The tarball tested OK on my Mac Mini (OS X 10.12), MacBook (OS X 10.9) and PowerMac (OS X 10.5). Here is a typical output that each machine produced. /Library/Developer/CommandLineTools/usr/bin/make check-TESTS PASS: test-accept PASS: test-alloca-opt PASS: test-arpa_inet PASS: test-binary-io.sh PASS: test-bind PASS: test-btowc1.sh PASS: test-btowc2.sh PASS: test-c-ctype PASS: test-c-strcase.sh PASS: test-cloexec PASS: test-close PASS: test-connect PASS: test-ctype PASS: test-dup2 PASS: test-environ PASS: test-errno PASS: test-fcntl-h PASS: test-fcntl PASS: test-fdopen PASS: test-fgetc PASS: test-fputc PASS: test-fread PASS: test-fstat PASS: test-ftruncate.sh PASS: test-fwrite PASS: test-getcwd-lgpl PASS: test-getdtablesize PASS: test-gettimeofday PASS: test-hard-locale PASS: test-ignore-value PASS: test-inet_pton PASS: test-intprops PASS: test-inttypes PASS: test-ioctl PASS: test-isblank PASS: test-langinfo PASS: test-limits-h PASS: test-listen PASS: test-locale PASS: test-localeconv PASS: test-localename PASS: test-rwlock1 PASS: test-lock PASS: test-once1 PASS: test-once2 PASS: test-lstat PASS: test-malloca PASS: test-mbrtowc1.sh PASS: test-mbrtowc2.sh PASS: test-mbrtowc3.sh PASS: test-mbrtowc4.sh PASS: test-mbrtowc5.sh SKIP: test-mbrtowc-w32-1.sh SKIP: test-mbrtowc-w32-2.sh SKIP: test-mbrtowc-w32-3.sh SKIP: test-mbrtowc-w32-4.sh SKIP: test-mbrtowc-w32-5.sh SKIP: test-mbrtowc-w32-6.sh SKIP: test-mbrtowc-w32-7.sh PASS: test-mbsinit.sh PASS: test-nanosleep PASS: test-netinet_in PASS: test-nl_langinfo.sh PASS: test-nl_langinfo-mt PASS: test-open PASS: test-pathmax PASS: test-perror.sh PASS: test-perror2 PASS: test-pipe PASS: test-pthread PASS: test-pthread-thread PASS: test-pthread_sigmask1 PASS: test-pthread_sigmask2 PASS: test-raise PASS: test-regex PASS: test-sched PASS: test-select PASS: test-select-in.sh PASS: test-select-out.sh PASS: test-setenv PASS: test-setlocale_null PASS: test-setlocale_null-mt-one PASS: test-setlocale_null-mt-all PASS: test-setlocale1.sh PASS: test-setlocale2.sh PASS: test-setsockopt PASS: test-sigaction PASS: test-signal-h PASS: test-sigprocmask PASS: test-sleep PASS: test-sockets PASS: test-stat PASS: test-stat-time PASS: test-stdalign PASS: test-stdbool PASS: test-stddef PASS: test-stdint PASS: test-stdio PASS: test-stdlib PASS: test-strerror PASS: test-strerror_r PASS: test-string PASS: test-symlink PASS: test-sys_ioctl PASS: test-sys_select PASS: test-sys_socket PASS: test-sys_stat PASS: test-sys_time PASS: test-sys_types PASS: test-sys_uio PASS: test-init.sh PASS: test-thread_self PASS: test-thread_create PASS: test-time PASS: test-unistd PASS: test-unsetenv PASS: test-usleep PASS: test-verify PASS: test-verify.sh PASS: test-wchar PASS: test-wcrtomb.sh SKIP: test-wcrtomb-w32-1.sh SKIP: test-wcrtomb-w32-2.sh SKIP: test-wcrtomb-w32-3.sh SKIP: test-wcrtomb-w32-4.sh SKIP: test-wcrtomb-w32-5.sh SKIP: test-wcrtomb-w32-6.sh SKIP: test-wcrtomb-w32-7.sh PASS: test-wctype-h ============================================================================ Testsuite summary for dummy 0 ============================================================================ # TOTAL: 129 # PASS: 115 # SKIP: 14 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================