[Bug 1251] fat_file_truncate
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sun Aug 7 15:25:28 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1251
Xiang Cui <medivhc at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |medivhc at gmail.com
--- Comment #2 from Xiang Cui <medivhc at gmail.com> 2011-08-07 10:25:27 CDT ---
DOSFS fails in fsrdwr test in fstests.
215 /*
216 * Create an empty file
217 */
218 fd = creat (name01, mode);
219 status = close (fd);
220 rtems_test_assert (status == 0);
221
222 /*
223 * Truncate it to a valid size
224 */
225 status = truncate (name01, good_size);
226 rtems_test_assert (status == 0);
227
228 /*
229 * Verify the size and the data
230 */
231 status = stat (name01, &statbuf);
232 rtems_test_assert (status == 0);
233 rtems_test_assert (good_size == statbuf.st_size);
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list