Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Test failure on OpenBSD



[[ $'\ua0' =~ '^.$' ]]   exits non-zero on OpenBSD-current both in
5.2-test-2 and in 5.2. I swear the test was passing when I last updated
the port, but the test suite hasn't changed in the mean time.

Oddly on OpenBSD 5.9 and 6.0 with the packaged zsh 5.2,   echo $'\ya0'
errors with   zsh: character not in range

- Matthew Martin


./D07multibyte.ztst: starting.
Testing multibyte with locale en_US.UTF-8
--- /usr/ports/pobj/zsh-5.2-test-2/zsh-5.2-test-2/tmp.ztst.68282/ztst.out       Wed Dec  7 21:11:59 2016
+++ /usr/ports/pobj/zsh-5.2-test-2/zsh-5.2-test-2/tmp.ztst.68282/ztst.tout      Wed Dec  7 21:11:59 2016
@@ -1,3 +1,2 @@
 OK
 OK
-OK
Test ./D07multibyte.ztst failed: output differs from expected as shown above for:
  if zmodload zsh/regex 2>/dev/null; then
    [[ $'\ua0' =~ '^.$' ]] && print OK
    [[ $'\ua0' =~ $'^\ua0$' ]] && print OK
    [[ $'\ua0'X =~ '^X$' ]] || print OK
  else
    ZTST_skip="regexp library not found."
  fi
Was testing: Ensure no confusion on metafied input to regex module
./D07multibyte.ztst: test failed.



Messages sorted by: Reverse Date, Date, Thread, Author