summaryrefslogblamecommitdiffstats
path: root/testsuites/psxtests/psximfs01/psximfs01.doc
blob: 13125231a3a92d282fa50c0daf5bac9866196132 (plain) (tree)


































                                                                        
#
#  $Id$
#
#  COPYRIGHT (c) 1989-2010.
#  On-Line Applications Research Corporation (OAR).
#
#  The license and distribution terms for this file may be
#  found in the file LICENSE in this distribution or at
#  http://www.rtems.com/license/LICENSE.
#

This file describes the directives and concepts tested by this test set.

test set name:  psximfs01

directives:

  + open
  + close
  + read
  + write
  + lseek
  + ftruncate

concepts:

+ Create an IMFS instance with the smallest possible block size.  This
ensures the maximum file size is relatively small.

+ Create, write, and read a file of maximum size.

+ Use ftruncate to shorten the file from the maximum size to 0.

+ This should exercise much of the singly, doubly and triply indirect
block management code in the IMFS.