On Thu, Nov 13, 2008 at 05:04:37PM +0000, Eric Kow wrote:
> And now we have a brand new issue on the Solaris bot!
>
> Applying functional tests to darcs-2 repositories...
> test ! -e test-darcs-2 || chmod -R u+rwx test-darcs-2
> /bin/sh: test: argument expected
> make: *** [test-darcs-2] Error 1
I can reproduce this in /bin/sh on "SunOS 5.8". The manpage on that
OS indicates that ! should work, and that -e should work. Therefore I
believe this is a bug in Solaris sh's builtin test implementation.
$ type test
test is a shell builtin
$ test -e yow
test: argument expected
$ test -d yow
$ test ! -d yow
$
Since ! -d works, I propose we use that.
...and this is where I get confused, because that *is* what's being
used, AFAICT.
$(addprefix test-,$(FORMATS)): test-%: darcs hspwd
@echo Applying functional tests to $* repositories...
test ! -d $@ || chmod -R u+rwx $@
Is it possible that the OpenBSD host has unresolved conflicts in
GNUmakefile, or that it isn't tracking the latest unstable?
PS: I note that the non-builtin versions do not have this bug:
$ command test ! -e yow
$ /bin/test ! -e yow
$ /usr/bin/test ! -e yow
$
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users