[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFS] casacore-1.7.0 uploaded to mentors



Ole Streicher <olebole@debian.org> writes:

> Total Test time (real) = 117.10 sec
>
> The following tests FAILED:
> 	 77 - tBucketFile (Failed)
> 	 79 - tByteIO (Failed)
> 	 95 - tDirectory (Failed)
> 	 98 - tFile (Failed)
> 	105 - tPath (Failed)
> 	107 - tRegularFile (Failed)
> 	108 - tSymLink (Failed)
> -------------------------8<-------------------------
>
> I'll attach the full build log. Any idea here?

I have reproduced the bug with uid 0.  Casacore assumes the builder is a
normal user.

for example,

in casa/IO/test/tBucketFile.cc

133         // Make the file readonly to test on such errors.
134         RegularFile rfile("tBucketFile_tmp.data");
135         rfile.setPermissions (0444);

The root user is not affected by the permission bits, which results in
test failure.

Maybe I should disable these tests altogether.  Because in Debian
file/directory handling is quite robust.  No need for the tests that
probably designed for more exotic environments.

b


Reply to: