[Bugs] [Bug 1218940] Spurious failures in fop-sanity.t

bugzilla at redhat.com bugzilla at redhat.com
Wed May 6 08:59:51 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1218940



--- Comment #1 from Nithya Balachandran <nbalacha at redhat.com> ---
The man page for open() states that the mode must be passed in if the flags
include O_CREAT. The calls to open() in the fops-sanity.c did not include the
mode argument. This seemed to cause the file to be created with some random
mode which ended up creating a 'T' file. DHT then proceeded to treat the file
as a linkto file instead of a data file, causing the test to fail.

Fix:
Provide a mode argument to the open() calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list