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

Re: * Re: Failing tests on 4.3.5-dev-2 on Solaris 10 w/Sun Studio 12



On Wed, 26 Mar 2008 15:35:35 +0100
Dagobert Michelsen <dam@xxxxxxxxxxxxx> wrote:
> I re-ran the testsuite and again got some errors on Solaris:

Thanks.  This should fix them.  (Moved to zsh-workers.)

> ./A02alias.ztst: starting.
> Test ./A02alias.ztst failed: bad status 1, expected 127 from:
>    \foo foo
> Error output:
> /opt/csw/bin/foo: 2: not found
> Was testing: Not aliasing

Oh, good grief.  I suppose it had to happen.  (I already knew about "bar".)

> ./D07multibyte.ztst: starting.
> Testing multibyte with locale cs_CZ.UTF-8
> *** /tmp/zsh.ztst.out.23453     Wed Mar 26 15:30:16 2008
> --- /tmp/zsh.ztst.tout.23453    Wed Mar 26 15:30:16 2008
> ***************
> *** 4,12 ****
>    ngs20txt
>    ngs100txt
>    ngs200txt
> - ngs100txt
> - ngs10txt
>    ngs1txt
> ! ngs200txt
> ! ngs20txt
>    ngs2txt
> --- 4,12 ----
>    ngs20txt
>    ngs100txt
>    ngs200txt
>    ngs1txt
> ! ngs10txt
> ! ngs100txt
>    ngs2txt
> + ngs20txt
> + ngs200txt
> Test ./D07multibyte.ztst failed: output differs from expected as  
> shown above for:
>    touch ngs1txt ngs2txt ngs10txt ngs20txt ngs100txt ngs200txt
>    setopt numericglobsort
>    print -l ngs*
>    unsetopt numericglobsort
>    print -l ngs*
> Was testing: NUMERIC_GLOB_SORT option in UTF-8 locale

Hmm... we don't really care about the ordering with NUMERIC_GLOB_SORT
turned off, which is what's failing.  In that case it's down to the
system.

Index: Test/A02alias.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/A02alias.ztst,v
retrieving revision 1.4
diff -u -r1.4 A02alias.ztst
--- Test/A02alias.ztst	9 Jul 2001 18:31:25 -0000	1.4
+++ Test/A02alias.ztst	26 Mar 2008 14:56:16 -0000
@@ -14,9 +14,9 @@
 0:Global aliasing
 >echo
 
-  \foo foo
+  \ThisCommandDefinitelyDoesNotExist foo
 127:Not aliasing
-?(eval):1: command not found: foo
+?(eval):1: command not found: ThisCommandDefinitelyDoesNotExist
 
   \bar \bar
 0:Aliasing with a backslash
Index: Test/D07multibyte.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/D07multibyte.ztst,v
retrieving revision 1.24
diff -u -r1.24 D07multibyte.ztst
--- Test/D07multibyte.ztst	3 Mar 2008 16:14:52 -0000	1.24
+++ Test/D07multibyte.ztst	26 Mar 2008 14:56:16 -0000
@@ -363,8 +363,6 @@
   touch ngs1txt ngs2txt ngs10txt ngs20txt ngs100txt ngs200txt
   setopt numericglobsort
   print -l ngs*
-  unsetopt numericglobsort
-  print -l ngs*
 0:NUMERIC_GLOB_SORT option in UTF-8 locale
 >ngs1txt
 >ngs2txt
@@ -372,12 +370,6 @@
 >ngs20txt
 >ngs100txt
 >ngs200txt
->ngs100txt
->ngs10txt
->ngs1txt
->ngs200txt
->ngs20txt
->ngs2txt
 
 # Not strictly multibyte, but gives us a well-defined locale for testing.
   foo=$'X\xc0Y\x07Z\x7fT'

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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