summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psximfs01/psximfs01.doc
blob: 88c884b97598618b717b1c2e34e7f1f21250fb8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#  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.org/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
  + unlink

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.

+ Exercise unlink, and hence IMFS_memfile_remove