Messages in this thread | | | Subject | ftruncate | From | Paul Larson <> | Date | 03 Oct 2001 14:19:11 +0000 |
| |
One of the testcases we have in the Linux Test Project, ftruncate03, does some negative testing for the ftruncate system call. It has previously passed, and even passes on 2.4.11-pre1, but I noticed today that it does NOT pass on 2.4.10-ac4. It looks like the problem is with 2.4.11-pre1 and the testcase though if my man pages are right. The test is looking to get EACCESS back when the file is opened read only and ftruncate is called on it, but the man page says it should actually return EINVAL.
A fixed version of this testcase will be in our next release. I know it's fairly trivial, but it would be nice to see this fix synced up with Linus's tree.
Thanks, Paul Larson
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |