[rtems commit] testsuites: Add missing .scn files

Joel Sherrill joel at rtems.org
Fri Nov 15 17:48:50 UTC 2013


Module:    rtems
Branch:    master
Commit:    a136fb697d68ea7acfbce62981ace6994685a765
Changeset: http://git.rtems.org/rtems/commit/?id=a136fb697d68ea7acfbce62981ace6994685a765

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Nov 15 11:53:36 2013 -0600

testsuites: Add missing .scn files

---

 testsuites/fstests/imfs_fssymlink/Makefile.am      |    2 +-
 .../fstests/imfs_fssymlink/imfs_fssymlink.scn      |   37 ++++++
 testsuites/fstests/jffs2_fserror/Makefile.am       |    2 +-
 testsuites/fstests/jffs2_fserror/jffs2_fserror.scn |   96 ++++++++++++++
 testsuites/fstests/jffs2_fslink/Makefile.am        |    2 +-
 testsuites/fstests/jffs2_fslink/jffs2_fslink.scn   |   16 +++
 testsuites/fstests/jffs2_fspatheval/Makefile.am    |    2 +-
 .../fstests/jffs2_fspatheval/jffs2_fspatheval.scn  |   82 ++++++++++++
 testsuites/fstests/jffs2_fspermission/Makefile.am  |    2 +-
 .../jffs2_fspermission/jffs2_fspermission.scn      |   53 ++++++++
 testsuites/fstests/jffs2_fsrdwr/Makefile.am        |    2 +-
 testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn   |   24 ++++
 testsuites/fstests/jffs2_fssymlink/Makefile.am     |    2 +-
 .../fstests/jffs2_fssymlink/jffs2_fssymlink.scn    |   37 ++++++
 testsuites/fstests/jffs2_fstime/Makefile.am        |    2 +-
 testsuites/fstests/jffs2_fstime/jffs2_fstime.scn   |   15 +++
 testsuites/fstests/mdosfs_fserror/Makefile.am      |    2 +-
 .../fstests/mdosfs_fserror/mdosfs_fserror.scn      |   96 ++++++++++++++
 testsuites/fstests/mdosfs_fspatheval/Makefile.am   |    2 +-
 .../mdosfs_fspatheval/mdosfs_fspatheval.scn        |   82 ++++++++++++
 testsuites/fstests/mdosfs_fsrdwr/Makefile.am       |    2 +-
 testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn |   24 ++++
 testsuites/fstests/mdosfs_fsstatvfs/Makefile.am    |    3 +
 .../fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn  |   12 ++
 testsuites/fstests/mimfs_fserror/Makefile.am       |    2 +-
 testsuites/fstests/mimfs_fserror/mimfs_fserror.scn |   96 ++++++++++++++
 testsuites/fstests/mrfs_fserror/Makefile.am        |    2 +-
 testsuites/fstests/mrfs_fserror/mrfs_fserror.scn   |   96 ++++++++++++++
 testsuites/fstests/mrfs_fsfpathconf/Makefile.am    |    2 +-
 .../fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn  |   30 +++++
 testsuites/fstests/mrfs_fslink/Makefile.am         |    2 +-
 testsuites/fstests/mrfs_fslink/mrfs_fslink.scn     |   16 +++
 testsuites/fstests/mrfs_fspatheval/Makefile.am     |    2 +-
 .../fstests/mrfs_fspatheval/mrfs_fspatheval.scn    |   82 ++++++++++++
 testsuites/fstests/mrfs_fspermission/Makefile.am   |    2 +-
 .../mrfs_fspermission/mrfs_fspermission.scn        |   53 ++++++++
 testsuites/fstests/mrfs_fsrdwr/Makefile.am         |    2 +-
 testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn     |   24 ++++
 testsuites/fstests/mrfs_fssymlink/Makefile.am      |    2 +-
 .../fstests/mrfs_fssymlink/mrfs_fssymlink.scn      |   37 ++++++
 testsuites/fstests/mrfs_fstime/Makefile.am         |    2 +-
 testsuites/fstests/mrfs_fstime/mrfs_fstime.scn     |    9 ++
 testsuites/libtests/putenvtest/Makefile.am         |    2 +
 testsuites/libtests/putenvtest/putenvtest.scn      |    6 +
 testsuites/samples/paranoia/Makefile.am            |    4 +-
 testsuites/samples/paranoia/paranoia.scn           |  133 ++++++++++++++++++++
 46 files changed, 1183 insertions(+), 22 deletions(-)

diff --git a/testsuites/fstests/imfs_fssymlink/Makefile.am b/testsuites/fstests/imfs_fssymlink/Makefile.am
index 8d9518f..75d8ece 100644
--- a/testsuites/fstests/imfs_fssymlink/Makefile.am
+++ b/testsuites/fstests/imfs_fssymlink/Makefile.am
@@ -8,7 +8,7 @@ imfs_fssymlink_SOURCES += ../../psxtests/include/pmacros.h
 imfs_fssymlink_SOURCES += ../imfs_support/fs_support.c
 imfs_fssymlink_SOURCES += ../imfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = imfs_fssymlink.scn
+dist_rtems_tests_DATA = imfs_fssymlink.scn
 #dist_rtems_tests_DATA += imfs_fssymlink.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn b/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
new file mode 100644
index 0000000..53fc11f
--- /dev/null
+++ b/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
@@ -0,0 +1,37 @@
+
+
+*** FILE SYSTEM TEST ( IMFS ) ***
+Initializing filesystem IMFS
+
+
+*** SYMLINK TEST ***
+Create a file named file
+Create a symlink named symlink to file
+call readlink
+file
+Unlink the file
+call readlink
+Create a dir named file
+Create a symlink named symlink to file
+call readlink
+rmdir the dir
+symlink loop erro test
+Testing creat      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing open       with arguments: "path,O_CREAT|O_WRONLY,mode" EXPECT "ELOOP"
+PASS
+Testing truncate   with arguments: "path,0"             EXPECT "ELOOP"
+PASS
+Testing rename     with arguments: "path,file04"        EXPECT "ELOOP"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fssymlink/../fssymlink/test.c: 151
+Testing unlink     with arguments: "path"               EXPECT "ELOOP"
+PASS
+Testing mkdir      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing rmdir      with arguments: "path"               EXPECT "ELOOP"
+PASS
+*** END OF SYMLINK TEST ***
+
+
+Shutting down filesystem IMFS
+*** END OF FILE SYSTEM TEST ( IMFS ) ***
diff --git a/testsuites/fstests/jffs2_fserror/Makefile.am b/testsuites/fstests/jffs2_fserror/Makefile.am
index de14c06..6b99c79 100644
--- a/testsuites/fstests/jffs2_fserror/Makefile.am
+++ b/testsuites/fstests/jffs2_fserror/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fserror_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fserror_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fserror_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fserror.scn
+dist_rtems_tests_DATA = jffs2_fserror.scn
 #dist_rtems_tests_DATA += jffs2_fserror.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn b/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn
new file mode 100644
index 0000000..2c3d9ee
--- /dev/null
+++ b/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn
@@ -0,0 +1,96 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** ERROR TEST ***
+Testing open       with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
+PASS
+Testing mkdir      with arguments: "name01, mode"       EXPECT "EEXIST"
+PASS
+Testing open       with arguments: "name02, O_WRONLY"   EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name02, O_RDWR"     EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "\"\", O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name03, O_WRONLY"   EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "\"\", mode"         EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOTDIR"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOTDIR"
+PASS
+Testing close      with arguments: "-1"                 EXPECT "EBADF"
+PASS
+Testing close      with arguments: "100"                EXPECT "EBADF"
+PASS
+Testing rename     with arguments: "name01, name"       EXPECT "EINVAL"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 156
+Testing rename     with arguments: "name03, name02"     EXPECT "EISDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 164
+Testing rename     with arguments: "nonexistence, name01" EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 171
+Testing rename     with arguments: "\"\", name01"       EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 172
+Testing rename     with arguments: "name01, \"\""       EXPECT "ENOENT"
+PASS
+Testing rename     with arguments: "name, name03"       EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 182
+Testing rename     with arguments: "name03, name"       EXPECT "ENOTDIR"
+PASS
+Testing rename     with arguments: "name02, name03"     EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 184
+Testing truncate   with arguments: "file, -1"           EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"..\""             EXPECT "ENOTEMPTY"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fserror/../fserror/test.c: 266
+Testing rmdir      with arguments: "\"tmp\""            EXPECT "ENOTEMPTY"
+PASS
+Testing rmdir      with arguments: "\".\""              EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"tmp/.\""          EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "\"tmp/file\""       EXPECT "ENOTDIR"
+PASS
+Testing unlink     with arguments: "\"tmp/file/dir\""   EXPECT "ENOTDIR"
+PASS
+Testing read       with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing read       with arguments: "100, readbuf, 10"   EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, databuf, 10"    EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, 0, SEEK_SET"    EXPECT "EBADF"
+PASS
+*** END OF ERROR TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fslink/Makefile.am b/testsuites/fstests/jffs2_fslink/Makefile.am
index f4965b1..af11dd3 100644
--- a/testsuites/fstests/jffs2_fslink/Makefile.am
+++ b/testsuites/fstests/jffs2_fslink/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fslink_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fslink_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fslink_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fslink.scn
+dist_rtems_tests_DATA = jffs2_fslink.scn
 #dist_rtems_tests_DATA += jffs2_fslink.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn b/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn
new file mode 100644
index 0000000..dc278ab
--- /dev/null
+++ b/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn
@@ -0,0 +1,16 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** LINK TEST ***
+link creates hardlinks
+test if the stat is the same
+chmod and chown
+unlink then stat the file
+*** END OF LINK TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fspatheval/Makefile.am b/testsuites/fstests/jffs2_fspatheval/Makefile.am
index 79aa527..810f208 100644
--- a/testsuites/fstests/jffs2_fspatheval/Makefile.am
+++ b/testsuites/fstests/jffs2_fspatheval/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fspatheval_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fspatheval_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fspatheval_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fspatheval.scn
+dist_rtems_tests_DATA = jffs2_fspatheval.scn
 #dist_rtems_tests_DATA += jffs2_fspatheval.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn b/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn
new file mode 100644
index 0000000..0990627
--- /dev/null
+++ b/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn
@@ -0,0 +1,82 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** PATH EVALUATION TEST ***
+Making directory /test1/
+Making directory tets2
+Making directory ///test3
+Making directory test4////
+Making directory ../../test5
+Making directory /test1/../test6
+Making directory ./test7/
+Making directory .././test8
+Making directory test8/./../test9
+Making directory ///test9/../test10
+
+Making directory !#$%&()-@^_`{}~'
+Making directory 0_1_A
+Making directory aaa bbb
+Making directory ccc....ddd
+Making directory  fff
+
+Removing directory test10
+Removing directory test9
+Removing directory test8
+Removing directory test7
+Removing directory test6
+Removing directory test5
+Removing directory test4
+Removing directory test3
+Removing directory tets2
+Removing directory test1
+
+Removing directory  fff
+Removing directory ccc....ddd
+Removing directory aaa bbb
+Removing directory 0_1_A
+Removing directory !#$%&()-@^_`{}~'
+
+Create file /test1
+Create file tets2
+Create file ///test3
+Create file test4
+Create file ../../test5
+Create file /../test6
+Create file ./test7
+Create file .././test8
+Create file /./../test9
+Create file //../test10
+
+Create file !#$%&()-@^_`{}~'
+Create file 0_1_A
+Create file aaa bbb
+Create file ccc....ddd
+Create file  fff
+
+Removing file test10
+Removing file test9
+Removing file test8
+Removing file test7
+Removing file test6
+Removing file test5
+Removing file test4
+Removing file test3
+Removing file tets2
+Removing file test1
+
+Removing file  fff
+Removing file ccc....ddd
+Removing file aaa bbb
+Removing file 0_1_A
+Removing file !#$%&()-@^_`{}~'
+
+mkdir /tmp/a/b
+cd /tmp
+*** END OF PATH EVALUATION TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fspermission/Makefile.am b/testsuites/fstests/jffs2_fspermission/Makefile.am
index 6e482c5..c5a6570 100644
--- a/testsuites/fstests/jffs2_fspermission/Makefile.am
+++ b/testsuites/fstests/jffs2_fspermission/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fspermission_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fspermission_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fspermission_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fspermission.scn
+dist_rtems_tests_DATA = jffs2_fspermission.scn
 #dist_rtems_tests_DATA += jffs2_fspermission.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn b/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn
new file mode 100644
index 0000000..d587b38
--- /dev/null
+++ b/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn
@@ -0,0 +1,53 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** PERMISSION TEST ***
+The previous cmask is 022
+The file mode of file01 is 755
+The file mode of file02 is 755
+The file mode of dir01 is 755
+The previous cmask is 321
+The file mode of file01 is 456
+The file mode of file02 is 456
+The file mode of dir01 is 456
+The file mode of file01 is 777
+The file mode of file02 is 240
+The file mode of dir01 is 340
+Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Change euid and check
+Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
+PASS
+Testing rename     with arguments: "path,\"test\""      EXPECT "EACCES"
+PASS
+Testing truncate   with arguments: "path,0"             EXPECT "EACCES"
+PASS
+Testing link       with arguments: "path,\"test\""      EXPECT "EACCES"
+PASS
+Testing unlink     with arguments: "path"               EXPECT "EACCES"
+PASS
+Change egid and check
+Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
+PASS
+The directory file mode is 777
+The directory file mode is 321
+*** END OF PERMISSION TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fsrdwr/Makefile.am b/testsuites/fstests/jffs2_fsrdwr/Makefile.am
index 2f5ba70..2ed04b8 100644
--- a/testsuites/fstests/jffs2_fsrdwr/Makefile.am
+++ b/testsuites/fstests/jffs2_fsrdwr/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fsrdwr_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fsrdwr_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fsrdwr.scn
+dist_rtems_tests_DATA = jffs2_fsrdwr.scn
 #dist_rtems_tests_DATA += jffs2_fsrdwr.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn b/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn
new file mode 100644
index 0000000..8b9e056
--- /dev/null
+++ b/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn
@@ -0,0 +1,24 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+test case: read_write_test
+test case: lseek_test
+Create a new file
+Writing 2430 bytes to file
+Successfully wrote 2430
+Check the current position
+2431
+test case: truncate_test03
+test case: truncate_to_zero
+test case: block_read_and_write
+test case: block_rw_case_0
+test case: block_rw_case_1
+test case: block_rw_case_2
+test case: block_rw_case_3
+test case: block_rw_case_4
+test case: write_until_no_space_is_left
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fssymlink/Makefile.am b/testsuites/fstests/jffs2_fssymlink/Makefile.am
index 860ad18..79b3ea8 100644
--- a/testsuites/fstests/jffs2_fssymlink/Makefile.am
+++ b/testsuites/fstests/jffs2_fssymlink/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fssymlink_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fssymlink_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fssymlink_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fssymlink.scn
+dist_rtems_tests_DATA = jffs2_fssymlink.scn
 #dist_rtems_tests_DATA += jffs2_fssymlink.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn b/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn
new file mode 100644
index 0000000..8ef1d58
--- /dev/null
+++ b/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn
@@ -0,0 +1,37 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** SYMLINK TEST ***
+Create a file named file
+Create a symlink named symlink to file
+call readlink
+file
+Unlink the file
+call readlink
+Create a dir named file
+Create a symlink named symlink to file
+call readlink
+rmdir the dir
+symlink loop erro test
+Testing creat      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing open       with arguments: "path,O_CREAT|O_WRONLY,mode" EXPECT "ELOOP"
+PASS
+Testing truncate   with arguments: "path,0"             EXPECT "ELOOP"
+PASS
+Testing rename     with arguments: "path,file04"        EXPECT "ELOOP"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/jffs2_fssymlink/../fssymlink/test.c: 151
+Testing unlink     with arguments: "path"               EXPECT "ELOOP"
+PASS
+Testing mkdir      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing rmdir      with arguments: "path"               EXPECT "ELOOP"
+PASS
+*** END OF SYMLINK TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/jffs2_fstime/Makefile.am b/testsuites/fstests/jffs2_fstime/Makefile.am
index 2ac64b6..5beba81 100644
--- a/testsuites/fstests/jffs2_fstime/Makefile.am
+++ b/testsuites/fstests/jffs2_fstime/Makefile.am
@@ -8,7 +8,7 @@ jffs2_fstime_SOURCES += ../../psxtests/include/pmacros.h
 jffs2_fstime_SOURCES += ../jffs2_support/fs_support.c
 jffs2_fstime_SOURCES += ../jffs2_support/fs_config.h
 
-#dist_rtems_tests_DATA = jffs2_fstime.scn
+dist_rtems_tests_DATA = jffs2_fstime.scn
 #dist_rtems_tests_DATA += jffs2_fstime.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn b/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn
new file mode 100644
index 0000000..4b046cf
--- /dev/null
+++ b/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn
@@ -0,0 +1,15 @@
+
+
+*** FILE SYSTEM TEST ( JFFS2 ) ***
+Initializing filesystem JFFS2
+
+
+*** TIME TEST ***
+Sleep a few seconds
+Sleep a few seconds
+Sleep a few seconds
+*** END OF TIME TEST ***
+
+
+Shutting down filesystem JFFS2
+*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
diff --git a/testsuites/fstests/mdosfs_fserror/Makefile.am b/testsuites/fstests/mdosfs_fserror/Makefile.am
index d5a49e3..2ef6436 100644
--- a/testsuites/fstests/mdosfs_fserror/Makefile.am
+++ b/testsuites/fstests/mdosfs_fserror/Makefile.am
@@ -10,7 +10,7 @@ mdosfs_fserror_SOURCES += ../../psxtests/include/pmacros.h
 mdosfs_fserror_SOURCES += ../mdosfs_support/fs_support.c
 mdosfs_fserror_SOURCES += ../mdosfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mdosfs_fserror.scn
+dist_rtems_tests_DATA = mdosfs_fserror.scn
 #dist_rtems_tests_DATA += mdosfs_fserror.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn b/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn
new file mode 100644
index 0000000..22abe5f
--- /dev/null
+++ b/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn
@@ -0,0 +1,96 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
+Initializing filesystem MOUNTED DOSFS
+
+
+*** ERROR TEST ***
+Testing open       with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
+PASS
+Testing mkdir      with arguments: "name01, mode"       EXPECT "EEXIST"
+PASS
+Testing open       with arguments: "name02, O_WRONLY"   EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name02, O_RDWR"     EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "\"\", O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name03, O_WRONLY"   EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "\"\", mode"         EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOTDIR"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOTDIR"
+PASS
+Testing close      with arguments: "-1"                 EXPECT "EBADF"
+PASS
+Testing close      with arguments: "100"                EXPECT "EBADF"
+PASS
+Testing rename     with arguments: "name01, name"       EXPECT "EINVAL"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 156
+Testing rename     with arguments: "name03, name02"     EXPECT "EISDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 164
+Testing rename     with arguments: "nonexistence, name01" EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 171
+Testing rename     with arguments: "\"\", name01"       EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 172
+Testing rename     with arguments: "name01, \"\""       EXPECT "ENOENT"
+PASS
+Testing rename     with arguments: "name, name03"       EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 182
+Testing rename     with arguments: "name03, name"       EXPECT "ENOTDIR"
+PASS
+Testing rename     with arguments: "name02, name03"     EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 184
+Testing truncate   with arguments: "file, -1"           EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"..\""             EXPECT "ENOTEMPTY"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mdosfs_fserror/../fserror/test.c: 266
+Testing rmdir      with arguments: "\"tmp\""            EXPECT "ENOTEMPTY"
+PASS
+Testing rmdir      with arguments: "\".\""              EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"tmp/.\""          EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "\"tmp/file\""       EXPECT "ENOTDIR"
+PASS
+Testing unlink     with arguments: "\"tmp/file/dir\""   EXPECT "ENOTDIR"
+PASS
+Testing read       with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing read       with arguments: "100, readbuf, 10"   EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, databuf, 10"    EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, 0, SEEK_SET"    EXPECT "EBADF"
+PASS
+*** END OF ERROR TEST ***
+
+
+Shutting down filesystem MOUNTED DOSFS
+*** END OF FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
diff --git a/testsuites/fstests/mdosfs_fspatheval/Makefile.am b/testsuites/fstests/mdosfs_fspatheval/Makefile.am
index 3f38d8b..ddc8baf 100644
--- a/testsuites/fstests/mdosfs_fspatheval/Makefile.am
+++ b/testsuites/fstests/mdosfs_fspatheval/Makefile.am
@@ -10,7 +10,7 @@ mdosfs_fspatheval_SOURCES += ../../psxtests/include/pmacros.h
 mdosfs_fspatheval_SOURCES += ../mdosfs_support/fs_support.c
 mdosfs_fspatheval_SOURCES += ../mdosfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mdosfs_fspatheval.scn
+dist_rtems_tests_DATA = mdosfs_fspatheval.scn
 #dist_rtems_tests_DATA += mdosfs_fspatheval.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn b/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn
new file mode 100644
index 0000000..eda35d4
--- /dev/null
+++ b/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn
@@ -0,0 +1,82 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
+Initializing filesystem MOUNTED DOSFS
+
+
+*** PATH EVALUATION TEST ***
+Making directory /test1/
+Making directory tets2
+Making directory ///test3
+Making directory test4////
+Making directory ../../test5
+Making directory /test1/../test6
+Making directory ./test7/
+Making directory .././test8
+Making directory test8/./../test9
+Making directory ///test9/../test10
+
+Making directory !#$%&()-@^_`{}~'
+Making directory 0_1_A
+Making directory aaa bbb
+Making directory ccc....ddd
+Making directory  fff
+
+Removing directory test10
+Removing directory test9
+Removing directory test8
+Removing directory test7
+Removing directory test6
+Removing directory test5
+Removing directory test4
+Removing directory test3
+Removing directory tets2
+Removing directory test1
+
+Removing directory  fff
+Removing directory ccc....ddd
+Removing directory aaa bbb
+Removing directory 0_1_A
+Removing directory !#$%&()-@^_`{}~'
+
+Create file /test1
+Create file tets2
+Create file ///test3
+Create file test4
+Create file ../../test5
+Create file /../test6
+Create file ./test7
+Create file .././test8
+Create file /./../test9
+Create file //../test10
+
+Create file !#$%&()-@^_`{}~'
+Create file 0_1_A
+Create file aaa bbb
+Create file ccc....ddd
+Create file  fff
+
+Removing file test10
+Removing file test9
+Removing file test8
+Removing file test7
+Removing file test6
+Removing file test5
+Removing file test4
+Removing file test3
+Removing file tets2
+Removing file test1
+
+Removing file  fff
+Removing file ccc....ddd
+Removing file aaa bbb
+Removing file 0_1_A
+Removing file !#$%&()-@^_`{}~'
+
+mkdir /tmp/a/b
+cd /tmp
+*** END OF PATH EVALUATION TEST ***
+
+
+Shutting down filesystem MOUNTED DOSFS
+*** END OF FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
diff --git a/testsuites/fstests/mdosfs_fsrdwr/Makefile.am b/testsuites/fstests/mdosfs_fsrdwr/Makefile.am
index 59c10fa..5ce91cc 100644
--- a/testsuites/fstests/mdosfs_fsrdwr/Makefile.am
+++ b/testsuites/fstests/mdosfs_fsrdwr/Makefile.am
@@ -10,7 +10,7 @@ mdosfs_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h
 mdosfs_fsrdwr_SOURCES += ../mdosfs_support/fs_support.c
 mdosfs_fsrdwr_SOURCES += ../mdosfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mdosfs_fsrdwr.scn
+dist_rtems_tests_DATA = mdosfs_fsrdwr.scn
 #dist_rtems_tests_DATA += mdosfs_fsrdwr.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn b/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn
new file mode 100644
index 0000000..96c9101
--- /dev/null
+++ b/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn
@@ -0,0 +1,24 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
+Initializing filesystem MOUNTED DOSFS
+test case: read_write_test
+test case: lseek_test
+Create a new file
+Writing 2430 bytes to file
+Successfully wrote 2430
+Check the current position
+2431
+test case: truncate_test03
+test case: truncate_to_zero
+test case: block_read_and_write
+test case: block_rw_case_0
+test case: block_rw_case_1
+test case: block_rw_case_2
+test case: block_rw_case_3
+test case: block_rw_case_4
+test case: write_until_no_space_is_left
+
+
+Shutting down filesystem MOUNTED DOSFS
+*** END OF FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
diff --git a/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am b/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am
index bb0d2ef..4461ede 100644
--- a/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am
+++ b/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am
@@ -10,6 +10,9 @@ mdosfs_fsstatvfs_SOURCES += ../../psxtests/include/pmacros.h
 mdosfs_fsstatvfs_SOURCES += ../mdosfs_support/fs_support.c
 mdosfs_fsstatvfs_SOURCES += ../mdosfs_support/fs_config.h
 
+dist_rtems_tests_DATA = mdosfs_fsstatvfs.scn
+#dist_rtems_tests_DATA = mdosfs_fsstatvfs.doc
+
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
 include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
diff --git a/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn b/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn
new file mode 100644
index 0000000..f8bbc6a
--- /dev/null
+++ b/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn
@@ -0,0 +1,12 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
+Initializing filesystem MOUNTED DOSFS
+
+
+*** STATVFS TEST ***
+*** END OF TEST STATVFS ***
+
+
+Shutting down filesystem MOUNTED DOSFS
+*** END OF FILE SYSTEM TEST ( MOUNTED DOSFS ) ***
diff --git a/testsuites/fstests/mimfs_fserror/Makefile.am b/testsuites/fstests/mimfs_fserror/Makefile.am
index 6c3b4c3..c418bc0 100644
--- a/testsuites/fstests/mimfs_fserror/Makefile.am
+++ b/testsuites/fstests/mimfs_fserror/Makefile.am
@@ -8,7 +8,7 @@ mimfs_fserror_SOURCES += ../../psxtests/include/pmacros.h
 mimfs_fserror_SOURCES += ../mimfs_support/fs_support.c
 mimfs_fserror_SOURCES += ../mimfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mimfs_fserror.scn
+dist_rtems_tests_DATA = mimfs_fserror.scn
 #dist_rtems_tests_DATA += mimfs_fserror.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn b/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn
new file mode 100644
index 0000000..f048736
--- /dev/null
+++ b/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn
@@ -0,0 +1,96 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED IMFS ) ***
+Initializing filesystem MOUNTED IMFS
+
+
+*** ERROR TEST ***
+Testing open       with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
+PASS
+Testing mkdir      with arguments: "name01, mode"       EXPECT "EEXIST"
+PASS
+Testing open       with arguments: "name02, O_WRONLY"   EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name02, O_RDWR"     EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "\"\", O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name03, O_WRONLY"   EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "\"\", mode"         EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOTDIR"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOTDIR"
+PASS
+Testing close      with arguments: "-1"                 EXPECT "EBADF"
+PASS
+Testing close      with arguments: "100"                EXPECT "EBADF"
+PASS
+Testing rename     with arguments: "name01, name"       EXPECT "EINVAL"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 156
+Testing rename     with arguments: "name03, name02"     EXPECT "EISDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 164
+Testing rename     with arguments: "nonexistence, name01" EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 171
+Testing rename     with arguments: "\"\", name01"       EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 172
+Testing rename     with arguments: "name01, \"\""       EXPECT "ENOENT"
+PASS
+Testing rename     with arguments: "name, name03"       EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 182
+Testing rename     with arguments: "name03, name"       EXPECT "ENOTDIR"
+PASS
+Testing rename     with arguments: "name02, name03"     EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 184
+Testing truncate   with arguments: "file, -1"           EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"..\""             EXPECT "ENOTEMPTY"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mimfs_fserror/../fserror/test.c: 266
+Testing rmdir      with arguments: "\"tmp\""            EXPECT "ENOTEMPTY"
+PASS
+Testing rmdir      with arguments: "\".\""              EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"tmp/.\""          EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "\"tmp/file\""       EXPECT "ENOTDIR"
+PASS
+Testing unlink     with arguments: "\"tmp/file/dir\""   EXPECT "ENOTDIR"
+PASS
+Testing read       with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing read       with arguments: "100, readbuf, 10"   EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, databuf, 10"    EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, 0, SEEK_SET"    EXPECT "EBADF"
+PASS
+*** END OF ERROR TEST ***
+
+
+Shutting down filesystem MOUNTED IMFS
+*** END OF FILE SYSTEM TEST ( MOUNTED IMFS ) ***
diff --git a/testsuites/fstests/mrfs_fserror/Makefile.am b/testsuites/fstests/mrfs_fserror/Makefile.am
index 8580a10..c0a9a60 100644
--- a/testsuites/fstests/mrfs_fserror/Makefile.am
+++ b/testsuites/fstests/mrfs_fserror/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fserror_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fserror_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fserror_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fserror.scn
+dist_rtems_tests_DATA = mrfs_fserror.scn
 #dist_rtems_tests_DATA += mrfs_fserror.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn b/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn
new file mode 100644
index 0000000..f38737c
--- /dev/null
+++ b/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn
@@ -0,0 +1,96 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** ERROR TEST ***
+Testing open       with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
+PASS
+Testing mkdir      with arguments: "name01, mode"       EXPECT "EEXIST"
+PASS
+Testing open       with arguments: "name02, O_WRONLY"   EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name02, O_RDWR"     EXPECT "EISDIR"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "\"\", O_WRONLY"     EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name03, O_WRONLY"   EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOENT"
+PASS
+Testing mkdir      with arguments: "\"\", mode"         EXPECT "ENOENT"
+PASS
+Testing open       with arguments: "name, O_WRONLY"     EXPECT "ENOTDIR"
+PASS
+Testing mkdir      with arguments: "name, mode"         EXPECT "ENOTDIR"
+PASS
+Testing close      with arguments: "-1"                 EXPECT "EBADF"
+PASS
+Testing close      with arguments: "100"                EXPECT "EBADF"
+PASS
+Testing rename     with arguments: "name01, name"       EXPECT "EINVAL"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 156
+Testing rename     with arguments: "name03, name02"     EXPECT "EISDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 164
+Testing rename     with arguments: "nonexistence, name01" EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 171
+Testing rename     with arguments: "\"\", name01"       EXPECT "ENOENT"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 172
+Testing rename     with arguments: "name01, \"\""       EXPECT "ENOENT"
+PASS
+Testing rename     with arguments: "name, name03"       EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 182
+Testing rename     with arguments: "name03, name"       EXPECT "ENOTDIR"
+PASS
+Testing rename     with arguments: "name02, name03"     EXPECT "ENOTDIR"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 184
+Testing truncate   with arguments: "file, -1"           EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"..\""             EXPECT "ENOTEMPTY"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 266
+Testing rmdir      with arguments: "\"tmp\""            EXPECT "ENOTEMPTY"
+PASS
+Testing rmdir      with arguments: "\".\""              EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"tmp/.\""          EXPECT "EINVAL"
+PASS
+Testing rmdir      with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "\"\""               EXPECT "ENOENT"
+PASS
+Testing unlink     with arguments: "nonexistence"       EXPECT "ENOENT"
+PASS
+Testing rmdir      with arguments: "\"tmp/file\""       EXPECT "ENOTDIR"
+PASS
+Testing unlink     with arguments: "\"tmp/file/dir\""   EXPECT "ENOTDIR"
+PASS
+Testing read       with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing read       with arguments: "100, readbuf, 10"   EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, databuf, 10"    EXPECT "EBADF"
+PASS
+Testing write      with arguments: "fd, readbuf, 10"    EXPECT "EBADF"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
+PASS
+Testing lseek      with arguments: "fd, 0, SEEK_SET"    EXPECT "EBADF"
+PASS
+*** END OF ERROR TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fsfpathconf/Makefile.am b/testsuites/fstests/mrfs_fsfpathconf/Makefile.am
index 45e9537..cf1054d 100644
--- a/testsuites/fstests/mrfs_fsfpathconf/Makefile.am
+++ b/testsuites/fstests/mrfs_fsfpathconf/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fsfpathconf_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fsfpathconf_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fsfpathconf_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fsfpathconf.scn
+dist_rtems_tests_DATA = mrfs_fsfpathconf.scn
 #dist_rtems_tests_DATA += mrfs_fsfpathconf.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn b/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn
new file mode 100644
index 0000000..655b65a
--- /dev/null
+++ b/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn
@@ -0,0 +1,30 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** FPATHCONF TEST ***
+
+fpathconf of non-existing file give -1 , expected -1
+... creating file "testfile.km"
+*** file created succesfully
+
+request with _PC_LINK_MAX return : 5
+request with _PC_MAX_CANON return : 128
+request with _PC_MAX_INPUT return : 7
+request with _PC_NAME_MAX return : 255
+request with _PC_PATH_MAX return : 255
+request with _PC_PIPE_BUF return : 1024
+request with _PC_CHOWN_RESTRICTED return : 0
+request with _PC_NO_TRUNC return : 1
+request with _PC_VDISABLE return : 0
+request with _PC_ASYNC_IO return : 0
+request with _PC_PRIO_IO return : 0
+request with _PC_SYNC_IO return : 0
+request with bad argument return : -1
+*** END OF FPATHCONF TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fslink/Makefile.am b/testsuites/fstests/mrfs_fslink/Makefile.am
index 73edb64..8d9ae34 100644
--- a/testsuites/fstests/mrfs_fslink/Makefile.am
+++ b/testsuites/fstests/mrfs_fslink/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fslink_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fslink_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fslink_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fslink.scn
+dist_rtems_tests_DATA = mrfs_fslink.scn
 #dist_rtems_tests_DATA += mrfs_fslink.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn b/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn
new file mode 100644
index 0000000..e74983d
--- /dev/null
+++ b/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn
@@ -0,0 +1,16 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** LINK TEST ***
+link creates hardlinks
+test if the stat is the same
+chmod and chown
+unlink then stat the file
+*** END OF LINK TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fspatheval/Makefile.am b/testsuites/fstests/mrfs_fspatheval/Makefile.am
index 1425db2..877fbc7 100644
--- a/testsuites/fstests/mrfs_fspatheval/Makefile.am
+++ b/testsuites/fstests/mrfs_fspatheval/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fspatheval_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fspatheval_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fspatheval_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fspatheval.scn
+dist_rtems_tests_DATA = mrfs_fspatheval.scn
 #dist_rtems_tests_DATA += mrfs_fspatheval.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn b/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn
new file mode 100644
index 0000000..faa25a1
--- /dev/null
+++ b/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn
@@ -0,0 +1,82 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** PATH EVALUATION TEST ***
+Making directory /test1/
+Making directory tets2
+Making directory ///test3
+Making directory test4////
+Making directory ../../test5
+Making directory /test1/../test6
+Making directory ./test7/
+Making directory .././test8
+Making directory test8/./../test9
+Making directory ///test9/../test10
+
+Making directory !#$%&()-@^_`{}~'
+Making directory 0_1_A
+Making directory aaa bbb
+Making directory ccc....ddd
+Making directory  fff
+
+Removing directory test10
+Removing directory test9
+Removing directory test8
+Removing directory test7
+Removing directory test6
+Removing directory test5
+Removing directory test4
+Removing directory test3
+Removing directory tets2
+Removing directory test1
+
+Removing directory  fff
+Removing directory ccc....ddd
+Removing directory aaa bbb
+Removing directory 0_1_A
+Removing directory !#$%&()-@^_`{}~'
+
+Create file /test1
+Create file tets2
+Create file ///test3
+Create file test4
+Create file ../../test5
+Create file /../test6
+Create file ./test7
+Create file .././test8
+Create file /./../test9
+Create file //../test10
+
+Create file !#$%&()-@^_`{}~'
+Create file 0_1_A
+Create file aaa bbb
+Create file ccc....ddd
+Create file  fff
+
+Removing file test10
+Removing file test9
+Removing file test8
+Removing file test7
+Removing file test6
+Removing file test5
+Removing file test4
+Removing file test3
+Removing file tets2
+Removing file test1
+
+Removing file  fff
+Removing file ccc....ddd
+Removing file aaa bbb
+Removing file 0_1_A
+Removing file !#$%&()-@^_`{}~'
+
+mkdir /tmp/a/b
+cd /tmp
+*** END OF PATH EVALUATION TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fspermission/Makefile.am b/testsuites/fstests/mrfs_fspermission/Makefile.am
index 4a5062b..aaee686 100644
--- a/testsuites/fstests/mrfs_fspermission/Makefile.am
+++ b/testsuites/fstests/mrfs_fspermission/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fspermission_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fspermission_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fspermission_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fspermission.scn
+dist_rtems_tests_DATA = mrfs_fspermission.scn
 #dist_rtems_tests_DATA += mrfs_fspermission.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn b/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn
new file mode 100644
index 0000000..903ae4b
--- /dev/null
+++ b/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn
@@ -0,0 +1,53 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** PERMISSION TEST ***
+The previous cmask is 022
+The file mode of file01 is 755
+The file mode of file02 is 755
+The file mode of dir01 is 755
+The previous cmask is 321
+The file mode of file01 is 456
+The file mode of file02 is 456
+The file mode of dir01 is 456
+The file mode of file01 is 777
+The file mode of file02 is 240
+The file mode of dir01 is 340
+Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Change euid and check
+Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
+PASS
+Testing rename     with arguments: "path,\"test\""      EXPECT "EACCES"
+PASS
+Testing truncate   with arguments: "path,0"             EXPECT "EACCES"
+PASS
+Testing link       with arguments: "path,\"test\""      EXPECT "EACCES"
+PASS
+Testing unlink     with arguments: "path"               EXPECT "EACCES"
+PASS
+Change egid and check
+Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
+PASS
+Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
+PASS
+Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
+PASS
+The directory file mode is 777
+The directory file mode is 321
+*** END OF PERMISSION TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fsrdwr/Makefile.am b/testsuites/fstests/mrfs_fsrdwr/Makefile.am
index 68176e6..1913770 100644
--- a/testsuites/fstests/mrfs_fsrdwr/Makefile.am
+++ b/testsuites/fstests/mrfs_fsrdwr/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fsrdwr_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fsrdwr_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fsrdwr.scn
+dist_rtems_tests_DATA = mrfs_fsrdwr.scn
 #dist_rtems_tests_DATA += mrfs_fsrdwr.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn b/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn
new file mode 100644
index 0000000..3fbbb28
--- /dev/null
+++ b/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn
@@ -0,0 +1,24 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+test case: read_write_test
+test case: lseek_test
+Create a new file
+Writing 2430 bytes to file
+Successfully wrote 2430
+Check the current position
+2431
+test case: truncate_test03
+test case: truncate_to_zero
+test case: block_read_and_write
+test case: block_rw_case_0
+test case: block_rw_case_1
+test case: block_rw_case_2
+test case: block_rw_case_3
+test case: block_rw_case_4
+test case: write_until_no_space_is_left
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fssymlink/Makefile.am b/testsuites/fstests/mrfs_fssymlink/Makefile.am
index 781af2b..c3ede70 100644
--- a/testsuites/fstests/mrfs_fssymlink/Makefile.am
+++ b/testsuites/fstests/mrfs_fssymlink/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fssymlink_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fssymlink_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fssymlink_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fssymlink.scn
+dist_rtems_tests_DATA = mrfs_fssymlink.scn
 #dist_rtems_tests_DATA += mrfs_fssymlink.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn b/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn
new file mode 100644
index 0000000..bdcbeef
--- /dev/null
+++ b/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn
@@ -0,0 +1,37 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** SYMLINK TEST ***
+Create a file named file
+Create a symlink named symlink to file
+call readlink
+file
+Unlink the file
+call readlink
+Create a dir named file
+Create a symlink named symlink to file
+call readlink
+rmdir the dir
+symlink loop erro test
+Testing creat      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing open       with arguments: "path,O_CREAT|O_WRONLY,mode" EXPECT "ELOOP"
+PASS
+Testing truncate   with arguments: "path,0"             EXPECT "ELOOP"
+PASS
+Testing rename     with arguments: "path,file04"        EXPECT "ELOOP"
+FAIL   ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fssymlink/../fssymlink/test.c: 151
+Testing unlink     with arguments: "path"               EXPECT "ELOOP"
+PASS
+Testing mkdir      with arguments: "path,mode"          EXPECT "ELOOP"
+PASS
+Testing rmdir      with arguments: "path"               EXPECT "ELOOP"
+PASS
+*** END OF SYMLINK TEST ***
+
+
+Shutting down filesystem MOUNTED RFS
+*** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***
diff --git a/testsuites/fstests/mrfs_fstime/Makefile.am b/testsuites/fstests/mrfs_fstime/Makefile.am
index 69f45d5..f069418 100644
--- a/testsuites/fstests/mrfs_fstime/Makefile.am
+++ b/testsuites/fstests/mrfs_fstime/Makefile.am
@@ -10,7 +10,7 @@ mrfs_fstime_SOURCES += ../../psxtests/include/pmacros.h
 mrfs_fstime_SOURCES += ../mrfs_support/fs_support.c
 mrfs_fstime_SOURCES += ../mrfs_support/fs_config.h
 
-#dist_rtems_tests_DATA = mrfs_fstime.scn
+dist_rtems_tests_DATA = mrfs_fstime.scn
 #dist_rtems_tests_DATA += mrfs_fstime.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
diff --git a/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn b/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn
new file mode 100644
index 0000000..b08aecb
--- /dev/null
+++ b/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn
@@ -0,0 +1,9 @@
+
+
+*** FILE SYSTEM TEST ( MOUNTED RFS ) ***
+Initializing filesystem MOUNTED RFS
+
+
+*** TIME TEST ***
+Sleep a few seconds
+../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fstime/../fstime/test.c: 128 st.st_ctime == st.st_mtime
diff --git a/testsuites/libtests/putenvtest/Makefile.am b/testsuites/libtests/putenvtest/Makefile.am
index f8dedaa..577b8d4 100644
--- a/testsuites/libtests/putenvtest/Makefile.am
+++ b/testsuites/libtests/putenvtest/Makefile.am
@@ -6,6 +6,8 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
 include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
 
+dist_rtems_tests_DATA = putenvtest.scn
+#dist_rtems_tests_DATA = putenvtest.doc
 
 AM_CPPFLAGS += -I$(top_srcdir)/../support/include
 
diff --git a/testsuites/libtests/putenvtest/putenvtest.scn b/testsuites/libtests/putenvtest/putenvtest.scn
new file mode 100644
index 0000000..7bc7f9a
--- /dev/null
+++ b/testsuites/libtests/putenvtest/putenvtest.scn
@@ -0,0 +1,6 @@
+
+
+*** PUTENV/GETENV TEST ***
+putenv("FOO=BAR") - expected to work
+getenv("FOO") ==> "BAR"
+*** END OF PUTENV/GETENV TEST ***
diff --git a/testsuites/samples/paranoia/Makefile.am b/testsuites/samples/paranoia/Makefile.am
index 7ab78b4..36e6bbb 100644
--- a/testsuites/samples/paranoia/Makefile.am
+++ b/testsuites/samples/paranoia/Makefile.am
@@ -2,13 +2,13 @@
 rtems_tests_PROGRAMS = paranoia
 paranoia_SOURCES = init.c paranoia.c system.h
 
-dist_rtems_tests_DATA = paranoia.doc
+dist_rtems_tests_DATA = paranoia.scn
+dist_rtems_tests_DATA += paranoia.doc
 
 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
 include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
 
-
 #  -DCYGNUS   turns on more verbose msgs
 AM_CPPFLAGS += -DNOSIGNAL -DCYGNUS -DNOMAIN
 
diff --git a/testsuites/samples/paranoia/paranoia.scn b/testsuites/samples/paranoia/paranoia.scn
new file mode 100644
index 0000000..b696b49
--- /dev/null
+++ b/testsuites/samples/paranoia/paranoia.scn
@@ -0,0 +1,133 @@
+
+
+*** PARANOIA TEST ***
+paranoia version 1.1 [cygnus]
+Program is now RUNNING tests on small integers:
+TEST: 0+0 != 0, 1-1 != 0, 1 <= 0, or 1+1 != 2
+PASS: 0+0 != 0, 1-1 != 0, 1 <= 0, or 1+1 != 2
+TEST: 3 != 2+1, 4 != 3+1, 4+2*(-2) != 0, or 4-3-1 != 0
+PASS: 3 != 2+1, 4 != 3+1, 4+2*(-2) != 0, or 4-3-1 != 0
+TEST: -1+1 != 0, (-1)+abs(1) != 0, or -1+(-1)*(-1) != 0
+PASS: -1+1 != 0, (-1)+abs(1) != 0, or -1+(-1)*(-1) != 0
+TEST: 1/2 + (-1) + 1/2 != 0
+PASS: 1/2 + (-1) + 1/2 != 0
+TEST: 9 != 3*3, 27 != 9*3, 32 != 8*4, or 32-27-4-1 != 0
+PASS: 9 != 3*3, 27 != 9*3, 32 != 8*4, or 32-27-4-1 != 0
+TEST: 5 != 4+1, 240/3 != 80, 240/4 != 60, or 240/5 != 48
+PASS: 5 != 4+1, 240/3 != 80, 240/4 != 60, or 240/5 != 48
+-1, 0, 1/2, 1, 2, 3, 4, 5, 9, 27, 32 & 240 are O.K.
+
+Searching for Radix and Precision.
+Radix = 2.000000 .
+Closest relative separation found is U1 = 1.1102230e-16 .
+
+Recalculating radix and precision
+ confirms closest relative separation U1 .
+Radix confirmed.
+TEST: Radix is too big: roundoff problems
+PASS: Radix is too big: roundoff problems
+TEST: Radix is not as good as 2 or 10
+PASS: Radix is not as good as 2 or 10
+TEST: (1-U1)-1/2 < 1/2 is FALSE, prog. fails?
+PASS: (1-U1)-1/2 < 1/2 is FALSE, prog. fails?
+TEST: Comparison is fuzzy,X=1 but X-1/2-1/2 != 0
+PASS: Comparison is fuzzy,X=1 but X-1/2-1/2 != 0
+The number of significant digits of the Radix is 53.000000 .
+TEST: Precision worse than 5 decimal figures
+PASS: Precision worse than 5 decimal figures
+TEST: Subtraction is not normalized X=Y,X+Z != Y+Z!
+PASS: Subtraction is not normalized X=Y,X+Z != Y+Z!
+Subtraction appears to be normalized, as it should be.
+Checking for guard digit in *, /, and -.
+TEST: * gets too many final digits wrong.
+
+PASS: * gets too many final digits wrong.
+
+TEST: Division lacks a Guard Digit, so error can exceed 1 ulp
+or  1/3  and  3/9  and  9/27 may disagree
+PASS: Division lacks a Guard Digit, so error can exceed 1 ulp
+or  1/3  and  3/9  and  9/27 may disagree
+TEST: Computed value of 1/1.000..1 >= 1
+PASS: Computed value of 1/1.000..1 >= 1
+TEST: * and/or / gets too many last digits wrong
+PASS: * and/or / gets too many last digits wrong
+     *, /, and - appear to have guard digits, as they should.
+Checking rounding on multiply, divide and add/subtract.
+TEST: X * (1/X) differs from 1
+PASS: X * (1/X) differs from 1
+* is neither chopped nor correctly rounded.
+/ is neither chopped nor correctly rounded.
+TEST: Radix * ( 1 / Radix ) differs from 1
+PASS: Radix * ( 1 / Radix ) differs from 1
+TEST: Incomplete carry-propagation in Addition
+PASS: Incomplete carry-propagation in Addition
+Addition/Subtraction neither rounds nor chops.
+Sticky bit used incorrectly or not at all.
+TEST: lack(s) of guard digits or failure(s) to correctly round or chop
+(noted above) count as one flaw in the final tally below
+ERROR: Severity: FLAW:  lack(s) of guard digits or failure(s) to correctly round or chop
+(noted above) count as one flaw in the final tally below.
+PASS: lack(s) of guard digits or failure(s) to correctly round or chop
+(noted above) count as one flaw in the final tally below
+
+Does Multiplication commute?  Testing on 20 random pairs.
+     No failures found in 20 integer pairs.
+
+Running test of square root(x).
+TEST: Square root of 0.0, -0.0 or 1.0 wrong
+PASS: Square root of 0.0, -0.0 or 1.0 wrong
+Testing if sqrt(X * X) == X for 20 Integers X.
+Test for sqrt monotonicity.
+sqrt has passed a test for Monotonicity.
+Testing whether sqrt is rounded or chopped.
+Square root is neither chopped nor correctly rounded.
+Observed errors run from -5.0000000e-01 to 5.0000000e-01 ulps.
+TEST: sqrt gets too many last digits wrong
+PASS: sqrt gets too many last digits wrong
+Testing powers Z^i for small Integers Z and i.
+... no discrepancies found.
+
+Seeking Underflow thresholds UfThold and E0.
+Smallest strictly positive number found is E0 = 4.94066e-324 .
+Since comparison denies Z = 0, evaluating (Z + Z) / Z should be safe.
+What the machine gets for (Z + Z) / Z is  2.00000000000000000e+00 .
+This is O.K., provided Over/Underflow has NOT just been signaled.
+Underflow is gradual; it incurs Absolute Error =
+(roundoff in UfThold) < E0.
+The Underflow threshold is 2.22507385850720188e-308,  below which
+calculation may suffer larger Relative error than merely roundoff.
+Since underflow occurs below the threshold
+UfThold = (2.00000000000000000e+00) ^ (-1.02200000000000000e+03)
+only underflow should afflict the expression
+        (2.00000000000000000e+00) ^ (-2.04400000000000000e+03);
+actually calculating yields: 0.00000000000000000e+00 .
+This computed value is O.K.
+
+Testing X^((X + 1) / (X - 1)) vs. exp(2) = 7.38905609893065218e+00 as X -> 1.
+Accuracy seems adequate.
+Testing powers Z^Q at four nearly extreme values.
+ ... no discrepancies found.
+
+Searching for Overflow threshold:
+This may generate an error.
+Can `Z = -Y' overflow?
+Trying it on Y = -inf .
+Seems O.K.
+Overflow threshold is V  = 1.79769313486231571e+308 .
+Overflow saturates at V0 = inf .
+No Overflow should be signaled for V * 1 = 1.79769313486231571e+308
+                           nor for V / 1 = 1.79769313486231571e+308 .
+Any overflow signal separating this * from the one
+above is a DEFECT.
+
+
+What message and/or values does Division by Zero produce?
+    Trying to compute 1 / 0 produces ...  inf .
+
+    Trying to compute 0 / 0 produces ...  nan .
+
+The number of  FLAWs  discovered =           1.
+
+The arithmetic diagnosed seems Satisfactory though flawed.
+END OF TEST.
+*** END OF PARANOIA TEST ***




More information about the vc mailing list