zsh-workers
 help / color / mirror / code / Atom feed
* Re: 'make test' failures with zsh-3.1.9
@ 2000-08-25  8:16 Sven Wischnowsky
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Wischnowsky @ 2000-08-25  8:16 UTC (permalink / raw)
  To: zsh-workers; +Cc: Chuck Swiger


Chuck Swiger wrote:

> Here's the failures:
> 
> Test ./07cond.ztst failed: bad status 1, expected 0 from:
>   [[ -r zerolength && ! -r unmodish ]]
> Was testing: -r cond
> ./07cond.ztst: test failed.

This works cleanly for me (except for the well-known -N test problem,
but that is tested after -r). Hm didn't we have a report about -r some 
time ago? Can't remember.

> 
> [ ... ]
> 
> *** /tmp/zsh.ztst.out.28287     Thu Aug 24 19:17:12 2000
> --- /tmp/zsh.ztst.tout.28287    Thu Aug 24 19:17:12 2000
> ***************
> *** 1,6 ****
>   line: {tst build.out}{}
>   COMPADD:{}
> ! line: {tst build.out}{}
>   COMPADD:{}
>   NO:{build.out}
>   NO:{build.out1}
> --- 1,6 ----
>   line: {tst build.out}{}
>   COMPADD:{}
> ! line: {tst build}{.out}
>   COMPADD:{}
>   NO:{build.out}
>   NO:{build.out1}
> Test ./54compmatch.ztst failed: output differs from expected as shown above for:
>  workers_11081_matcher='m:{a-zA-Z}={A-Za-z} r:|[.,_-]=*  
> r:[^A-Z0-9]||[A-Z0-9]=* r:[A-Z0-9]||[^A-Z0-9]=* r:[^0-9]||[0-9]=* r:|=*'
>  workers_11081_list=(build.out build.out1 build.out2)
>  test_code $workers_11081_matcher workers_11081_list
>  comptest $'tst bui\t\t\t'
> Was testing: Bug from workers 11081
> ./54compmatch.ztst: test failed.

This, too, works fine for me (and we had some patches for compmatch.c
after 3.1.9).

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make test' failures with zsh-3.1.9
  2000-08-25 17:16     ` Bart Schaefer
@ 2000-08-25 17:42       ` Chuck Swiger
  0 siblings, 0 replies; 5+ messages in thread
From: Chuck Swiger @ 2000-08-25 17:42 UTC (permalink / raw)
  To: zsh-workers

On Fri, 25 Aug 2000 17:16:19 +0000, Bart Schaefer wrote:
> } Running 'make test' as a normal user does not change the results.
>
> Hmm.  Well, it's a pretty good bet that it's the [[ ! -r unmodish ]]
> test that's failing.  Can you try it by hand?

Certainly; this ran and produced no output.

I've tried rebuilding the source as a normal user with a cleaned environment  
(no LD_LIBRARY_PATH, no /usr/ucb), and the unmodish test now passes.  On the  
other hand, 54compmatch.ztst still fails.

-Chuck

        Chuck Swiger | chuck@codefab.com | cd /pub ; more beer
        -------------+-------------------+--------------------
	"Pavlovian slaver at the cash till ring of success..."


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make test' failures with zsh-3.1.9
  2000-08-25 16:00   ` Chuck Swiger
@ 2000-08-25 17:16     ` Bart Schaefer
  2000-08-25 17:42       ` Chuck Swiger
  0 siblings, 1 reply; 5+ messages in thread
From: Bart Schaefer @ 2000-08-25 17:16 UTC (permalink / raw)
  To: Chuck Swiger, zsh-workers

On Aug 25, 12:00pm, Chuck Swiger wrote:
} Subject: Re: 'make test' failures with zsh-3.1.9
}
} On Fri, 25 Aug 2000 13:20:21 +0100, Oliver Kiddle wrote:
} [ ... ]
} > Are you running the tests as root? Some of the tests fail as root
} > because files are readable when the permissions have been set to try to
} > prevent them being readable. Try running them as a normal user.
} 
} Running 'make test' as a normal user does not change the results.

Hmm.  Well, it's a pretty good bet that it's the [[ ! -r unmodish ]]
test that's failing.  Can you try it by hand?

Src/zsh -fs <<EOF
umask 077
touch unmodish
chmod 000 unmodish
[[ -r unmodish ]] && ls -l unmodish
EOF

This should of course produce no output; if it produces an "ls" listing
please mail it to the list.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 'make test' failures with zsh-3.1.9
       [not found] ` <39A66485.5A4C140@u.genie.co.uk>
@ 2000-08-25 16:00   ` Chuck Swiger
  2000-08-25 17:16     ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Chuck Swiger @ 2000-08-25 16:00 UTC (permalink / raw)
  To: zsh-workers

On Fri, 25 Aug 2000 13:20:21 +0100, Oliver Kiddle wrote:
[ ... ]
> Are you running the tests as root? Some of the tests fail as root
> because files are readable when the permissions have been set to try to
> prevent them being readable. Try running them as a normal user.

Running 'make test' as a normal user does not change the results.

-Chuck

        Chuck Swiger | chuck@codefab.com | cd /pub ; more beer
        -------------+-------------------+--------------------
	"Pavlovian slaver at the cash till ring of success..."


^ permalink raw reply	[flat|nested] 5+ messages in thread

* 'make test' failures with zsh-3.1.9
@ 2000-08-24 23:20 Chuck Swiger
       [not found] ` <39A66485.5A4C140@u.genie.co.uk>
  0 siblings, 1 reply; 5+ messages in thread
From: Chuck Swiger @ 2000-08-24 23:20 UTC (permalink / raw)
  To: zsh-workers

Here's the failures:

Test ./07cond.ztst failed: bad status 1, expected 0 from:
  [[ -r zerolength && ! -r unmodish ]]
Was testing: -r cond
./07cond.ztst: test failed.

[ ... ]

*** /tmp/zsh.ztst.out.28287     Thu Aug 24 19:17:12 2000
--- /tmp/zsh.ztst.tout.28287    Thu Aug 24 19:17:12 2000
***************
*** 1,6 ****
  line: {tst build.out}{}
  COMPADD:{}
! line: {tst build.out}{}
  COMPADD:{}
  NO:{build.out}
  NO:{build.out1}
--- 1,6 ----
  line: {tst build.out}{}
  COMPADD:{}
! line: {tst build}{.out}
  COMPADD:{}
  NO:{build.out}
  NO:{build.out1}
Test ./54compmatch.ztst failed: output differs from expected as shown above for:
 workers_11081_matcher='m:{a-zA-Z}={A-Za-z} r:|[.,_-]=*  
r:[^A-Z0-9]||[A-Z0-9]=* r:[A-Z0-9]||[^A-Z0-9]=* r:[^0-9]||[0-9]=* r:|=*'
 workers_11081_list=(build.out build.out1 build.out2)
 test_code $workers_11081_matcher workers_11081_list
 comptest $'tst bui\t\t\t'
Was testing: Bug from workers 11081
./54compmatch.ztst: test failed.


System is a Sun Ultra 30 running Solaris 7 with current patches:

% uname -a
SunOS irmavep 5.7 Generic_106541-11 sun4u sparc SUNW,Ultra-30
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)

LD_LIBRARY_PATH was unset so no /usr/ucb interactions (I hope!), zsh built  
using './configure ; make ; make test'.  I am not subscribed to the list.

Thanks,
-Chuck

        Chuck Swiger | chuck@codefab.com | cd /pub ; more beer
        -------------+-------------------+--------------------
	"Pavlovian slaver at the cash till ring of success..."


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-08-25 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-25  8:16 'make test' failures with zsh-3.1.9 Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
2000-08-24 23:20 Chuck Swiger
     [not found] ` <39A66485.5A4C140@u.genie.co.uk>
2000-08-25 16:00   ` Chuck Swiger
2000-08-25 17:16     ` Bart Schaefer
2000-08-25 17:42       ` Chuck Swiger

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).