Apache OpenOffice (AOO) Bugzilla – Issue 71777
dmake 4.7 - tests broken for solaris
Last modified: 2013-08-07 15:34:52 UTC
attached a patch to fix some uname problems. also case insensitive dircache and silent group receipts fail on solaris and linux
.
Created attachment 40768 [details] fix tests on solaris
Created attachment 40769 [details] tests log: generated sh script no executable; .DIRCACHE still casesensitive
@ause: Please use this patch: +++ dmake/unix/dcache.c 20 Nov 2006 17:39:41 -0000 @@ -142,6 +142,7 @@ while((direntp=readdir(dirp)) != NULL) { TALLOC(ep,1,Entry); ep->name = DmStrDup(direntp->d_name); /* basename only */ + printf("Caching:%s\n", ep->name); if( !STOBOOL(DcacheRespCase) ) strlwr(ep->name); to check if test.target is added to the cache.
argl! i was too blind! the path handed over to Set_dir is all lowercase while it isn't on the filesystem (.../SRC680/...) -> no chdir does this testcase make any sense at all for case sensitive filesystems??
The joys of path normalization ;) Worked for me because everything was lowercase here. No, actually .DIRCACHERESPCASE=no doesn't make sense on case sensitive filesystems. The current default is respects the case sensitivity of the FS, i.e. .DIRCACHERESPCASE=no for Windows and Mac. So I think we should just do this check for cygwin and `uname` on Mac (whatever that is).
I changed the testcase to only test the directory cache for case insensitivity if the FS is also case insensitive.
Please verify.
tests work now on solaris and linux
seen in MWS