lkml.org 
[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectftruncate
From
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.034 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site