From 8967e5fa78361bc7db4681ed117b0e7164821ef5 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 9 Apr 2018 13:40:29 +1000 Subject: testsuite/fstests: Merged nested Makefile.am files into one Makefile.am This change is part of the testsuite Makefile.am reorganization. Update #3382 --- testsuites/fstests/Makefile.am | 703 +++++++++++++++++++-- testsuites/fstests/configure.ac | 118 ++-- testsuites/fstests/fsbdpart01/Makefile.am | 20 - testsuites/fstests/fsclose01/Makefile.am | 19 - testsuites/fstests/fsdosfsformat01/Makefile.am | 19 - testsuites/fstests/fsdosfsname01/Makefile.am | 21 - testsuites/fstests/fsdosfsname02/Makefile.am | 19 - testsuites/fstests/fsdosfssync01/Makefile.am | 19 - testsuites/fstests/fsdosfswrite01/Makefile.am | 19 - testsuites/fstests/fserror/imfs_fserror.scn | 94 +++ testsuites/fstests/fserror/jffs2_fserror.scn | 96 +++ testsuites/fstests/fserror/mdosfs_fserror.scn | 96 +++ testsuites/fstests/fserror/mimfs_fserror.scn | 96 +++ testsuites/fstests/fserror/mrfs_fserror.scn | 96 +++ .../fstests/fsfpathconf/mrfs_fsfpathconf.scn | 30 + testsuites/fstests/fsfseeko01/Makefile.am | 19 - testsuites/fstests/fsimfsconfig01/Makefile.am | 19 - testsuites/fstests/fsimfsconfig02/Makefile.am | 19 - testsuites/fstests/fsimfsconfig03/Makefile.am | 19 - testsuites/fstests/fsimfsgeneric01/Makefile.am | 20 - testsuites/fstests/fsjffs2gc01/Makefile.am | 29 - testsuites/fstests/fslink/imfs_fslink.scn | 15 + testsuites/fstests/fslink/jffs2_fslink.scn | 16 + testsuites/fstests/fslink/mimfs_fslink.scn | 10 + testsuites/fstests/fslink/mrfs_fslink.scn | 16 + testsuites/fstests/fsnofs01/Makefile.am | 20 - testsuites/fstests/fspatheval/imfs_fspatheval.scn | 80 +++ testsuites/fstests/fspatheval/jffs2_fspatheval.scn | 82 +++ .../fstests/fspatheval/mdosfs_fspatheval.scn | 82 +++ testsuites/fstests/fspatheval/mimfs_fspatheval.scn | 76 +++ testsuites/fstests/fspatheval/mrfs_fspatheval.scn | 82 +++ .../fstests/fspermission/imfs_fspermission.scn | 52 ++ .../fstests/fspermission/jffs2_fspermission.scn | 53 ++ .../fspermission/mimfs_fspermission-interupted.scn | 47 ++ .../fstests/fspermission/mrfs_fspermission.scn | 53 ++ testsuites/fstests/fsrdwr/imfs_fsrdwr.scn | 22 + testsuites/fstests/fsrdwr/jffs2_fsrdwr.scn | 24 + testsuites/fstests/fsrdwr/mdosfs_fsrdwr.scn | 24 + testsuites/fstests/fsrdwr/mimfs_fsrdwr.scn | 22 + testsuites/fstests/fsrdwr/mrfs_fsrdwr.scn | 24 + testsuites/fstests/fsrename/mimfs_fsrename.scn | 287 +++++++++ testsuites/fstests/fsrfsbitmap01/Makefile.am | 33 - testsuites/fstests/fsrofs01/Makefile.am | 20 - .../fstests/fsscandir01/imfs_fsscandir01.scn | 7 + .../fstests/fsscandir01/jffs2_fsscandir01.scn | 7 + .../fstests/fsscandir01/mdosfs_fsscandir01.scn | 6 + .../fstests/fsscandir01/mimfs_fsscandir01.scn | 7 + .../fstests/fsscandir01/mrfs_fsscandir01.scn | 7 + testsuites/fstests/fsstatvfs/mdosfs_fsstatvfs.scn | 12 + testsuites/fstests/fssymlink/imfs_fssymlink.scn | 37 ++ testsuites/fstests/fssymlink/jffs2_fssymlink.scn | 37 ++ testsuites/fstests/fssymlink/mimfs_fssymlink.scn | 31 + testsuites/fstests/fssymlink/mrfs_fssymlink.scn | 37 ++ testsuites/fstests/fstime/imfs_fstime.scn | 12 + testsuites/fstests/fstime/jffs2_fstime.scn | 15 + testsuites/fstests/fstime/mimfs_fstime.scn | 7 + testsuites/fstests/fstime/mrfs_fstime.scn | 9 + testsuites/fstests/imfs_fserror/Makefile.am | 31 - testsuites/fstests/imfs_fserror/imfs_fserror.scn | 94 --- testsuites/fstests/imfs_fslink/Makefile.am | 31 - testsuites/fstests/imfs_fslink/imfs_fslink.scn | 15 - testsuites/fstests/imfs_fspatheval/Makefile.am | 31 - .../fstests/imfs_fspatheval/imfs_fspatheval.scn | 80 --- testsuites/fstests/imfs_fspermission/Makefile.am | 31 - .../imfs_fspermission/imfs_fspermission.scn | 52 -- testsuites/fstests/imfs_fsrdwr/Makefile.am | 31 - testsuites/fstests/imfs_fsrdwr/imfs_fsrdwr.scn | 22 - testsuites/fstests/imfs_fsscandir01/Makefile.am | 31 - .../fstests/imfs_fsscandir01/imfs_fsscandir01.scn | 7 - testsuites/fstests/imfs_fssymlink/Makefile.am | 31 - .../fstests/imfs_fssymlink/imfs_fssymlink.scn | 37 -- testsuites/fstests/imfs_fstime/Makefile.am | 31 - testsuites/fstests/imfs_fstime/imfs_fstime.scn | 12 - testsuites/fstests/jffs2_fserror/Makefile.am | 32 - testsuites/fstests/jffs2_fserror/jffs2_fserror.scn | 96 --- testsuites/fstests/jffs2_fslink/Makefile.am | 32 - testsuites/fstests/jffs2_fslink/jffs2_fslink.scn | 16 - testsuites/fstests/jffs2_fspatheval/Makefile.am | 32 - .../fstests/jffs2_fspatheval/jffs2_fspatheval.scn | 82 --- testsuites/fstests/jffs2_fspermission/Makefile.am | 32 - .../jffs2_fspermission/jffs2_fspermission.scn | 53 -- testsuites/fstests/jffs2_fsrdwr/Makefile.am | 32 - testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn | 24 - testsuites/fstests/jffs2_fsscandir01/Makefile.am | 32 - .../jffs2_fsscandir01/jffs2_fsscandir01.scn | 7 - testsuites/fstests/jffs2_fssymlink/Makefile.am | 32 - .../fstests/jffs2_fssymlink/jffs2_fssymlink.scn | 37 -- testsuites/fstests/jffs2_fstime/Makefile.am | 32 - testsuites/fstests/jffs2_fstime/jffs2_fstime.scn | 15 - testsuites/fstests/mdosfs_fserror/Makefile.am | 33 - .../fstests/mdosfs_fserror/mdosfs_fserror.scn | 96 --- testsuites/fstests/mdosfs_fspatheval/Makefile.am | 33 - .../mdosfs_fspatheval/mdosfs_fspatheval.scn | 82 --- testsuites/fstests/mdosfs_fsrdwr/Makefile.am | 33 - testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn | 24 - testsuites/fstests/mdosfs_fsscandir01/Makefile.am | 33 - .../mdosfs_fsscandir01/mdosfs_fsscandir01.scn | 6 - testsuites/fstests/mdosfs_fsstatvfs/Makefile.am | 33 - .../fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn | 12 - testsuites/fstests/mdosfs_fstime/Makefile.am | 33 - testsuites/fstests/mimfs_fserror/Makefile.am | 31 - testsuites/fstests/mimfs_fserror/mimfs_fserror.scn | 96 --- testsuites/fstests/mimfs_fslink/Makefile.am | 31 - testsuites/fstests/mimfs_fslink/mimfs_fslink.scn | 10 - testsuites/fstests/mimfs_fspatheval/Makefile.am | 31 - .../fstests/mimfs_fspatheval/mimfs_fspatheval.scn | 76 --- testsuites/fstests/mimfs_fspermission/Makefile.am | 31 - .../mimfs_fspermission-interupted.scn | 47 -- testsuites/fstests/mimfs_fsrdwr/Makefile.am | 31 - testsuites/fstests/mimfs_fsrdwr/mimfs_fsrdwr.scn | 22 - testsuites/fstests/mimfs_fsrename/Makefile.am | 30 - .../fstests/mimfs_fsrename/mimfs_fsrename.scn | 287 --------- testsuites/fstests/mimfs_fsscandir01/Makefile.am | 31 - .../mimfs_fsscandir01/mimfs_fsscandir01.scn | 7 - testsuites/fstests/mimfs_fssymlink/Makefile.am | 31 - .../fstests/mimfs_fssymlink/mimfs_fssymlink.scn | 31 - testsuites/fstests/mimfs_fstime/Makefile.am | 31 - testsuites/fstests/mimfs_fstime/mimfs_fstime.scn | 7 - testsuites/fstests/mrfs_fserror/Makefile.am | 33 - testsuites/fstests/mrfs_fserror/mrfs_fserror.scn | 96 --- testsuites/fstests/mrfs_fsfpathconf/Makefile.am | 33 - .../fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn | 30 - testsuites/fstests/mrfs_fslink/Makefile.am | 33 - testsuites/fstests/mrfs_fslink/mrfs_fslink.scn | 16 - testsuites/fstests/mrfs_fspatheval/Makefile.am | 33 - .../fstests/mrfs_fspatheval/mrfs_fspatheval.scn | 82 --- testsuites/fstests/mrfs_fspermission/Makefile.am | 33 - .../mrfs_fspermission/mrfs_fspermission.scn | 53 -- testsuites/fstests/mrfs_fsrdwr/Makefile.am | 33 - testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn | 24 - testsuites/fstests/mrfs_fsscandir01/Makefile.am | 33 - .../fstests/mrfs_fsscandir01/mrfs_fsscandir01.scn | 7 - testsuites/fstests/mrfs_fssymlink/Makefile.am | 33 - .../fstests/mrfs_fssymlink/mrfs_fssymlink.scn | 37 -- testsuites/fstests/mrfs_fstime/Makefile.am | 33 - testsuites/fstests/mrfs_fstime/mrfs_fstime.scn | 9 - 136 files changed, 2508 insertions(+), 3536 deletions(-) delete mode 100644 testsuites/fstests/fsbdpart01/Makefile.am delete mode 100644 testsuites/fstests/fsclose01/Makefile.am delete mode 100644 testsuites/fstests/fsdosfsformat01/Makefile.am delete mode 100644 testsuites/fstests/fsdosfsname01/Makefile.am delete mode 100644 testsuites/fstests/fsdosfsname02/Makefile.am delete mode 100644 testsuites/fstests/fsdosfssync01/Makefile.am delete mode 100644 testsuites/fstests/fsdosfswrite01/Makefile.am create mode 100644 testsuites/fstests/fserror/imfs_fserror.scn create mode 100644 testsuites/fstests/fserror/jffs2_fserror.scn create mode 100644 testsuites/fstests/fserror/mdosfs_fserror.scn create mode 100644 testsuites/fstests/fserror/mimfs_fserror.scn create mode 100644 testsuites/fstests/fserror/mrfs_fserror.scn create mode 100644 testsuites/fstests/fsfpathconf/mrfs_fsfpathconf.scn delete mode 100644 testsuites/fstests/fsfseeko01/Makefile.am delete mode 100644 testsuites/fstests/fsimfsconfig01/Makefile.am delete mode 100644 testsuites/fstests/fsimfsconfig02/Makefile.am delete mode 100644 testsuites/fstests/fsimfsconfig03/Makefile.am delete mode 100644 testsuites/fstests/fsimfsgeneric01/Makefile.am delete mode 100644 testsuites/fstests/fsjffs2gc01/Makefile.am create mode 100644 testsuites/fstests/fslink/imfs_fslink.scn create mode 100644 testsuites/fstests/fslink/jffs2_fslink.scn create mode 100644 testsuites/fstests/fslink/mimfs_fslink.scn create mode 100644 testsuites/fstests/fslink/mrfs_fslink.scn delete mode 100644 testsuites/fstests/fsnofs01/Makefile.am create mode 100644 testsuites/fstests/fspatheval/imfs_fspatheval.scn create mode 100644 testsuites/fstests/fspatheval/jffs2_fspatheval.scn create mode 100644 testsuites/fstests/fspatheval/mdosfs_fspatheval.scn create mode 100644 testsuites/fstests/fspatheval/mimfs_fspatheval.scn create mode 100644 testsuites/fstests/fspatheval/mrfs_fspatheval.scn create mode 100644 testsuites/fstests/fspermission/imfs_fspermission.scn create mode 100644 testsuites/fstests/fspermission/jffs2_fspermission.scn create mode 100644 testsuites/fstests/fspermission/mimfs_fspermission-interupted.scn create mode 100644 testsuites/fstests/fspermission/mrfs_fspermission.scn create mode 100644 testsuites/fstests/fsrdwr/imfs_fsrdwr.scn create mode 100644 testsuites/fstests/fsrdwr/jffs2_fsrdwr.scn create mode 100644 testsuites/fstests/fsrdwr/mdosfs_fsrdwr.scn create mode 100644 testsuites/fstests/fsrdwr/mimfs_fsrdwr.scn create mode 100644 testsuites/fstests/fsrdwr/mrfs_fsrdwr.scn create mode 100644 testsuites/fstests/fsrename/mimfs_fsrename.scn delete mode 100644 testsuites/fstests/fsrfsbitmap01/Makefile.am delete mode 100644 testsuites/fstests/fsrofs01/Makefile.am create mode 100644 testsuites/fstests/fsscandir01/imfs_fsscandir01.scn create mode 100644 testsuites/fstests/fsscandir01/jffs2_fsscandir01.scn create mode 100644 testsuites/fstests/fsscandir01/mdosfs_fsscandir01.scn create mode 100644 testsuites/fstests/fsscandir01/mimfs_fsscandir01.scn create mode 100644 testsuites/fstests/fsscandir01/mrfs_fsscandir01.scn create mode 100644 testsuites/fstests/fsstatvfs/mdosfs_fsstatvfs.scn create mode 100644 testsuites/fstests/fssymlink/imfs_fssymlink.scn create mode 100644 testsuites/fstests/fssymlink/jffs2_fssymlink.scn create mode 100644 testsuites/fstests/fssymlink/mimfs_fssymlink.scn create mode 100644 testsuites/fstests/fssymlink/mrfs_fssymlink.scn create mode 100644 testsuites/fstests/fstime/imfs_fstime.scn create mode 100644 testsuites/fstests/fstime/jffs2_fstime.scn create mode 100644 testsuites/fstests/fstime/mimfs_fstime.scn create mode 100644 testsuites/fstests/fstime/mrfs_fstime.scn delete mode 100644 testsuites/fstests/imfs_fserror/Makefile.am delete mode 100644 testsuites/fstests/imfs_fserror/imfs_fserror.scn delete mode 100644 testsuites/fstests/imfs_fslink/Makefile.am delete mode 100644 testsuites/fstests/imfs_fslink/imfs_fslink.scn delete mode 100644 testsuites/fstests/imfs_fspatheval/Makefile.am delete mode 100644 testsuites/fstests/imfs_fspatheval/imfs_fspatheval.scn delete mode 100644 testsuites/fstests/imfs_fspermission/Makefile.am delete mode 100644 testsuites/fstests/imfs_fspermission/imfs_fspermission.scn delete mode 100644 testsuites/fstests/imfs_fsrdwr/Makefile.am delete mode 100644 testsuites/fstests/imfs_fsrdwr/imfs_fsrdwr.scn delete mode 100644 testsuites/fstests/imfs_fsscandir01/Makefile.am delete mode 100644 testsuites/fstests/imfs_fsscandir01/imfs_fsscandir01.scn delete mode 100644 testsuites/fstests/imfs_fssymlink/Makefile.am delete mode 100644 testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn delete mode 100644 testsuites/fstests/imfs_fstime/Makefile.am delete mode 100644 testsuites/fstests/imfs_fstime/imfs_fstime.scn delete mode 100644 testsuites/fstests/jffs2_fserror/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fserror/jffs2_fserror.scn delete mode 100644 testsuites/fstests/jffs2_fslink/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fslink/jffs2_fslink.scn delete mode 100644 testsuites/fstests/jffs2_fspatheval/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn delete mode 100644 testsuites/fstests/jffs2_fspermission/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn delete mode 100644 testsuites/fstests/jffs2_fsrdwr/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn delete mode 100644 testsuites/fstests/jffs2_fsscandir01/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fsscandir01/jffs2_fsscandir01.scn delete mode 100644 testsuites/fstests/jffs2_fssymlink/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn delete mode 100644 testsuites/fstests/jffs2_fstime/Makefile.am delete mode 100644 testsuites/fstests/jffs2_fstime/jffs2_fstime.scn delete mode 100644 testsuites/fstests/mdosfs_fserror/Makefile.am delete mode 100644 testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn delete mode 100644 testsuites/fstests/mdosfs_fspatheval/Makefile.am delete mode 100644 testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn delete mode 100644 testsuites/fstests/mdosfs_fsrdwr/Makefile.am delete mode 100644 testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn delete mode 100644 testsuites/fstests/mdosfs_fsscandir01/Makefile.am delete mode 100644 testsuites/fstests/mdosfs_fsscandir01/mdosfs_fsscandir01.scn delete mode 100644 testsuites/fstests/mdosfs_fsstatvfs/Makefile.am delete mode 100644 testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn delete mode 100644 testsuites/fstests/mdosfs_fstime/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fserror/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fserror/mimfs_fserror.scn delete mode 100644 testsuites/fstests/mimfs_fslink/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fslink/mimfs_fslink.scn delete mode 100644 testsuites/fstests/mimfs_fspatheval/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fspatheval/mimfs_fspatheval.scn delete mode 100644 testsuites/fstests/mimfs_fspermission/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn delete mode 100644 testsuites/fstests/mimfs_fsrdwr/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fsrdwr/mimfs_fsrdwr.scn delete mode 100644 testsuites/fstests/mimfs_fsrename/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fsrename/mimfs_fsrename.scn delete mode 100644 testsuites/fstests/mimfs_fsscandir01/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fsscandir01/mimfs_fsscandir01.scn delete mode 100644 testsuites/fstests/mimfs_fssymlink/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fssymlink/mimfs_fssymlink.scn delete mode 100644 testsuites/fstests/mimfs_fstime/Makefile.am delete mode 100644 testsuites/fstests/mimfs_fstime/mimfs_fstime.scn delete mode 100644 testsuites/fstests/mrfs_fserror/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fserror/mrfs_fserror.scn delete mode 100644 testsuites/fstests/mrfs_fsfpathconf/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn delete mode 100644 testsuites/fstests/mrfs_fslink/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fslink/mrfs_fslink.scn delete mode 100644 testsuites/fstests/mrfs_fspatheval/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn delete mode 100644 testsuites/fstests/mrfs_fspermission/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn delete mode 100644 testsuites/fstests/mrfs_fsrdwr/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn delete mode 100644 testsuites/fstests/mrfs_fsscandir01/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fsscandir01/mrfs_fsscandir01.scn delete mode 100644 testsuites/fstests/mrfs_fssymlink/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn delete mode 100644 testsuites/fstests/mrfs_fstime/Makefile.am delete mode 100644 testsuites/fstests/mrfs_fstime/mrfs_fstime.scn diff --git a/testsuites/fstests/Makefile.am b/testsuites/fstests/Makefile.am index 057985619f..51ab587475 100644 --- a/testsuites/fstests/Makefile.am +++ b/testsuites/fstests/Makefile.am @@ -1,63 +1,646 @@ +# +# File System Testsuite +# + ACLOCAL_AMFLAGS = -I ../aclocal -_SUBDIRS = -_SUBDIRS += fsbdpart01 -_SUBDIRS += fsclose01 -_SUBDIRS += fsdosfsformat01 -_SUBDIRS += fsdosfsname01 -_SUBDIRS += fsdosfsname02 -_SUBDIRS += fsdosfssync01 -_SUBDIRS += fsdosfswrite01 -_SUBDIRS += fsfseeko01 -_SUBDIRS += fsimfsconfig01 -_SUBDIRS += fsimfsconfig02 -_SUBDIRS += fsimfsconfig03 -_SUBDIRS += fsimfsgeneric01 -_SUBDIRS += fsjffs2gc01 -_SUBDIRS += fsnofs01 -_SUBDIRS += fsrfsbitmap01 -_SUBDIRS += fsrofs01 -_SUBDIRS += imfs_fserror -_SUBDIRS += imfs_fslink -_SUBDIRS += imfs_fspatheval -_SUBDIRS += imfs_fspermission -_SUBDIRS += imfs_fsrdwr -_SUBDIRS += imfs_fsscandir01 -_SUBDIRS += imfs_fssymlink -_SUBDIRS += imfs_fstime -_SUBDIRS += jffs2_fserror -_SUBDIRS += jffs2_fslink -_SUBDIRS += jffs2_fspatheval -_SUBDIRS += jffs2_fspermission -_SUBDIRS += jffs2_fsrdwr -_SUBDIRS += jffs2_fsscandir01 -_SUBDIRS += jffs2_fssymlink -_SUBDIRS += jffs2_fstime -_SUBDIRS += mdosfs_fserror -_SUBDIRS += mdosfs_fspatheval -_SUBDIRS += mdosfs_fsrdwr -_SUBDIRS += mdosfs_fsscandir01 -_SUBDIRS += mdosfs_fsstatvfs -_SUBDIRS += mdosfs_fstime -_SUBDIRS += mimfs_fserror -_SUBDIRS += mimfs_fslink -_SUBDIRS += mimfs_fspatheval -_SUBDIRS += mimfs_fspermission -_SUBDIRS += mimfs_fsrdwr -_SUBDIRS += mimfs_fsrename -_SUBDIRS += mimfs_fsscandir01 -_SUBDIRS += mimfs_fssymlink -_SUBDIRS += mimfs_fstime -_SUBDIRS += mrfs_fserror -_SUBDIRS += mrfs_fsfpathconf -_SUBDIRS += mrfs_fslink -_SUBDIRS += mrfs_fspatheval -_SUBDIRS += mrfs_fspermission -_SUBDIRS += mrfs_fsrdwr -_SUBDIRS += mrfs_fsscandir01 -_SUBDIRS += mrfs_fssymlink -_SUBDIRS += mrfs_fstime - - -include $(top_srcdir)/../automake/subdirs.am +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../automake/compile.am + +fs_tests = +fs_screens = +fs_docs = + +support_includes = -I$(top_srcdir)/../support/include +test_includes = -I$(top_srcdir)/support \ + -I$(top_srcdir)/../psxtests/include + +if TEST_fsbdpart01 +fs_tests += fsbdpart01 +fs_screens += fsbdpart01/fsbdpart01.scn +fs_docs += fsbdpart01/fsbdpart01.doc +fsbdpart01_SOURCES = fsbdpart01/init.c +fsbdpart01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsbdpart01) \ + $(support_includes) +endif + +if TEST_fsclose01 +fs_tests += fsclose01 +fs_screens += fsclose01/fsclose01.scn +fs_docs += fsclose01/fsclose01.doc +fsclose01_SOURCES = fsclose01/init.c +fsclose01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsclose01) \ + $(support_includes) +endif + +if TEST_fsdosfsformat01 +fs_tests += fsdosfsformat01 +fs_screens += fsdosfsformat01/fsdosfsformat01.scn +fs_docs += fsdosfsformat01/fsdosfsformat01.doc +fsdosfsformat01_SOURCES = fsdosfsformat01/init.c +fsdosfsformat01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_fsdosfsformat01) $(support_includes) +endif + +if TEST_fsdosfsname01 +fs_tests += fsdosfsname01 +fs_screens += fsdosfsname01/fsdosfsname01.scn +fs_docs += fsdosfsname01/fsdosfsname01.doc +fsdosfsname01_SOURCES = fsdosfsname01/init.c support/ramdisk_support.c +fsdosfsname01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname01) \ + $(support_includes) $(test_includes) +endif + +if TEST_fsdosfsname02 +fs_tests += fsdosfsname02 +fs_screens += fsdosfsname02/fsdosfsname02.scn +fs_docs += fsdosfsname02/fsdosfsname02.doc +fsdosfsname02_SOURCES = fsdosfsname02/init.c +fsdosfsname02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname02) \ + $(support_includes) +endif + +if TEST_fsdosfssync01 +fs_tests += fsdosfssync01 +fs_screens += fsdosfssync01/fsdosfssync01.scn +fs_docs += fsdosfssync01/fsdosfssync01.doc +fsdosfssync01_SOURCES = fsdosfssync01/init.c +fsdosfssync01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfssync01) \ + $(support_includes) +endif + +if TEST_fsdosfswrite01 +fs_tests += fsdosfswrite01 +fs_screens += fsdosfswrite01/fsdosfswrite01.scn +fs_docs += fsdosfswrite01/fsdosfswrite01.doc +fsdosfswrite01_SOURCES = fsdosfswrite01/init.c +fsdosfswrite01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfswrite01) \ + $(support_includes) +endif + +if TEST_fsfseeko01 +fs_tests += fsfseeko01 +fs_screens += fsfseeko01/fsfseeko01.scn +fs_docs += fsfseeko01/fsfseeko01.doc +fsfseeko01_SOURCES = fsfseeko01/init.c +fsfseeko01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsfseeko01) \ + $(support_includes) +endif + +if TEST_fsimfsconfig01 +fs_tests += fsimfsconfig01 +fs_screens += fsimfsconfig01/fsimfsconfig01.scn +fs_docs += fsimfsconfig01/fsimfsconfig01.doc +fsimfsconfig01_SOURCES = fsimfsconfig01/init.c +fsimfsconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig01) \ + $(support_includes) +endif + +if TEST_fsimfsconfig02 +fs_tests += fsimfsconfig02 +fs_screens += fsimfsconfig02/fsimfsconfig02.scn +fs_docs += fsimfsconfig02/fsimfsconfig02.doc +fsimfsconfig02_SOURCES = fsimfsconfig02/init.c +fsimfsconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig02) \ + $(support_includes) +endif + +if TEST_fsimfsconfig03 +fs_tests += fsimfsconfig03 +fs_screens += fsimfsconfig03/fsimfsconfig03.scn +fs_docs += fsimfsconfig03/fsimfsconfig03.doc +fsimfsconfig03_SOURCES = fsimfsconfig03/init.c +fsimfsconfig03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig03) \ + $(support_includes) +endif + +if TEST_fsimfsgeneric01 +fs_tests += fsimfsgeneric01 +fs_screens += fsimfsgeneric01/fsimfsgeneric01.scn +fs_docs += fsimfsgeneric01/fsimfsgeneric01.doc +fsimfsgeneric01_SOURCES = fsimfsgeneric01/init.c +fsimfsgeneric01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_fsimfsgeneric01) $(support_includes) +endif + +if TEST_fsjffs2gc01 +fs_tests += fsjffs2gc01 +fs_screens += fsjffs2gc01/fsjffs2gc01.scn +fs_docs += fsjffs2gc01/fsjffs2gc01.doc +fsjffs2gc01_SOURCES = fsjffs2gc01/init.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +fsjffs2gc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsjffs2gc01) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support +fsjffs2gc01_LDADD = -ljffs2 +endif + +if TEST_fsnofs01 +fs_tests += fsnofs01 +fs_screens += fsnofs01/fsnofs01.scn +fs_docs += fsnofs01/fsnofs01.doc +fsnofs01_SOURCES = fsnofs01/init.c +fsnofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsnofs01) \ + $(support_includes) +endif + +if TEST_fsrfsbitmap01 +fs_tests += fsrfsbitmap01 +fs_screens += fsrfsbitmap01/fsrfsbitmap01.scn +fs_docs += fsrfsbitmap01/fsrfsbitmap01.doc +fsrfsbitmap01_SOURCES = fsrfsbitmap01/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +fsrfsbitmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrfsbitmap01) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +if TEST_fsrofs01 +fs_tests += fsrofs01 +fs_screens += fsrofs01/fsrofs01.scn +fs_docs += fsrofs01/fsrofs01.doc +fsrofs01_SOURCES = fsrofs01/init.c +fsrofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrofs01) \ + $(support_includes) +endif + +if TEST_imfs_fserror +fs_tests += imfs_fserror +fs_screens += fserror/imfs_fserror.scn +imfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_spupport/fs_config.h +imfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fserror) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fslink +fs_tests += imfs_fslink +fs_screens += fslink/imfs_fslink.scn +imfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fslink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fspatheval +fs_tests += imfs_fspatheval +fs_screens += fspatheval/imfs_fspatheval.scn +imfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_imfs_fspatheval) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fspermission +fs_tests += imfs_fspermission +fs_screens += fspermission/imfs_fspermission.scn +imfs_fspermission_SOURCES = fspermission/test.c \ + support/fstest_support.c support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_imfs_fspermission) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fsrdwr +fs_tests += imfs_fsrdwr +fs_screens += fsrdwr/imfs_fsrdwr.scn +imfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fsrdwr) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fsscandir01 +fs_tests += imfs_fsscandir01 +fs_screens += fsscandir01/imfs_fsscandir01.scn +imfs_fsscandir01_SOURCES = fsscandir01/init.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_imfs_fsscandir01) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fssymlink +fs_tests += imfs_fssymlink +fs_screens += fssymlink/imfs_fssymlink.scn +imfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fssymlink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support +endif + +if TEST_imfs_fstime +fs_tests += imfs_fstime +fs_screens += fstime/imfs_fstime.scn +imfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h imfs_support/fs_support.c \ + imfs_support/fs_config.h +imfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fstime) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support +endif + +if TEST_jffs2_fserror +fs_tests += jffs2_fserror +fs_screens += fserror/jffs2_fserror.scn +jffs2_fserror_SOURCES = fserror/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fserror) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support +jffs2_fserror_LDADD = -ljffs2 +endif + +if TEST_jffs2_fslink +fs_tests += jffs2_fslink +fs_screens += fslink/jffs2_fslink.scn +jffs2_fslink_SOURCES = fslink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fslink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support +jffs2_fslink_LDADD = -ljffs2 +endif + +if TEST_jffs2_fspatheval +fs_tests += jffs2_fspatheval +fs_screens += fspatheval/jffs2_fspatheval.scn +jffs2_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_jffs2_fspatheval) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/jffs2_support +jffs2_fspatheval_LDADD = -ljffs2 +endif + +if TEST_jffs2_fspermission +fs_tests += jffs2_fspermission +fs_screens += fspermission/jffs2_fspermission.scn +jffs2_fspermission_SOURCES = fspermission/test.c \ + support/fstest_support.c support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_jffs2_fspermission) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/jffs2_support +jffs2_fspermission_LDADD = -ljffs2 +endif + +if TEST_jffs2_fsrdwr +fs_tests += jffs2_fsrdwr +fs_screens += fsrdwr/jffs2_fsrdwr.scn +jffs2_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fsrdwr) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support +jffs2_fsrdwr_LDADD = -ljffs2 +endif + +if TEST_jffs2_fsscandir01 +fs_tests += jffs2_fsscandir01 +fs_screens += fsscandir01/jffs2_fsscandir01.scn +jffs2_fsscandir01_SOURCES = fsscandir01/init.c \ + support/fstest_support.c support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_jffs2_fsscandir01) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/jffs2_support +jffs2_fsscandir01_LDADD = -ljffs2 +endif + +if TEST_jffs2_fssymlink +fs_tests += jffs2_fssymlink +fs_screens += fssymlink/jffs2_fssymlink.scn +jffs2_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_jffs2_fssymlink) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/jffs2_support +jffs2_fssymlink_LDADD = -ljffs2 +endif + +if TEST_jffs2_fstime +fs_tests += jffs2_fstime +fs_screens += fstime/jffs2_fstime.scn +jffs2_fstime_SOURCES = fstime/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ + jffs2_support/fs_config.h +jffs2_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fstime) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support +jffs2_fstime_LDADD = -ljffs2 +endif + +if TEST_mdosfs_fserror +fs_tests += mdosfs_fserror +fs_screens += fserror/mdosfs_fserror.scn +mdosfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fserror) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mdosfs_fspatheval +fs_tests += mdosfs_fspatheval +fs_screens += fspatheval/mdosfs_fspatheval.scn +mdosfs_fspatheval_SOURCES = fspatheval/test.c \ + support/ramdisk_support.c support/fstest_support.c \ + support/fstest_support.h support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mdosfs_fspatheval) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mdosfs_fsrdwr +fs_tests += mdosfs_fsrdwr +fs_screens += fsrdwr/mdosfs_fsrdwr.scn +mdosfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fsrdwr) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mdosfs_fsscandir01 +fs_tests += mdosfs_fsscandir01 +fs_screens += fsscandir01/mdosfs_fsscandir01.scn +mdosfs_fsscandir01_SOURCES = fsscandir01/init.c \ + support/ramdisk_support.c support/fstest_support.c \ + support/fstest_support.h support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mdosfs_fsscandir01) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mdosfs_fsstatvfs +fs_tests += mdosfs_fsstatvfs +fs_screens += fsstatvfs/mdosfs_fsstatvfs.scn +mdosfs_fsstatvfs_SOURCES = fsstatvfs/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fsstatvfs_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mdosfs_fsstatvfs) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mdosfs_fstime +fs_tests += mdosfs_fstime +mdosfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ + mdosfs_support/fs_config.h +mdosfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fstime) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support +endif + +if TEST_mimfs_fserror +fs_tests += mimfs_fserror +fs_screens += fserror/mimfs_fserror.scn +mimfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fserror) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fslink +fs_tests += mimfs_fslink +mimfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fslink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fspatheval +fs_tests += mimfs_fspatheval +mimfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mimfs_fspatheval) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fspermission +fs_tests += mimfs_fspermission +mimfs_fspermission_SOURCES = fspermission/test.c \ + support/fstest_support.c support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mimfs_fspermission) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fsrdwr +fs_tests += mimfs_fsrdwr +mimfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrdwr) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fsrename +fs_tests += mimfs_fsrename +fs_screens += fsrename/mimfs_fsrename.scn +mimfs_fsrename_SOURCES = fsrename/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fsrename_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrename) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fsscandir01 +fs_tests += mimfs_fsscandir01 +mimfs_fsscandir01_SOURCES = fsscandir01/init.c \ + support/fstest_support.c support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mimfs_fsscandir01) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fssymlink +fs_tests += mimfs_fssymlink +mimfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mimfs_fssymlink) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mimfs_support +endif + +if TEST_mimfs_fstime +fs_tests += mimfs_fstime +mimfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \ + support/fstest_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ + mimfs_support/fs_config.h +mimfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fstime) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support +endif + +if TEST_mrfs_fserror +fs_tests += mrfs_fserror +fs_screens += fserror/mrfs_fserror.scn +mrfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fserror) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fsfpathconf +fs_tests += mrfs_fsfpathconf +fs_screens += fsfpathconf/mrfs_fsfpathconf.scn +mrfs_fsfpathconf_SOURCES = fsfpathconf/test.c \ + support/ramdisk_support.c support/fstest_support.c \ + support/fstest_support.h support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fsfpathconf_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mrfs_fsfpathconf) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fslink +fs_tests += mrfs_fslink +fs_screens += fslink/mrfs_fslink.scn +mrfs_fslink_SOURCES = fslink/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fslink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fspatheval +fs_tests += mrfs_fspatheval +fs_screens += fspatheval/mrfs_fspatheval.scn +mrfs_fspatheval_SOURCES = fspatheval/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mrfs_fspatheval) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fspermission +fs_tests += mrfs_fspermission +fs_screens += fspermission/mrfs_fspermission.scn +mrfs_fspermission_SOURCES = fspermission/test.c \ + support/ramdisk_support.c support/fstest_support.c \ + support/fstest_support.h support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mrfs_fspermission) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fsrdwr +fs_tests += mrfs_fsrdwr +fs_screens += fsrdwr/mrfs_fsrdwr.scn +mrfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fsrdwr) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fsscandir01 +fs_tests += mrfs_fsscandir01 +fs_screens += fsscandir01/mrfs_fsscandir01.scn +mrfs_fsscandir01_SOURCES = fsscandir01/init.c \ + support/ramdisk_support.c support/fstest_support.c \ + support/fstest_support.h support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ + $(TEST_FLAGS_mrfs_fsscandir01) $(support_includes) $(test_includes) \ + -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fssymlink +fs_tests += mrfs_fssymlink +fs_screens += fssymlink/mrfs_fssymlink.scn +mrfs_fssymlink_SOURCES = fssymlink/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fssymlink) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +if TEST_mrfs_fstime +fs_tests += mrfs_fstime +fs_screens += fstime/mrfs_fstime.scn +mrfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \ + support/fstest_support.c support/fstest_support.h \ + support/ramdisk_support.h support/fstest.h \ + ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ + mrfs_support/fs_config.h +mrfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fstime) \ + $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support +endif + +rtems_tests_PROGRAMS = $(fs_tests) +dist_rtems_tests_DATA = $(fs_screens) $(fs_docs) + include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/configure.ac b/testsuites/fstests/configure.ac index 9b4a299e80..9cefe92464 100644 --- a/testsuites/fstests/configure.ac +++ b/testsuites/fstests/configure.ac @@ -77,63 +77,63 @@ AC_CHECK_SIZEOF([off_t]) AC_CHECK_SIZEOF([blksize_t]) AC_CHECK_SIZEOF([blkcnt_t]) -# Explicitly list all Makefiles here -AC_CONFIG_FILES([Makefile -fsbdpart01/Makefile -fsclose01/Makefile -fsdosfsformat01/Makefile -fsdosfsname01/Makefile -fsdosfsname02/Makefile -fsdosfssync01/Makefile -fsdosfswrite01/Makefile -fsfseeko01/Makefile -fsimfsconfig01/Makefile -fsimfsconfig02/Makefile -fsimfsconfig03/Makefile -fsimfsgeneric01/Makefile -fsjffs2gc01/Makefile -fsnofs01/Makefile -fsrfsbitmap01/Makefile -fsrofs01/Makefile -imfs_fserror/Makefile -imfs_fslink/Makefile -imfs_fspatheval/Makefile -imfs_fspermission/Makefile -imfs_fsrdwr/Makefile -imfs_fsscandir01/Makefile -imfs_fssymlink/Makefile -imfs_fstime/Makefile -jffs2_fserror/Makefile -jffs2_fslink/Makefile -jffs2_fspatheval/Makefile -jffs2_fspermission/Makefile -jffs2_fsrdwr/Makefile -jffs2_fsscandir01/Makefile -jffs2_fssymlink/Makefile -jffs2_fstime/Makefile -mdosfs_fserror/Makefile -mdosfs_fspatheval/Makefile -mdosfs_fsrdwr/Makefile -mdosfs_fsscandir01/Makefile -mdosfs_fsstatvfs/Makefile -mdosfs_fstime/Makefile -mimfs_fserror/Makefile -mimfs_fslink/Makefile -mimfs_fspatheval/Makefile -mimfs_fspermission/Makefile -mimfs_fsrdwr/Makefile -mimfs_fsrename/Makefile -mimfs_fsscandir01/Makefile -mimfs_fssymlink/Makefile -mimfs_fstime/Makefile -mrfs_fserror/Makefile -mrfs_fsfpathconf/Makefile -mrfs_fslink/Makefile -mrfs_fspatheval/Makefile -mrfs_fspermission/Makefile -mrfs_fsrdwr/Makefile -mrfs_fsscandir01/Makefile -mrfs_fssymlink/Makefile -mrfs_fstime/Makefile -]) +# BSP Test configuration +RTEMS_TEST_CHECK([fsbdpart01]) +RTEMS_TEST_CHECK([fsclose01]) +RTEMS_TEST_CHECK([fsdosfsformat01]) +RTEMS_TEST_CHECK([fsdosfsname01]) +RTEMS_TEST_CHECK([fsdosfsname02]) +RTEMS_TEST_CHECK([fsdosfssync01]) +RTEMS_TEST_CHECK([fsdosfswrite01]) +RTEMS_TEST_CHECK([fsfseeko01]) +RTEMS_TEST_CHECK([fsimfsconfig01]) +RTEMS_TEST_CHECK([fsimfsconfig02]) +RTEMS_TEST_CHECK([fsimfsconfig03]) +RTEMS_TEST_CHECK([fsimfsgeneric01]) +RTEMS_TEST_CHECK([fsjffs2gc01]) +RTEMS_TEST_CHECK([fsnofs01]) +RTEMS_TEST_CHECK([fsrfsbitmap01]) +RTEMS_TEST_CHECK([fsrofs01]) +RTEMS_TEST_CHECK([imfs_fserror]) +RTEMS_TEST_CHECK([imfs_fslink]) +RTEMS_TEST_CHECK([imfs_fspatheval]) +RTEMS_TEST_CHECK([imfs_fspermission]) +RTEMS_TEST_CHECK([imfs_fsrdwr]) +RTEMS_TEST_CHECK([imfs_fsscandir01]) +RTEMS_TEST_CHECK([imfs_fssymlink]) +RTEMS_TEST_CHECK([imfs_fstime]) +RTEMS_TEST_CHECK([jffs2_fserror]) +RTEMS_TEST_CHECK([jffs2_fslink]) +RTEMS_TEST_CHECK([jffs2_fspatheval]) +RTEMS_TEST_CHECK([jffs2_fspermission]) +RTEMS_TEST_CHECK([jffs2_fsrdwr]) +RTEMS_TEST_CHECK([jffs2_fsscandir01]) +RTEMS_TEST_CHECK([jffs2_fssymlink]) +RTEMS_TEST_CHECK([jffs2_fstime]) +RTEMS_TEST_CHECK([mdosfs_fserror]) +RTEMS_TEST_CHECK([mdosfs_fspatheval]) +RTEMS_TEST_CHECK([mdosfs_fsrdwr]) +RTEMS_TEST_CHECK([mdosfs_fsscandir01]) +RTEMS_TEST_CHECK([mdosfs_fsstatvfs]) +RTEMS_TEST_CHECK([mdosfs_fstime]) +RTEMS_TEST_CHECK([mimfs_fserror]) +RTEMS_TEST_CHECK([mimfs_fslink]) +RTEMS_TEST_CHECK([mimfs_fspatheval]) +RTEMS_TEST_CHECK([mimfs_fspermission]) +RTEMS_TEST_CHECK([mimfs_fsrdwr]) +RTEMS_TEST_CHECK([mimfs_fsrename]) +RTEMS_TEST_CHECK([mimfs_fsscandir01]) +RTEMS_TEST_CHECK([mimfs_fssymlink]) +RTEMS_TEST_CHECK([mimfs_fstime]) +RTEMS_TEST_CHECK([mrfs_fserror]) +RTEMS_TEST_CHECK([mrfs_fsfpathconf]) +RTEMS_TEST_CHECK([mrfs_fslink]) +RTEMS_TEST_CHECK([mrfs_fspatheval]) +RTEMS_TEST_CHECK([mrfs_fspermission]) +RTEMS_TEST_CHECK([mrfs_fsrdwr]) +RTEMS_TEST_CHECK([mrfs_fsscandir01]) +RTEMS_TEST_CHECK([mrfs_fssymlink]) +RTEMS_TEST_CHECK([mrfs_fstime]) + +AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/testsuites/fstests/fsbdpart01/Makefile.am b/testsuites/fstests/fsbdpart01/Makefile.am deleted file mode 100644 index 923e98047a..0000000000 --- a/testsuites/fstests/fsbdpart01/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -rtems_tests_PROGRAMS = fsbdpart01 -fsbdpart01_SOURCES = init.c - -dist_rtems_tests_DATA = fsbdpart01.scn fsbdpart01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsbdpart01_OBJECTS) -LINK_LIBS = $(fsbdpart01_LDLIBS) - -fsbdpart01$(EXEEXT): $(fsbdpart01_OBJECTS) $(fsbdpart01_DEPENDENCIES) - @rm -f fsbdpart01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsclose01/Makefile.am b/testsuites/fstests/fsclose01/Makefile.am deleted file mode 100644 index dc2da84b82..0000000000 --- a/testsuites/fstests/fsclose01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsclose01 -fsclose01_SOURCES = init.c - -dist_rtems_tests_DATA = fsclose01.scn fsclose01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsclose01_OBJECTS) -LINK_LIBS = $(fsclose01_LDLIBS) - -fsclose01$(EXEEXT): $(fsclose01_OBJECTS) $(fsclose01_DEPENDENCIES) - @rm -f fsclose01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfsformat01/Makefile.am b/testsuites/fstests/fsdosfsformat01/Makefile.am deleted file mode 100644 index d7c91f0802..0000000000 --- a/testsuites/fstests/fsdosfsformat01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsdosfsformat01 -fsdosfsformat01_SOURCES = init.c - -dist_rtems_tests_DATA = fsdosfsformat01.scn fsdosfsformat01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsdosfsformat01_OBJECTS) -LINK_LIBS = $(fsdosfsformat01_LDLIBS) - -fsdosfsformat01$(EXEEXT): $(fsdosfsformat01_OBJECTS) $(fsdosfsformat01_DEPENDENCIES) - @rm -f fsdosfsformat01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfsname01/Makefile.am b/testsuites/fstests/fsdosfsname01/Makefile.am deleted file mode 100644 index c97d540868..0000000000 --- a/testsuites/fstests/fsdosfsname01/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -rtems_tests_PROGRAMS = fsdosfsname01 -fsdosfsname01_SOURCES = init.c -fsdosfsname01_SOURCES += ../support/ramdisk_support.c - -dist_rtems_tests_DATA = fsdosfsname01.scn fsdosfsname01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/support - -LINK_OBJS = $(fsdosfsname01_OBJECTS) -LINK_LIBS = $(fsdosfsname01_LDLIBS) - -fsdosfsname01$(EXEEXT): $(fsdosfsname01_OBJECTS) $(fsdosfsname01_DEPENDENCIES) - @rm -f fsdosfsname01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfsname02/Makefile.am b/testsuites/fstests/fsdosfsname02/Makefile.am deleted file mode 100644 index d3fdc5ce15..0000000000 --- a/testsuites/fstests/fsdosfsname02/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsdosfsname02 -fsdosfsname02_SOURCES = init.c - -dist_rtems_tests_DATA = fsdosfsname02.scn fsdosfsname02.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsdosfsname02_OBJECTS) -LINK_LIBS = $(fsdosfsname02_LDLIBS) - -fsdosfsname02$(EXEEXT): $(fsdosfsname02_OBJECTS) $(fsdosfsname02_DEPENDENCIES) - @rm -f fsdosfsname02$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfssync01/Makefile.am b/testsuites/fstests/fsdosfssync01/Makefile.am deleted file mode 100644 index eb557f11e2..0000000000 --- a/testsuites/fstests/fsdosfssync01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsdosfssync01 -fsdosfssync01_SOURCES = init.c - -dist_rtems_tests_DATA = fsdosfssync01.scn fsdosfssync01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsdosfssync01_OBJECTS) -LINK_LIBS = $(fsdosfssync01_LDLIBS) - -fsdosfssync01$(EXEEXT): $(fsdosfssync01_OBJECTS) $(fsdosfssync01_DEPENDENCIES) - @rm -f fsdosfssync01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfswrite01/Makefile.am b/testsuites/fstests/fsdosfswrite01/Makefile.am deleted file mode 100644 index 2d21751178..0000000000 --- a/testsuites/fstests/fsdosfswrite01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsdosfswrite01 -fsdosfswrite01_SOURCES = init.c - -dist_rtems_tests_DATA = fsdosfswrite01.scn fsdosfswrite01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsdosfswrite01_OBJECTS) -LINK_LIBS = $(fsdosfswrite01_LDLIBS) - -fsdosfswrite01$(EXEEXT): $(fsdosfswrite01_OBJECTS) $(fsdosfswrite01_DEPENDENCIES) - @rm -f fsdosfswrite01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fserror/imfs_fserror.scn b/testsuites/fstests/fserror/imfs_fserror.scn new file mode 100644 index 0000000000..040ea13041 --- /dev/null +++ b/testsuites/fstests/fserror/imfs_fserror.scn @@ -0,0 +1,94 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem 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/imfs_fserror/../fserror/test.c: 156 +Testing rename with arguments: "name03, name02" EXPECT "EISDIR" +FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 164 +Testing rename with arguments: "nonexistence, name01" EXPECT "ENOENT" +FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 171 +Testing rename with arguments: "\"\", name01" EXPECT "ENOENT" +FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_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/imfs_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/imfs_fserror/../fserror/test.c: 184 +Testing truncate with arguments: "file, -1" EXPECT "EINVAL" +PASS +Testing rmdir with arguments: "\"..\"" EXPECT "ENOTEMPTY" +PASS +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 IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/fserror/jffs2_fserror.scn b/testsuites/fstests/fserror/jffs2_fserror.scn new file mode 100644 index 0000000000..2c3d9ee595 --- /dev/null +++ b/testsuites/fstests/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/fserror/mdosfs_fserror.scn b/testsuites/fstests/fserror/mdosfs_fserror.scn new file mode 100644 index 0000000000..22abe5fe7b --- /dev/null +++ b/testsuites/fstests/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/fserror/mimfs_fserror.scn b/testsuites/fstests/fserror/mimfs_fserror.scn new file mode 100644 index 0000000000..f048736b16 --- /dev/null +++ b/testsuites/fstests/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/fserror/mrfs_fserror.scn b/testsuites/fstests/fserror/mrfs_fserror.scn new file mode 100644 index 0000000000..f38737c761 --- /dev/null +++ b/testsuites/fstests/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/fsfpathconf/mrfs_fsfpathconf.scn b/testsuites/fstests/fsfpathconf/mrfs_fsfpathconf.scn new file mode 100644 index 0000000000..655b65ac45 --- /dev/null +++ b/testsuites/fstests/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/fsfseeko01/Makefile.am b/testsuites/fstests/fsfseeko01/Makefile.am deleted file mode 100644 index 058f550e12..0000000000 --- a/testsuites/fstests/fsfseeko01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsfseeko01 -fsfseeko01_SOURCES = init.c - -dist_rtems_tests_DATA = fsfseeko01.scn fsfseeko01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsfseeko01_OBJECTS) -LINK_LIBS = $(fsfseeko01_LDLIBS) - -fsfseeko01$(EXEEXT): $(fsfseeko01_OBJECTS) $(fsfseeko01_DEPENDENCIES) - @rm -f fsfseeko01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsimfsconfig01/Makefile.am b/testsuites/fstests/fsimfsconfig01/Makefile.am deleted file mode 100644 index 0787dbe8d8..0000000000 --- a/testsuites/fstests/fsimfsconfig01/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsimfsconfig01 -fsimfsconfig01_SOURCES = init.c - -dist_rtems_tests_DATA = fsimfsconfig01.scn fsimfsconfig01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsimfsconfig01_OBJECTS) -LINK_LIBS = $(fsimfsconfig01_LDLIBS) - -fsimfsconfig01$(EXEEXT): $(fsimfsconfig01_OBJECTS) $(fsimfsconfig01_DEPENDENCIES) - @rm -f fsimfsconfig01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsimfsconfig02/Makefile.am b/testsuites/fstests/fsimfsconfig02/Makefile.am deleted file mode 100644 index 9567eea8ec..0000000000 --- a/testsuites/fstests/fsimfsconfig02/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsimfsconfig02 -fsimfsconfig02_SOURCES = init.c - -dist_rtems_tests_DATA = fsimfsconfig02.scn fsimfsconfig02.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsimfsconfig02_OBJECTS) -LINK_LIBS = $(fsimfsconfig02_LDLIBS) - -fsimfsconfig02$(EXEEXT): $(fsimfsconfig02_OBJECTS) $(fsimfsconfig02_DEPENDENCIES) - @rm -f fsimfsconfig02$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsimfsconfig03/Makefile.am b/testsuites/fstests/fsimfsconfig03/Makefile.am deleted file mode 100644 index 83a824cb58..0000000000 --- a/testsuites/fstests/fsimfsconfig03/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -rtems_tests_PROGRAMS = fsimfsconfig03 -fsimfsconfig03_SOURCES = init.c - -dist_rtems_tests_DATA = fsimfsconfig03.scn fsimfsconfig03.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsimfsconfig03_OBJECTS) -LINK_LIBS = $(fsimfsconfig03_LDLIBS) - -fsimfsconfig03$(EXEEXT): $(fsimfsconfig03_OBJECTS) $(fsimfsconfig03_DEPENDENCIES) - @rm -f fsimfsconfig03$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsimfsgeneric01/Makefile.am b/testsuites/fstests/fsimfsgeneric01/Makefile.am deleted file mode 100644 index e8ab9f40a7..0000000000 --- a/testsuites/fstests/fsimfsgeneric01/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -rtems_tests_PROGRAMS = fsimfsgeneric01 -fsimfsgeneric01_SOURCES = init.c - -dist_rtems_tests_DATA = fsimfsgeneric01.scn fsimfsgeneric01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsimfsgeneric01_OBJECTS) -LINK_LIBS = $(fsimfsgeneric01_LDLIBS) - -fsimfsgeneric01$(EXEEXT): $(fsimfsgeneric01_OBJECTS) $(fsimfsgeneric01_DEPENDENCIES) - @rm -f fsimfsgeneric01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsjffs2gc01/Makefile.am b/testsuites/fstests/fsjffs2gc01/Makefile.am deleted file mode 100644 index e0571f48bf..0000000000 --- a/testsuites/fstests/fsjffs2gc01/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -rtems_tests_PROGRAMS = fsjffs2gc01 -fsjffs2gc01_SOURCES = init.c -fsjffs2gc01_SOURCES += ../support/fstest_support.c -fsjffs2gc01_SOURCES += ../support/fstest_support.h -fsjffs2gc01_SOURCES += ../support/fstest.h -fsjffs2gc01_SOURCES += ../../psxtests/include/pmacros.h -fsjffs2gc01_SOURCES += ../jffs2_support/fs_support.c -fsjffs2gc01_SOURCES += ../jffs2_support/fs_config.h -fsjffs2gc01_LDADD = -ljffs2 - -dist_rtems_tests_DATA = fsjffs2gc01.scn fsjffs2gc01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(fsjffs2gc01_OBJECTS) $(fsjffs2gc01_LDADD) -LINK_LIBS = $(fsjffs2gc01_LDLIBS) - -fsjffs2gc01$(EXEEXT): $(fsjffs2gc01_OBJECTS) $(fsjffs2gc01_DEPENDENCIES) - @rm -f fsjffs2gc01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fslink/imfs_fslink.scn b/testsuites/fstests/fslink/imfs_fslink.scn new file mode 100644 index 0000000000..7850d63b59 --- /dev/null +++ b/testsuites/fstests/fslink/imfs_fslink.scn @@ -0,0 +1,15 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem IMFS + + +*** 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 IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** + diff --git a/testsuites/fstests/fslink/jffs2_fslink.scn b/testsuites/fstests/fslink/jffs2_fslink.scn new file mode 100644 index 0000000000..dc278abbc4 --- /dev/null +++ b/testsuites/fstests/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/fslink/mimfs_fslink.scn b/testsuites/fstests/fslink/mimfs_fslink.scn new file mode 100644 index 0000000000..d0a6f1e395 --- /dev/null +++ b/testsuites/fstests/fslink/mimfs_fslink.scn @@ -0,0 +1,10 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED IMFS + + +*** LINK TEST *** +link creates hardlinks +test if the stat is the same +chmod and chown +unlink then stat the file +*** END OF LINK TEST *** diff --git a/testsuites/fstests/fslink/mrfs_fslink.scn b/testsuites/fstests/fslink/mrfs_fslink.scn new file mode 100644 index 0000000000..e74983d59f --- /dev/null +++ b/testsuites/fstests/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/fsnofs01/Makefile.am b/testsuites/fstests/fsnofs01/Makefile.am deleted file mode 100644 index f92e2be7ca..0000000000 --- a/testsuites/fstests/fsnofs01/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -rtems_tests_PROGRAMS = fsnofs01 -fsnofs01_SOURCES = init.c - -dist_rtems_tests_DATA = fsnofs01.scn fsnofs01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsnofs01_OBJECTS) -LINK_LIBS = $(fsnofs01_LDLIBS) - -fsnofs01$(EXEEXT): $(fsnofs01_OBJECTS) $(fsnofs01_DEPENDENCIES) - @rm -f fsnofs01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fspatheval/imfs_fspatheval.scn b/testsuites/fstests/fspatheval/imfs_fspatheval.scn new file mode 100644 index 0000000000..98369ea02c --- /dev/null +++ b/testsuites/fstests/fspatheval/imfs_fspatheval.scn @@ -0,0 +1,80 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem IMFS + + +*** 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 IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/fspatheval/jffs2_fspatheval.scn b/testsuites/fstests/fspatheval/jffs2_fspatheval.scn new file mode 100644 index 0000000000..0990627fc0 --- /dev/null +++ b/testsuites/fstests/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/fspatheval/mdosfs_fspatheval.scn b/testsuites/fstests/fspatheval/mdosfs_fspatheval.scn new file mode 100644 index 0000000000..eda35d49f5 --- /dev/null +++ b/testsuites/fstests/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/fspatheval/mimfs_fspatheval.scn b/testsuites/fstests/fspatheval/mimfs_fspatheval.scn new file mode 100644 index 0000000000..c81e4950aa --- /dev/null +++ b/testsuites/fstests/fspatheval/mimfs_fspatheval.scn @@ -0,0 +1,76 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED IMFS + + +*** 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 *** diff --git a/testsuites/fstests/fspatheval/mrfs_fspatheval.scn b/testsuites/fstests/fspatheval/mrfs_fspatheval.scn new file mode 100644 index 0000000000..faa25a1c71 --- /dev/null +++ b/testsuites/fstests/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/fspermission/imfs_fspermission.scn b/testsuites/fstests/fspermission/imfs_fspermission.scn new file mode 100644 index 0000000000..87120ea5f7 --- /dev/null +++ b/testsuites/fstests/fspermission/imfs_fspermission.scn @@ -0,0 +1,52 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem IMFS + + +*** 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 IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** + diff --git a/testsuites/fstests/fspermission/jffs2_fspermission.scn b/testsuites/fstests/fspermission/jffs2_fspermission.scn new file mode 100644 index 0000000000..d587b38bad --- /dev/null +++ b/testsuites/fstests/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/fspermission/mimfs_fspermission-interupted.scn b/testsuites/fstests/fspermission/mimfs_fspermission-interupted.scn new file mode 100644 index 0000000000..e425aa7b07 --- /dev/null +++ b/testsuites/fstests/fspermission/mimfs_fspermission-interupted.scn @@ -0,0 +1,47 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED IMFS + + +*** 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 *** diff --git a/testsuites/fstests/fspermission/mrfs_fspermission.scn b/testsuites/fstests/fspermission/mrfs_fspermission.scn new file mode 100644 index 0000000000..903ae4b415 --- /dev/null +++ b/testsuites/fstests/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/fsrdwr/imfs_fsrdwr.scn b/testsuites/fstests/fsrdwr/imfs_fsrdwr.scn new file mode 100644 index 0000000000..bc50588f0c --- /dev/null +++ b/testsuites/fstests/fsrdwr/imfs_fsrdwr.scn @@ -0,0 +1,22 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem IMFS +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 IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/fsrdwr/jffs2_fsrdwr.scn b/testsuites/fstests/fsrdwr/jffs2_fsrdwr.scn new file mode 100644 index 0000000000..8b9e056d38 --- /dev/null +++ b/testsuites/fstests/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/fsrdwr/mdosfs_fsrdwr.scn b/testsuites/fstests/fsrdwr/mdosfs_fsrdwr.scn new file mode 100644 index 0000000000..96c9101eaa --- /dev/null +++ b/testsuites/fstests/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/fsrdwr/mimfs_fsrdwr.scn b/testsuites/fstests/fsrdwr/mimfs_fsrdwr.scn new file mode 100644 index 0000000000..2ba20b7964 --- /dev/null +++ b/testsuites/fstests/fsrdwr/mimfs_fsrdwr.scn @@ -0,0 +1,22 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED IMFS +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 IMFS +*** END OF FILE SYSTEM TEST ( MOUNTED IMFS ) *** diff --git a/testsuites/fstests/fsrdwr/mrfs_fsrdwr.scn b/testsuites/fstests/fsrdwr/mrfs_fsrdwr.scn new file mode 100644 index 0000000000..3fbbb28d42 --- /dev/null +++ b/testsuites/fstests/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/fsrename/mimfs_fsrename.scn b/testsuites/fstests/fsrename/mimfs_fsrename.scn new file mode 100644 index 0000000000..3979c2f903 --- /dev/null +++ b/testsuites/fstests/fsrename/mimfs_fsrename.scn @@ -0,0 +1,287 @@ +*** BEGIN OF TEST FSRENAME MOUNTED IMFS *** +Initializing filesystem MOUNTED IMFS + +Old is a simbolic link and rename operates on the simbolic link itself + +Testing rename with arguments: symlink01, name02 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 78 +Testing lstat with arguments: name02, &statbuf EXPECT "0" +PASS +Testing if name02 is now a symlink +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 86 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: name02 EXPECT "0" +PASS +Testing unlink with arguments: symlink01 EXPECT "-1" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 94 + +New is a simbolic link and rename operates on the simbolic link itself + +Testing rename with arguments: name02, symlink01 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 116 +Testing lstat with arguments: symlink01, &statbuf EXPECT "0" +PASS +Testing that symlink01 is not a symlink +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 124 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: name02 EXPECT "-1" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 131 +Testing unlink with arguments: symlink01 EXPECT "0" +PASS + +Testing with symbolic link loop's + +Testing rename with arguments: "path01, name01" EXPECT "ELOOP" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 149 +Testing rename with arguments: "path01, name01" EXPECT "ELOOP" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 152 +Testing unlink with arguments: name01 EXPECT "-1" +PASS +Testing unlink with arguments: symlink01 EXPECT "0" +PASS +Testing unlink with arguments: symlink02 EXPECT "0" +PASS +Testing rename with arguments: "name01, path01" EXPECT "ELOOP" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 180 +Testing rename with arguments: "name01, path01" EXPECT "ELOOP" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 183 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: symlink01 EXPECT "0" +PASS +Testing unlink with arguments: symlink02 EXPECT "0" +PASS + +Rename file with itself + +Testing rename with arguments: name01, name01 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 244 +Testing unlink with arguments: name01 EXPECT "0" +PASS + +Rename file with itself through a hard link in another directory + +Testing rename with arguments: name01, path01 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 271 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: path01 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename directory with file + +Testing rename with arguments: "dir01, name01" EXPECT "ENOTDIR" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 343 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename file with directory + +Testing rename with arguments: "name01, dir01" EXPECT "EISDIR" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 367 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename directory with ancestor directory + +Testing rename with arguments: "dir02, path01" EXPECT "EINVAL" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 390 +Testing rmdir with arguments: path01 EXPECT "0" +PASS +Testing rmdir with arguments: dir02 EXPECT "0" +PASS + +Rename directory with non empty directory + +Testing rename with arguments: dir01, dir02 EXPECT "-1" +PASS +Testing errno for EEXIST or ENOTEMPTY +PASS +Testing unlink with arguments: path01 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS +Testing rmdir with arguments: dir02 EXPECT "0" +PASS + +Rename empty directory with another empty directory + +Testing rename with arguments: dir01, dir02 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 448 +Testing rmdir with arguments: dir01 EXPECT "-1" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 454 +Testing rmdir with arguments: dir02 EXPECT "0" +PASS +Testing rename with arguments: "dir02, path01" EXPECT "EMLINK" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 483 +Testing rmdir with arguments: path01 EXPECT "-1" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 497 +Testing rmdir with arguments: dir02 EXPECT "0" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 498 +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename files within directories protected with S_ISVTX + +Testing rename with arguments: path01, name02 EXPECT "-1" +PASS +Testing errno for EPERM or EACCES +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 535 +Testing unlink with arguments: path01 EXPECT "0" +PASS +Testing unlink with arguments: name02 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS +Testing rename with arguments: name02, path01 EXPECT "-1" +PASS +Testing errno for EPERM or EACCES +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 577 +Testing unlink with arguments: path01 EXPECT "0" +PASS +Testing unlink with arguments: name02 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename file with non existant file + +Testing rename with arguments: name01, name02 EXPECT "0" +PASS +Testing unlink with arguments: name01 EXPECT "-1" +PASS +Testing unlink with arguments: name02 EXPECT "0" +PASS +Testing rename with arguments: "name02, name01" EXPECT "ENOENT" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 660 +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: name02 EXPECT "-1" +PASS + +Rename file with non existant filepath + +Testing rename with arguments: "path01, name01" EXPECT "ENOENT" +PASS +Testing unlink with arguments: name01 EXPECT "-1" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Rename directory with non existant directory + +Testing rename with arguments: dir01, dir02 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "-1" +PASS +Testing rmdir with arguments: dir02 EXPECT "0" +PASS + +Rename file with a name size exceeding NAME_MAX + +Testing rename with arguments: "name01, filename" EXPECT "ENAMETOOLONG" +PASS +Testing unlink with arguments: name01 EXPECT "0" +PASS +Testing unlink with arguments: filename EXPECT "-1" +PASS + +Rename directory with current directory + +Testing rename with arguments: "." , dir01 EXPECT "-1" +PASS +Testing errno for EINVAL or EBUSY +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 787 +Testing rename with arguments: dir01, "." EXPECT "-1" +PASS +Testing errno for EINVAL or EBUSY +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 801 + +Rename directory with previous directory + +Testing rename with arguments: ".." , dir01 EXPECT "-1" +PASS +Testing errno for EINVAL or EBUSY +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 817 +Testing rename with arguments: dir01, ".." EXPECT "-1" +PASS +Testing errno for EINVAL or EBUSY +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 831 +Testing rmdir with arguments: dir01 EXPECT "0" +PASS + +Testing empty filepaths + +Testing rename with arguments: "name01, \"\"" EXPECT "ENOENT" +PASS +Testing with arguments: name01 EXPECT "0" +PASS +Testing rename with arguments: "\"\", name01" EXPECT "ENOENT" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 869 +Testing with arguments: name01 EXPECT "0" +PASS + +Rename two files on a directory with no write permission + +Testing rename with arguments: "name01 , name02" EXPECT "EACCES" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 947 + +Rename file between two directories, with and without write access + +Testing rename with arguments: "name01, path01" EXPECT "EACCES" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 971 +Testing rename with arguments: "path01, name01" EXPECT "EACCES" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 978 +Testing with arguments: name01 EXPECT "0" +PASS +Testing with arguments: path01 EXPECT "0" +PASS +Testing with arguments: path01 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS +Testing rmdir with arguments: dir02 EXPECT "0" +PASS + +Rename two files on a directory with no execute permission + +Testing rename with arguments: "path01 , path02" EXPECT "EACCES" +PASS + +Rename file between two directories, with and without execute access + +Testing rename with arguments: "path01, path02" EXPECT "EACCES" +PASS +Testing rename with arguments: "path02, path01" EXPECT "EACCES" +FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 1103 +Testing with arguments: path01 EXPECT "0" +PASS +Testing with arguments: path01 EXPECT "0" +PASS +Testing with arguments: path02 EXPECT "0" +PASS +Testing rmdir with arguments: dir01 EXPECT "0" +PASS +Testing rmdir with arguments: dir02 EXPECT "0" +PASS + +Rename files across diferent filesystems + +Testing rename with arguments: "name01, path01" EXPECT "EXDEV" +PASS +Testing with arguments: path01 EXPECT "-1" +PASS +Testing with arguments: name01 EXPECT "0" +PASS + + +Shutting down filesystem MOUNTED IMFS +*** END OF TEST FSRENAME MOUNTED IMFS *** diff --git a/testsuites/fstests/fsrfsbitmap01/Makefile.am b/testsuites/fstests/fsrfsbitmap01/Makefile.am deleted file mode 100644 index b52fa9903b..0000000000 --- a/testsuites/fstests/fsrfsbitmap01/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = fsrfsbitmap01 -fsrfsbitmap01_SOURCES = test.c -fsrfsbitmap01_SOURCES += ../support/ramdisk_support.c -fsrfsbitmap01_SOURCES += ../support/fstest_support.c -fsrfsbitmap01_SOURCES += ../support/fstest_support.h -fsrfsbitmap01_SOURCES += ../support/ramdisk_support.h -fsrfsbitmap01_SOURCES += ../support/fstest.h -fsrfsbitmap01_SOURCES += ../../psxtests/include/pmacros.h -fsrfsbitmap01_SOURCES += ../mrfs_support/fs_support.c -fsrfsbitmap01_SOURCES += ../mrfs_support/fs_config.h - -dist_rtems_tests_DATA = fsrfsbitmap01.scn -dist_rtems_tests_DATA += fsrfsbitmap01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(fsrfsbitmap01_OBJECTS) -LINK_LIBS = $(fsrfsbitmap01_LDLIBS) - -fsrfsbitmap01$(EXEEXT): $(fsrfsbitmap01_OBJECTS) $(fsrfsbitmap01_DEPENDENCIES) - @rm -f fsrfsbitmap01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsrofs01/Makefile.am b/testsuites/fstests/fsrofs01/Makefile.am deleted file mode 100644 index 729a6290aa..0000000000 --- a/testsuites/fstests/fsrofs01/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -rtems_tests_PROGRAMS = fsrofs01 -fsrofs01_SOURCES = init.c - -dist_rtems_tests_DATA = fsrofs01.scn fsrofs01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(fsrofs01_OBJECTS) -LINK_LIBS = $(fsrofs01_LDLIBS) - -fsrofs01$(EXEEXT): $(fsrofs01_OBJECTS) $(fsrofs01_DEPENDENCIES) - @rm -f fsrofs01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsscandir01/imfs_fsscandir01.scn b/testsuites/fstests/fsscandir01/imfs_fsscandir01.scn new file mode 100644 index 0000000000..5d6a83cc09 --- /dev/null +++ b/testsuites/fstests/fsscandir01/imfs_fsscandir01.scn @@ -0,0 +1,7 @@ +*** BEGIN OF TEST FSSCANDIR ROOT IMFS *** +Initializing filesystem ROOT IMFS +scandir: Success + + +Shutting down filesystem ROOT IMFS +*** END OF TEST FSSCANDIR ROOT IMFS *** diff --git a/testsuites/fstests/fsscandir01/jffs2_fsscandir01.scn b/testsuites/fstests/fsscandir01/jffs2_fsscandir01.scn new file mode 100644 index 0000000000..c30703f337 --- /dev/null +++ b/testsuites/fstests/fsscandir01/jffs2_fsscandir01.scn @@ -0,0 +1,7 @@ +*** BEGIN OF TEST FSSCANDIR JFFS2 *** +Initializing filesystem JFFS2 +scandir: Success + + +Shutting down filesystem JFFS2 +*** END OF TEST FSSCANDIR JFFS2 *** diff --git a/testsuites/fstests/fsscandir01/mdosfs_fsscandir01.scn b/testsuites/fstests/fsscandir01/mdosfs_fsscandir01.scn new file mode 100644 index 0000000000..4cedc78c77 --- /dev/null +++ b/testsuites/fstests/fsscandir01/mdosfs_fsscandir01.scn @@ -0,0 +1,6 @@ +*** BEGIN OF TEST FSSCANDIR DOSFS *** +Initializing filesystem DOSFS + + +Shutting down filesystem DOSFS +*** END OF TEST FSSCANDIR DOSFS *** diff --git a/testsuites/fstests/fsscandir01/mimfs_fsscandir01.scn b/testsuites/fstests/fsscandir01/mimfs_fsscandir01.scn new file mode 100644 index 0000000000..39577ff059 --- /dev/null +++ b/testsuites/fstests/fsscandir01/mimfs_fsscandir01.scn @@ -0,0 +1,7 @@ +*** BEGIN OF TEST FSSCANDIR MOUNTED IMFS *** +Initializing filesystem MOUNTED IMFS +scandir: Success + + +Shutting down filesystem MOUNTED IMFS +*** END OF TEST FSSCANDIR MOUNTED IMFS *** diff --git a/testsuites/fstests/fsscandir01/mrfs_fsscandir01.scn b/testsuites/fstests/fsscandir01/mrfs_fsscandir01.scn new file mode 100644 index 0000000000..3f55d65044 --- /dev/null +++ b/testsuites/fstests/fsscandir01/mrfs_fsscandir01.scn @@ -0,0 +1,7 @@ +*** BEGIN OF TEST FSSCANDIR RFS *** +Initializing filesystem RFS +. + + +Shutting down filesystem RFS +*** END OF TEST FSSCANDIR RFS *** diff --git a/testsuites/fstests/fsstatvfs/mdosfs_fsstatvfs.scn b/testsuites/fstests/fsstatvfs/mdosfs_fsstatvfs.scn new file mode 100644 index 0000000000..f8bbc6aaf1 --- /dev/null +++ b/testsuites/fstests/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/fssymlink/imfs_fssymlink.scn b/testsuites/fstests/fssymlink/imfs_fssymlink.scn new file mode 100644 index 0000000000..53fc11f705 --- /dev/null +++ b/testsuites/fstests/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/fssymlink/jffs2_fssymlink.scn b/testsuites/fstests/fssymlink/jffs2_fssymlink.scn new file mode 100644 index 0000000000..8ef1d580c9 --- /dev/null +++ b/testsuites/fstests/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/fssymlink/mimfs_fssymlink.scn b/testsuites/fstests/fssymlink/mimfs_fssymlink.scn new file mode 100644 index 0000000000..c18037dacf --- /dev/null +++ b/testsuites/fstests/fssymlink/mimfs_fssymlink.scn @@ -0,0 +1,31 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED 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/mimfs_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 *** diff --git a/testsuites/fstests/fssymlink/mrfs_fssymlink.scn b/testsuites/fstests/fssymlink/mrfs_fssymlink.scn new file mode 100644 index 0000000000..bdcbeefb59 --- /dev/null +++ b/testsuites/fstests/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/fstime/imfs_fstime.scn b/testsuites/fstests/fstime/imfs_fstime.scn new file mode 100644 index 0000000000..845df58044 --- /dev/null +++ b/testsuites/fstests/fstime/imfs_fstime.scn @@ -0,0 +1,12 @@ +*** FILE SYSTEM TEST ( IMFS ) *** +Initializing filesystem IMFS + + +*** TIME TEST *** +Sleep a few seconds +*** END OF TIME TEST *** + + +Shutting down filesystem IMFS +*** END OF FILE SYSTEM TEST ( IMFS ) *** + diff --git a/testsuites/fstests/fstime/jffs2_fstime.scn b/testsuites/fstests/fstime/jffs2_fstime.scn new file mode 100644 index 0000000000..4b046cf7b3 --- /dev/null +++ b/testsuites/fstests/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/fstime/mimfs_fstime.scn b/testsuites/fstests/fstime/mimfs_fstime.scn new file mode 100644 index 0000000000..74a503935b --- /dev/null +++ b/testsuites/fstests/fstime/mimfs_fstime.scn @@ -0,0 +1,7 @@ +*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** +Initializing filesystem MOUNTED IMFS + + +*** TIME TEST *** +Sleep a few seconds +*** END OF TIME TEST *** diff --git a/testsuites/fstests/fstime/mrfs_fstime.scn b/testsuites/fstests/fstime/mrfs_fstime.scn new file mode 100644 index 0000000000..b08aecb7c1 --- /dev/null +++ b/testsuites/fstests/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/fstests/imfs_fserror/Makefile.am b/testsuites/fstests/imfs_fserror/Makefile.am deleted file mode 100644 index aea866851f..0000000000 --- a/testsuites/fstests/imfs_fserror/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fserror -imfs_fserror_SOURCES = ../fserror/test.c -imfs_fserror_SOURCES += ../support/fstest_support.c -imfs_fserror_SOURCES += ../support/fstest_support.h -imfs_fserror_SOURCES += ../support/fstest.h -imfs_fserror_SOURCES += ../../psxtests/include/pmacros.h -imfs_fserror_SOURCES += ../imfs_support/fs_support.c -imfs_fserror_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fserror.scn -#dist_rtems_tests_DATA += imfs_fserror.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fserror_OBJECTS) -LINK_LIBS = $(imfs_fserror_LDLIBS) - -imfs_fserror$(EXEEXT): $(imfs_fserror_OBJECTS) $(imfs_fserror_DEPENDENCIES) - @rm -f imfs_fserror$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fserror/imfs_fserror.scn b/testsuites/fstests/imfs_fserror/imfs_fserror.scn deleted file mode 100644 index 040ea13041..0000000000 --- a/testsuites/fstests/imfs_fserror/imfs_fserror.scn +++ /dev/null @@ -1,94 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem 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/imfs_fserror/../fserror/test.c: 156 -Testing rename with arguments: "name03, name02" EXPECT "EISDIR" -FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 164 -Testing rename with arguments: "nonexistence, name01" EXPECT "ENOENT" -FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 171 -Testing rename with arguments: "\"\", name01" EXPECT "ENOENT" -FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_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/imfs_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/imfs_fserror/../fserror/test.c: 184 -Testing truncate with arguments: "file, -1" EXPECT "EINVAL" -PASS -Testing rmdir with arguments: "\"..\"" EXPECT "ENOTEMPTY" -PASS -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 IMFS -*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/imfs_fslink/Makefile.am b/testsuites/fstests/imfs_fslink/Makefile.am deleted file mode 100644 index 09bdaa00c2..0000000000 --- a/testsuites/fstests/imfs_fslink/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fslink -imfs_fslink_SOURCES = ../fslink/test.c -imfs_fslink_SOURCES += ../support/fstest_support.c -imfs_fslink_SOURCES += ../support/fstest_support.h -imfs_fslink_SOURCES += ../support/fstest.h -imfs_fslink_SOURCES += ../../psxtests/include/pmacros.h -imfs_fslink_SOURCES += ../imfs_support/fs_support.c -imfs_fslink_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fslink.scn -#dist_rtems_tests_DATA += imfs_fslink.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fslink_OBJECTS) -LINK_LIBS = $(imfs_fslink_LDLIBS) - -imfs_fslink$(EXEEXT): $(imfs_fslink_OBJECTS) $(imfs_fslink_DEPENDENCIES) - @rm -f imfs_fslink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fslink/imfs_fslink.scn b/testsuites/fstests/imfs_fslink/imfs_fslink.scn deleted file mode 100644 index 7850d63b59..0000000000 --- a/testsuites/fstests/imfs_fslink/imfs_fslink.scn +++ /dev/null @@ -1,15 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem IMFS - - -*** 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 IMFS -*** END OF FILE SYSTEM TEST ( IMFS ) *** - diff --git a/testsuites/fstests/imfs_fspatheval/Makefile.am b/testsuites/fstests/imfs_fspatheval/Makefile.am deleted file mode 100644 index f5038c9115..0000000000 --- a/testsuites/fstests/imfs_fspatheval/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fspatheval -imfs_fspatheval_SOURCES = ../fspatheval/test.c -imfs_fspatheval_SOURCES += ../support/fstest_support.c -imfs_fspatheval_SOURCES += ../support/fstest_support.h -imfs_fspatheval_SOURCES += ../support/fstest.h -imfs_fspatheval_SOURCES += ../../psxtests/include/pmacros.h -imfs_fspatheval_SOURCES += ../imfs_support/fs_support.c -imfs_fspatheval_SOURCES += ../imfs_support/fs_config.h - -dist_rtems_tests_DATA = imfs_fspatheval.scn -#dist_rtems_tests_DATA += imfs_fspatheval.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fspatheval_OBJECTS) -LINK_LIBS = $(imfs_fspatheval_LDLIBS) - -imfs_fspatheval$(EXEEXT): $(imfs_fspatheval_OBJECTS) $(imfs_fspatheval_DEPENDENCIES) - @rm -f imfs_fspatheval$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fspatheval/imfs_fspatheval.scn b/testsuites/fstests/imfs_fspatheval/imfs_fspatheval.scn deleted file mode 100644 index 98369ea02c..0000000000 --- a/testsuites/fstests/imfs_fspatheval/imfs_fspatheval.scn +++ /dev/null @@ -1,80 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem IMFS - - -*** 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 IMFS -*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/imfs_fspermission/Makefile.am b/testsuites/fstests/imfs_fspermission/Makefile.am deleted file mode 100644 index dc76d96af8..0000000000 --- a/testsuites/fstests/imfs_fspermission/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fspermission -imfs_fspermission_SOURCES = ../fspermission/test.c -imfs_fspermission_SOURCES += ../support/fstest_support.c -imfs_fspermission_SOURCES += ../support/fstest_support.h -imfs_fspermission_SOURCES += ../support/fstest.h -imfs_fspermission_SOURCES += ../../psxtests/include/pmacros.h -imfs_fspermission_SOURCES += ../imfs_support/fs_support.c -imfs_fspermission_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fspermission.scn -#dist_rtems_tests_DATA += imfs_fspermission.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fspermission_OBJECTS) -LINK_LIBS = $(imfs_fspermission_LDLIBS) - -imfs_fspermission$(EXEEXT): $(imfs_fspermission_OBJECTS) $(imfs_fspermission_DEPENDENCIES) - @rm -f imfs_fspermission$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fspermission/imfs_fspermission.scn b/testsuites/fstests/imfs_fspermission/imfs_fspermission.scn deleted file mode 100644 index 87120ea5f7..0000000000 --- a/testsuites/fstests/imfs_fspermission/imfs_fspermission.scn +++ /dev/null @@ -1,52 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem IMFS - - -*** 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 IMFS -*** END OF FILE SYSTEM TEST ( IMFS ) *** - diff --git a/testsuites/fstests/imfs_fsrdwr/Makefile.am b/testsuites/fstests/imfs_fsrdwr/Makefile.am deleted file mode 100644 index 3ac5d0b503..0000000000 --- a/testsuites/fstests/imfs_fsrdwr/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fsrdwr -imfs_fsrdwr_SOURCES = ../fsrdwr/init.c -imfs_fsrdwr_SOURCES += ../support/fstest_support.c -imfs_fsrdwr_SOURCES += ../support/fstest_support.h -imfs_fsrdwr_SOURCES += ../support/fstest.h -imfs_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h -imfs_fsrdwr_SOURCES += ../imfs_support/fs_support.c -imfs_fsrdwr_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fsrdwr.scn -#dist_rtems_tests_DATA += imfs_fsrdwr.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fsrdwr_OBJECTS) -LINK_LIBS = $(imfs_fsrdwr_LDLIBS) - -imfs_fsrdwr$(EXEEXT): $(imfs_fsrdwr_OBJECTS) $(imfs_fsrdwr_DEPENDENCIES) - @rm -f imfs_fsrdwr$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fsrdwr/imfs_fsrdwr.scn b/testsuites/fstests/imfs_fsrdwr/imfs_fsrdwr.scn deleted file mode 100644 index bc50588f0c..0000000000 --- a/testsuites/fstests/imfs_fsrdwr/imfs_fsrdwr.scn +++ /dev/null @@ -1,22 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem IMFS -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 IMFS -*** END OF FILE SYSTEM TEST ( IMFS ) *** diff --git a/testsuites/fstests/imfs_fsscandir01/Makefile.am b/testsuites/fstests/imfs_fsscandir01/Makefile.am deleted file mode 100644 index 86bd06eb86..0000000000 --- a/testsuites/fstests/imfs_fsscandir01/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fsscandir01 -imfs_fsscandir01_SOURCES = ../fsscandir01/init.c -imfs_fsscandir01_SOURCES += ../support/fstest_support.c -imfs_fsscandir01_SOURCES += ../support/fstest_support.h -imfs_fsscandir01_SOURCES += ../support/fstest.h -imfs_fsscandir01_SOURCES += ../../psxtests/include/pmacros.h -imfs_fsscandir01_SOURCES += ../imfs_support/fs_support.c -imfs_fsscandir01_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fsscandir01.scn -#dist_rtems_tests_DATA += imfs_fsscandir01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fsscandir01_OBJECTS) -LINK_LIBS = $(imfs_fsscandir01_LDLIBS) - -imfs_fsscandir01$(EXEEXT): $(imfs_fsscandir01_OBJECTS) $(imfs_fsscandir01_DEPENDENCIES) - @rm -f imfs_fsscandir01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fsscandir01/imfs_fsscandir01.scn b/testsuites/fstests/imfs_fsscandir01/imfs_fsscandir01.scn deleted file mode 100644 index 5d6a83cc09..0000000000 --- a/testsuites/fstests/imfs_fsscandir01/imfs_fsscandir01.scn +++ /dev/null @@ -1,7 +0,0 @@ -*** BEGIN OF TEST FSSCANDIR ROOT IMFS *** -Initializing filesystem ROOT IMFS -scandir: Success - - -Shutting down filesystem ROOT IMFS -*** END OF TEST FSSCANDIR ROOT IMFS *** diff --git a/testsuites/fstests/imfs_fssymlink/Makefile.am b/testsuites/fstests/imfs_fssymlink/Makefile.am deleted file mode 100644 index 75d8ece894..0000000000 --- a/testsuites/fstests/imfs_fssymlink/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fssymlink -imfs_fssymlink_SOURCES = ../fssymlink/test.c -imfs_fssymlink_SOURCES += ../support/fstest_support.c -imfs_fssymlink_SOURCES += ../support/fstest_support.h -imfs_fssymlink_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fssymlink_OBJECTS) -LINK_LIBS = $(imfs_fssymlink_LDLIBS) - -imfs_fssymlink$(EXEEXT): $(imfs_fssymlink_OBJECTS) $(imfs_fssymlink_DEPENDENCIES) - @rm -f imfs_fssymlink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn b/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn deleted file mode 100644 index 53fc11f705..0000000000 --- a/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn +++ /dev/null @@ -1,37 +0,0 @@ - - -*** 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/imfs_fstime/Makefile.am b/testsuites/fstests/imfs_fstime/Makefile.am deleted file mode 100644 index 0ddd00573b..0000000000 --- a/testsuites/fstests/imfs_fstime/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = imfs_fstime -imfs_fstime_SOURCES = ../fstime/test.c -imfs_fstime_SOURCES += ../support/fstest_support.c -imfs_fstime_SOURCES += ../support/fstest_support.h -imfs_fstime_SOURCES += ../support/fstest.h -imfs_fstime_SOURCES += ../../psxtests/include/pmacros.h -imfs_fstime_SOURCES += ../imfs_support/fs_support.c -imfs_fstime_SOURCES += ../imfs_support/fs_config.h - -#dist_rtems_tests_DATA = imfs_fstime.scn -#dist_rtems_tests_DATA += imfs_fstime.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/imfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(imfs_fstime_OBJECTS) -LINK_LIBS = $(imfs_fstime_LDLIBS) - -imfs_fstime$(EXEEXT): $(imfs_fstime_OBJECTS) $(imfs_fstime_DEPENDENCIES) - @rm -f imfs_fstime$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/imfs_fstime/imfs_fstime.scn b/testsuites/fstests/imfs_fstime/imfs_fstime.scn deleted file mode 100644 index 845df58044..0000000000 --- a/testsuites/fstests/imfs_fstime/imfs_fstime.scn +++ /dev/null @@ -1,12 +0,0 @@ -*** FILE SYSTEM TEST ( IMFS ) *** -Initializing filesystem IMFS - - -*** TIME TEST *** -Sleep a few seconds -*** END OF TIME 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 deleted file mode 100644 index fbf2d772ca..0000000000 --- a/testsuites/fstests/jffs2_fserror/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fserror -jffs2_fserror_SOURCES = ../fserror/test.c -jffs2_fserror_SOURCES += ../support/fstest_support.c -jffs2_fserror_SOURCES += ../support/fstest_support.h -jffs2_fserror_SOURCES += ../support/fstest.h -jffs2_fserror_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fserror_SOURCES += ../jffs2_support/fs_support.c -jffs2_fserror_SOURCES += ../jffs2_support/fs_config.h -jffs2_fserror_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fserror.scn -#dist_rtems_tests_DATA += jffs2_fserror.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fserror_OBJECTS) $(jffs2_fserror_LDADD) -LINK_LIBS = $(jffs2_fserror_LDLIBS) - -jffs2_fserror$(EXEEXT): $(jffs2_fserror_OBJECTS) $(jffs2_fserror_DEPENDENCIES) - @rm -f jffs2_fserror$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn b/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn deleted file mode 100644 index 2c3d9ee595..0000000000 --- a/testsuites/fstests/jffs2_fserror/jffs2_fserror.scn +++ /dev/null @@ -1,96 +0,0 @@ - - -*** 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 deleted file mode 100644 index 9daa2ac38c..0000000000 --- a/testsuites/fstests/jffs2_fslink/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fslink -jffs2_fslink_SOURCES = ../fslink/test.c -jffs2_fslink_SOURCES += ../support/fstest_support.c -jffs2_fslink_SOURCES += ../support/fstest_support.h -jffs2_fslink_SOURCES += ../support/fstest.h -jffs2_fslink_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fslink_SOURCES += ../jffs2_support/fs_support.c -jffs2_fslink_SOURCES += ../jffs2_support/fs_config.h -jffs2_fslink_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fslink.scn -#dist_rtems_tests_DATA += jffs2_fslink.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fslink_OBJECTS) $(jffs2_fslink_LDADD) -LINK_LIBS = $(jffs2_fslink_LDLIBS) - -jffs2_fslink$(EXEEXT): $(jffs2_fslink_OBJECTS) $(jffs2_fslink_DEPENDENCIES) - @rm -f jffs2_fslink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn b/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn deleted file mode 100644 index dc278abbc4..0000000000 --- a/testsuites/fstests/jffs2_fslink/jffs2_fslink.scn +++ /dev/null @@ -1,16 +0,0 @@ - - -*** 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 deleted file mode 100644 index ae5e0f76a6..0000000000 --- a/testsuites/fstests/jffs2_fspatheval/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fspatheval -jffs2_fspatheval_SOURCES = ../fspatheval/test.c -jffs2_fspatheval_SOURCES += ../support/fstest_support.c -jffs2_fspatheval_SOURCES += ../support/fstest_support.h -jffs2_fspatheval_SOURCES += ../support/fstest.h -jffs2_fspatheval_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fspatheval_SOURCES += ../jffs2_support/fs_support.c -jffs2_fspatheval_SOURCES += ../jffs2_support/fs_config.h -jffs2_fspatheval_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fspatheval.scn -#dist_rtems_tests_DATA += jffs2_fspatheval.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fspatheval_OBJECTS) $(jffs2_fspatheval_LDADD) -LINK_LIBS = $(jffs2_fspatheval_LDLIBS) - -jffs2_fspatheval$(EXEEXT): $(jffs2_fspatheval_OBJECTS) $(jffs2_fspatheval_DEPENDENCIES) - @rm -f jffs2_fspatheval$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn b/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn deleted file mode 100644 index 0990627fc0..0000000000 --- a/testsuites/fstests/jffs2_fspatheval/jffs2_fspatheval.scn +++ /dev/null @@ -1,82 +0,0 @@ - - -*** 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 deleted file mode 100644 index 3ac1617e74..0000000000 --- a/testsuites/fstests/jffs2_fspermission/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fspermission -jffs2_fspermission_SOURCES = ../fspermission/test.c -jffs2_fspermission_SOURCES += ../support/fstest_support.c -jffs2_fspermission_SOURCES += ../support/fstest_support.h -jffs2_fspermission_SOURCES += ../support/fstest.h -jffs2_fspermission_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fspermission_SOURCES += ../jffs2_support/fs_support.c -jffs2_fspermission_SOURCES += ../jffs2_support/fs_config.h -jffs2_fspermission_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fspermission.scn -#dist_rtems_tests_DATA += jffs2_fspermission.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fspermission_OBJECTS) $(jffs2_fspermission_LDADD) -LINK_LIBS = $(jffs2_fspermission_LDLIBS) - -jffs2_fspermission$(EXEEXT): $(jffs2_fspermission_OBJECTS) $(jffs2_fspermission_DEPENDENCIES) - @rm -f jffs2_fspermission$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn b/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn deleted file mode 100644 index d587b38bad..0000000000 --- a/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn +++ /dev/null @@ -1,53 +0,0 @@ - - -*** 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 deleted file mode 100644 index 2eca660f97..0000000000 --- a/testsuites/fstests/jffs2_fsrdwr/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fsrdwr -jffs2_fsrdwr_SOURCES = ../fsrdwr/init.c -jffs2_fsrdwr_SOURCES += ../support/fstest_support.c -jffs2_fsrdwr_SOURCES += ../support/fstest_support.h -jffs2_fsrdwr_SOURCES += ../support/fstest.h -jffs2_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fsrdwr_SOURCES += ../jffs2_support/fs_support.c -jffs2_fsrdwr_SOURCES += ../jffs2_support/fs_config.h -jffs2_fsrdwr_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fsrdwr.scn -#dist_rtems_tests_DATA += jffs2_fsrdwr.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fsrdwr_OBJECTS) $(jffs2_fsrdwr_LDADD) -LINK_LIBS = $(jffs2_fsrdwr_LDLIBS) - -jffs2_fsrdwr$(EXEEXT): $(jffs2_fsrdwr_OBJECTS) $(jffs2_fsrdwr_DEPENDENCIES) - @rm -f jffs2_fsrdwr$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn b/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn deleted file mode 100644 index 8b9e056d38..0000000000 --- a/testsuites/fstests/jffs2_fsrdwr/jffs2_fsrdwr.scn +++ /dev/null @@ -1,24 +0,0 @@ - - -*** 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_fsscandir01/Makefile.am b/testsuites/fstests/jffs2_fsscandir01/Makefile.am deleted file mode 100644 index 9f64e3fb10..0000000000 --- a/testsuites/fstests/jffs2_fsscandir01/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fsscandir01 -jffs2_fsscandir01_SOURCES = ../fsscandir01/init.c -jffs2_fsscandir01_SOURCES += ../support/fstest_support.c -jffs2_fsscandir01_SOURCES += ../support/fstest_support.h -jffs2_fsscandir01_SOURCES += ../support/fstest.h -jffs2_fsscandir01_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fsscandir01_SOURCES += ../jffs2_support/fs_support.c -jffs2_fsscandir01_SOURCES += ../jffs2_support/fs_config.h -jffs2_fsscandir01_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fsscandir01.scn -#dist_rtems_tests_DATA += jffs2_fsscandir01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fsscandir01_OBJECTS) $(jffs2_fsscandir01_LDADD) -LINK_LIBS = $(jffs2_fsscandir01_LDLIBS) - -jffs2_fsscandir01$(EXEEXT): $(jffs2_fsscandir01_OBJECTS) $(jffs2_fsscandir01_DEPENDENCIES) - @rm -f jffs2_fsscandir01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fsscandir01/jffs2_fsscandir01.scn b/testsuites/fstests/jffs2_fsscandir01/jffs2_fsscandir01.scn deleted file mode 100644 index c30703f337..0000000000 --- a/testsuites/fstests/jffs2_fsscandir01/jffs2_fsscandir01.scn +++ /dev/null @@ -1,7 +0,0 @@ -*** BEGIN OF TEST FSSCANDIR JFFS2 *** -Initializing filesystem JFFS2 -scandir: Success - - -Shutting down filesystem JFFS2 -*** END OF TEST FSSCANDIR JFFS2 *** diff --git a/testsuites/fstests/jffs2_fssymlink/Makefile.am b/testsuites/fstests/jffs2_fssymlink/Makefile.am deleted file mode 100644 index 6dbb63922a..0000000000 --- a/testsuites/fstests/jffs2_fssymlink/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fssymlink -jffs2_fssymlink_SOURCES = ../fssymlink/test.c -jffs2_fssymlink_SOURCES += ../support/fstest_support.c -jffs2_fssymlink_SOURCES += ../support/fstest_support.h -jffs2_fssymlink_SOURCES += ../support/fstest.h -jffs2_fssymlink_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fssymlink_SOURCES += ../jffs2_support/fs_support.c -jffs2_fssymlink_SOURCES += ../jffs2_support/fs_config.h -jffs2_fssymlink_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fssymlink.scn -#dist_rtems_tests_DATA += jffs2_fssymlink.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fssymlink_OBJECTS) $(jffs2_fssymlink_LDADD) -LINK_LIBS = $(jffs2_fssymlink_LDLIBS) - -jffs2_fssymlink$(EXEEXT): $(jffs2_fssymlink_OBJECTS) $(jffs2_fssymlink_DEPENDENCIES) - @rm -f jffs2_fssymlink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn b/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn deleted file mode 100644 index 8ef1d580c9..0000000000 --- a/testsuites/fstests/jffs2_fssymlink/jffs2_fssymlink.scn +++ /dev/null @@ -1,37 +0,0 @@ - - -*** 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 deleted file mode 100644 index a65dc23a00..0000000000 --- a/testsuites/fstests/jffs2_fstime/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ - -rtems_tests_PROGRAMS = jffs2_fstime -jffs2_fstime_SOURCES = ../fstime/test.c -jffs2_fstime_SOURCES += ../support/fstest_support.c -jffs2_fstime_SOURCES += ../support/fstest_support.h -jffs2_fstime_SOURCES += ../support/fstest.h -jffs2_fstime_SOURCES += ../../psxtests/include/pmacros.h -jffs2_fstime_SOURCES += ../jffs2_support/fs_support.c -jffs2_fstime_SOURCES += ../jffs2_support/fs_config.h -jffs2_fstime_LDADD = -ljffs2 - -dist_rtems_tests_DATA = jffs2_fstime.scn -#dist_rtems_tests_DATA += jffs2_fstime.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(jffs2_fstime_OBJECTS) $(jffs2_fstime_LDADD) -LINK_LIBS = $(jffs2_fstime_LDLIBS) - -jffs2_fstime$(EXEEXT): $(jffs2_fstime_OBJECTS) $(jffs2_fstime_DEPENDENCIES) - @rm -f jffs2_fstime$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn b/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn deleted file mode 100644 index 4b046cf7b3..0000000000 --- a/testsuites/fstests/jffs2_fstime/jffs2_fstime.scn +++ /dev/null @@ -1,15 +0,0 @@ - - -*** 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 deleted file mode 100644 index 2ef643687f..0000000000 --- a/testsuites/fstests/mdosfs_fserror/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fserror -mdosfs_fserror_SOURCES = ../fserror/test.c -mdosfs_fserror_SOURCES += ../support/ramdisk_support.c -mdosfs_fserror_SOURCES += ../support/fstest_support.c -mdosfs_fserror_SOURCES += ../support/fstest_support.h -mdosfs_fserror_SOURCES += ../support/ramdisk_support.h -mdosfs_fserror_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fserror_OBJECTS) -LINK_LIBS = $(mdosfs_fserror_LDLIBS) - -mdosfs_fserror$(EXEEXT): $(mdosfs_fserror_OBJECTS) $(mdosfs_fserror_DEPENDENCIES) - @rm -f mdosfs_fserror$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn b/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn deleted file mode 100644 index 22abe5fe7b..0000000000 --- a/testsuites/fstests/mdosfs_fserror/mdosfs_fserror.scn +++ /dev/null @@ -1,96 +0,0 @@ - - -*** 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 deleted file mode 100644 index ddc8bafe24..0000000000 --- a/testsuites/fstests/mdosfs_fspatheval/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fspatheval -mdosfs_fspatheval_SOURCES = ../fspatheval/test.c -mdosfs_fspatheval_SOURCES += ../support/ramdisk_support.c -mdosfs_fspatheval_SOURCES += ../support/fstest_support.c -mdosfs_fspatheval_SOURCES += ../support/fstest_support.h -mdosfs_fspatheval_SOURCES += ../support/ramdisk_support.h -mdosfs_fspatheval_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fspatheval_OBJECTS) -LINK_LIBS = $(mdosfs_fspatheval_LDLIBS) - -mdosfs_fspatheval$(EXEEXT): $(mdosfs_fspatheval_OBJECTS) $(mdosfs_fspatheval_DEPENDENCIES) - @rm -f mdosfs_fspatheval$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn b/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn deleted file mode 100644 index eda35d49f5..0000000000 --- a/testsuites/fstests/mdosfs_fspatheval/mdosfs_fspatheval.scn +++ /dev/null @@ -1,82 +0,0 @@ - - -*** 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 deleted file mode 100644 index 5ce91cc737..0000000000 --- a/testsuites/fstests/mdosfs_fsrdwr/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fsrdwr -mdosfs_fsrdwr_SOURCES = ../fsrdwr/init.c -mdosfs_fsrdwr_SOURCES += ../support/ramdisk_support.c -mdosfs_fsrdwr_SOURCES += ../support/fstest_support.c -mdosfs_fsrdwr_SOURCES += ../support/fstest_support.h -mdosfs_fsrdwr_SOURCES += ../support/ramdisk_support.h -mdosfs_fsrdwr_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fsrdwr_OBJECTS) -LINK_LIBS = $(mdosfs_fsrdwr_LDLIBS) - -mdosfs_fsrdwr$(EXEEXT): $(mdosfs_fsrdwr_OBJECTS) $(mdosfs_fsrdwr_DEPENDENCIES) - @rm -f mdosfs_fsrdwr$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn b/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn deleted file mode 100644 index 96c9101eaa..0000000000 --- a/testsuites/fstests/mdosfs_fsrdwr/mdosfs_fsrdwr.scn +++ /dev/null @@ -1,24 +0,0 @@ - - -*** 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_fsscandir01/Makefile.am b/testsuites/fstests/mdosfs_fsscandir01/Makefile.am deleted file mode 100644 index ea67f71140..0000000000 --- a/testsuites/fstests/mdosfs_fsscandir01/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fsscandir01 -mdosfs_fsscandir01_SOURCES = ../fsscandir01/init.c -mdosfs_fsscandir01_SOURCES += ../support/ramdisk_support.c -mdosfs_fsscandir01_SOURCES += ../support/fstest_support.c -mdosfs_fsscandir01_SOURCES += ../support/fstest_support.h -mdosfs_fsscandir01_SOURCES += ../support/ramdisk_support.h -mdosfs_fsscandir01_SOURCES += ../support/fstest.h -mdosfs_fsscandir01_SOURCES += ../../psxtests/include/pmacros.h -mdosfs_fsscandir01_SOURCES += ../mdosfs_support/fs_support.c -mdosfs_fsscandir01_SOURCES += ../mdosfs_support/fs_config.h - -dist_rtems_tests_DATA = mdosfs_fsscandir01.scn -#dist_rtems_tests_DATA += mdosfs_fsscandir01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fsscandir01_OBJECTS) -LINK_LIBS = $(mdosfs_fsscandir01_LDLIBS) - -mdosfs_fsscandir01$(EXEEXT): $(mdosfs_fsscandir01_OBJECTS) $(mdosfs_fsscandir01_DEPENDENCIES) - @rm -f mdosfs_fsscandir01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mdosfs_fsscandir01/mdosfs_fsscandir01.scn b/testsuites/fstests/mdosfs_fsscandir01/mdosfs_fsscandir01.scn deleted file mode 100644 index 4cedc78c77..0000000000 --- a/testsuites/fstests/mdosfs_fsscandir01/mdosfs_fsscandir01.scn +++ /dev/null @@ -1,6 +0,0 @@ -*** BEGIN OF TEST FSSCANDIR DOSFS *** -Initializing filesystem DOSFS - - -Shutting down filesystem DOSFS -*** END OF TEST FSSCANDIR DOSFS *** diff --git a/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am b/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am deleted file mode 100644 index 4461ede127..0000000000 --- a/testsuites/fstests/mdosfs_fsstatvfs/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fsstatvfs -mdosfs_fsstatvfs_SOURCES = ../fsstatvfs/test.c -mdosfs_fsstatvfs_SOURCES += ../support/ramdisk_support.c -mdosfs_fsstatvfs_SOURCES += ../support/fstest_support.c -mdosfs_fsstatvfs_SOURCES += ../support/fstest_support.h -mdosfs_fsstatvfs_SOURCES += ../support/ramdisk_support.h -mdosfs_fsstatvfs_SOURCES += ../support/fstest.h -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@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fsstatvfs_OBJECTS) -LINK_LIBS = $(mdosfs_fsstatvfs_LDLIBS) - -mdosfs_ffsstatvfs$(EXEEXT): $(mdosfs_fsstatvfs_OBJECTS) $(mdosfs_fsstatvfs_DEPENDENCIES) - @rm -f mdosfs_fsstatvfs$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn b/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn deleted file mode 100644 index f8bbc6aaf1..0000000000 --- a/testsuites/fstests/mdosfs_fsstatvfs/mdosfs_fsstatvfs.scn +++ /dev/null @@ -1,12 +0,0 @@ - - -*** 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/mdosfs_fstime/Makefile.am b/testsuites/fstests/mdosfs_fstime/Makefile.am deleted file mode 100644 index 14f58c5271..0000000000 --- a/testsuites/fstests/mdosfs_fstime/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mdosfs_fstime -mdosfs_fstime_SOURCES = ../fstime/test.c -mdosfs_fstime_SOURCES += ../support/ramdisk_support.c -mdosfs_fstime_SOURCES += ../support/fstest_support.c -mdosfs_fstime_SOURCES += ../support/fstest_support.h -mdosfs_fstime_SOURCES += ../support/ramdisk_support.h -mdosfs_fstime_SOURCES += ../support/fstest.h -mdosfs_fstime_SOURCES += ../../psxtests/include/pmacros.h -mdosfs_fstime_SOURCES += ../mdosfs_support/fs_support.c -mdosfs_fstime_SOURCES += ../mdosfs_support/fs_config.h - -#dist_rtems_tests_DATA = mdosfs_fstime.scn -#dist_rtems_tests_DATA += mdosfs_fstime.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mdosfs_fstime_OBJECTS) -LINK_LIBS = $(mdosfs_fstime_LDLIBS) - -mdosfs_fstime$(EXEEXT): $(mdosfs_fstime_OBJECTS) $(mdosfs_fstime_DEPENDENCIES) - @rm -f mdosfs_fstime$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fserror/Makefile.am b/testsuites/fstests/mimfs_fserror/Makefile.am deleted file mode 100644 index c418bc0d8f..0000000000 --- a/testsuites/fstests/mimfs_fserror/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fserror -mimfs_fserror_SOURCES = ../fserror/test.c -mimfs_fserror_SOURCES += ../support/fstest_support.c -mimfs_fserror_SOURCES += ../support/fstest_support.h -mimfs_fserror_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fserror_OBJECTS) -LINK_LIBS = $(mimfs_fserror_LDLIBS) - -mimfs_fserror$(EXEEXT): $(mimfs_fserror_OBJECTS) $(mimfs_fserror_DEPENDENCIES) - @rm -f mimfs_fserror$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn b/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn deleted file mode 100644 index f048736b16..0000000000 --- a/testsuites/fstests/mimfs_fserror/mimfs_fserror.scn +++ /dev/null @@ -1,96 +0,0 @@ - - -*** 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/mimfs_fslink/Makefile.am b/testsuites/fstests/mimfs_fslink/Makefile.am deleted file mode 100644 index 7ae7e9e779..0000000000 --- a/testsuites/fstests/mimfs_fslink/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fslink -mimfs_fslink_SOURCES = ../fslink/test.c -mimfs_fslink_SOURCES += ../support/fstest_support.c -mimfs_fslink_SOURCES += ../support/fstest_support.h -mimfs_fslink_SOURCES += ../support/fstest.h -mimfs_fslink_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fslink_SOURCES += ../mimfs_support/fs_support.c -mimfs_fslink_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fslink.scn -#dist_rtems_tests_DATA += mimfs_fslink.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fslink_OBJECTS) -LINK_LIBS = $(mimfs_fslink_LDLIBS) - -mimfs_fslink$(EXEEXT): $(mimfs_fslink_OBJECTS) $(mimfs_fslink_DEPENDENCIES) - @rm -f mimfs_fslink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fslink/mimfs_fslink.scn b/testsuites/fstests/mimfs_fslink/mimfs_fslink.scn deleted file mode 100644 index d0a6f1e395..0000000000 --- a/testsuites/fstests/mimfs_fslink/mimfs_fslink.scn +++ /dev/null @@ -1,10 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED IMFS - - -*** LINK TEST *** -link creates hardlinks -test if the stat is the same -chmod and chown -unlink then stat the file -*** END OF LINK TEST *** diff --git a/testsuites/fstests/mimfs_fspatheval/Makefile.am b/testsuites/fstests/mimfs_fspatheval/Makefile.am deleted file mode 100644 index 2704bac803..0000000000 --- a/testsuites/fstests/mimfs_fspatheval/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fspatheval -mimfs_fspatheval_SOURCES = ../fspatheval/test.c -mimfs_fspatheval_SOURCES += ../support/fstest_support.c -mimfs_fspatheval_SOURCES += ../support/fstest_support.h -mimfs_fspatheval_SOURCES += ../support/fstest.h -mimfs_fspatheval_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fspatheval_SOURCES += ../mimfs_support/fs_support.c -mimfs_fspatheval_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fspatheval.scn -#dist_rtems_tests_DATA += mimfs_fspatheval.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fspatheval_OBJECTS) -LINK_LIBS = $(mimfs_fspatheval_LDLIBS) - -mimfs_fspatheval$(EXEEXT): $(mimfs_fspatheval_OBJECTS) $(mimfs_fspatheval_DEPENDENCIES) - @rm -f mimfs_fspatheval$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fspatheval/mimfs_fspatheval.scn b/testsuites/fstests/mimfs_fspatheval/mimfs_fspatheval.scn deleted file mode 100644 index c81e4950aa..0000000000 --- a/testsuites/fstests/mimfs_fspatheval/mimfs_fspatheval.scn +++ /dev/null @@ -1,76 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED IMFS - - -*** 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 *** diff --git a/testsuites/fstests/mimfs_fspermission/Makefile.am b/testsuites/fstests/mimfs_fspermission/Makefile.am deleted file mode 100644 index 5b33b57a52..0000000000 --- a/testsuites/fstests/mimfs_fspermission/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fspermission -mimfs_fspermission_SOURCES = ../fspermission/test.c -mimfs_fspermission_SOURCES += ../support/fstest_support.c -mimfs_fspermission_SOURCES += ../support/fstest_support.h -mimfs_fspermission_SOURCES += ../support/fstest.h -mimfs_fspermission_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fspermission_SOURCES += ../mimfs_support/fs_support.c -mimfs_fspermission_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fspermission.scn -#dist_rtems_tests_DATA += mimfs_fspermission.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fspermission_OBJECTS) -LINK_LIBS = $(mimfs_fspermission_LDLIBS) - -mimfs_fspermission$(EXEEXT): $(mimfs_fspermission_OBJECTS) $(mimfs_fspermission_DEPENDENCIES) - @rm -f mimfs_fspermission$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn b/testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn deleted file mode 100644 index e425aa7b07..0000000000 --- a/testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn +++ /dev/null @@ -1,47 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED IMFS - - -*** 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 *** diff --git a/testsuites/fstests/mimfs_fsrdwr/Makefile.am b/testsuites/fstests/mimfs_fsrdwr/Makefile.am deleted file mode 100644 index f4c8e9a3c8..0000000000 --- a/testsuites/fstests/mimfs_fsrdwr/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fsrdwr -mimfs_fsrdwr_SOURCES = ../fsrdwr/init.c -mimfs_fsrdwr_SOURCES += ../support/fstest_support.c -mimfs_fsrdwr_SOURCES += ../support/fstest_support.h -mimfs_fsrdwr_SOURCES += ../support/fstest.h -mimfs_fsrdwr_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fsrdwr_SOURCES += ../mimfs_support/fs_support.c -mimfs_fsrdwr_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fsrdwr.scn -#dist_rtems_tests_DATA += mimfs_fsrdwr.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fsrdwr_OBJECTS) -LINK_LIBS = $(mimfs_fsrdwr_LDLIBS) - -mimfs_fsrdwr$(EXEEXT): $(mimfs_fsrdwr_OBJECTS) $(mimfs_fsrdwr_DEPENDENCIES) - @rm -f mimfs_fsrdwr$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fsrdwr/mimfs_fsrdwr.scn b/testsuites/fstests/mimfs_fsrdwr/mimfs_fsrdwr.scn deleted file mode 100644 index 2ba20b7964..0000000000 --- a/testsuites/fstests/mimfs_fsrdwr/mimfs_fsrdwr.scn +++ /dev/null @@ -1,22 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED IMFS -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 IMFS -*** END OF FILE SYSTEM TEST ( MOUNTED IMFS ) *** diff --git a/testsuites/fstests/mimfs_fsrename/Makefile.am b/testsuites/fstests/mimfs_fsrename/Makefile.am deleted file mode 100644 index 85b6072a25..0000000000 --- a/testsuites/fstests/mimfs_fsrename/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fsrename -mimfs_fsrename_SOURCES = ../fsrename/test.c -mimfs_fsrename_SOURCES += ../support/fstest_support.c -mimfs_fsrename_SOURCES += ../support/fstest_support.h -mimfs_fsrename_SOURCES += ../support/fstest.h -mimfs_fsrename_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fsrename_SOURCES += ../mimfs_support/fs_support.c -mimfs_fsrename_SOURCES += ../mimfs_support/fs_config.h - -dist_rtems_tests_DATA = mimfs_fsrename.scn -#dist_rtems_tests_DATA += mimfs_fsrename.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fsrename_OBJECTS) -LINK_LIBS = $(mimfs_fsrename_LDLIBS) - -mimfs_fsrename$(EXEEXT): $(mimfs_fsrename_OBJECTS) $(mimfs_fsrename_DEPENDENCIES) - @rm -f mimfs_fsrename$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fsrename/mimfs_fsrename.scn b/testsuites/fstests/mimfs_fsrename/mimfs_fsrename.scn deleted file mode 100644 index 3979c2f903..0000000000 --- a/testsuites/fstests/mimfs_fsrename/mimfs_fsrename.scn +++ /dev/null @@ -1,287 +0,0 @@ -*** BEGIN OF TEST FSRENAME MOUNTED IMFS *** -Initializing filesystem MOUNTED IMFS - -Old is a simbolic link and rename operates on the simbolic link itself - -Testing rename with arguments: symlink01, name02 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 78 -Testing lstat with arguments: name02, &statbuf EXPECT "0" -PASS -Testing if name02 is now a symlink -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 86 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: name02 EXPECT "0" -PASS -Testing unlink with arguments: symlink01 EXPECT "-1" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 94 - -New is a simbolic link and rename operates on the simbolic link itself - -Testing rename with arguments: name02, symlink01 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 116 -Testing lstat with arguments: symlink01, &statbuf EXPECT "0" -PASS -Testing that symlink01 is not a symlink -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 124 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: name02 EXPECT "-1" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 131 -Testing unlink with arguments: symlink01 EXPECT "0" -PASS - -Testing with symbolic link loop's - -Testing rename with arguments: "path01, name01" EXPECT "ELOOP" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 149 -Testing rename with arguments: "path01, name01" EXPECT "ELOOP" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 152 -Testing unlink with arguments: name01 EXPECT "-1" -PASS -Testing unlink with arguments: symlink01 EXPECT "0" -PASS -Testing unlink with arguments: symlink02 EXPECT "0" -PASS -Testing rename with arguments: "name01, path01" EXPECT "ELOOP" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 180 -Testing rename with arguments: "name01, path01" EXPECT "ELOOP" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 183 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: symlink01 EXPECT "0" -PASS -Testing unlink with arguments: symlink02 EXPECT "0" -PASS - -Rename file with itself - -Testing rename with arguments: name01, name01 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 244 -Testing unlink with arguments: name01 EXPECT "0" -PASS - -Rename file with itself through a hard link in another directory - -Testing rename with arguments: name01, path01 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 271 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: path01 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename directory with file - -Testing rename with arguments: "dir01, name01" EXPECT "ENOTDIR" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 343 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename file with directory - -Testing rename with arguments: "name01, dir01" EXPECT "EISDIR" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 367 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename directory with ancestor directory - -Testing rename with arguments: "dir02, path01" EXPECT "EINVAL" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 390 -Testing rmdir with arguments: path01 EXPECT "0" -PASS -Testing rmdir with arguments: dir02 EXPECT "0" -PASS - -Rename directory with non empty directory - -Testing rename with arguments: dir01, dir02 EXPECT "-1" -PASS -Testing errno for EEXIST or ENOTEMPTY -PASS -Testing unlink with arguments: path01 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS -Testing rmdir with arguments: dir02 EXPECT "0" -PASS - -Rename empty directory with another empty directory - -Testing rename with arguments: dir01, dir02 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 448 -Testing rmdir with arguments: dir01 EXPECT "-1" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 454 -Testing rmdir with arguments: dir02 EXPECT "0" -PASS -Testing rename with arguments: "dir02, path01" EXPECT "EMLINK" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 483 -Testing rmdir with arguments: path01 EXPECT "-1" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 497 -Testing rmdir with arguments: dir02 EXPECT "0" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 498 -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename files within directories protected with S_ISVTX - -Testing rename with arguments: path01, name02 EXPECT "-1" -PASS -Testing errno for EPERM or EACCES -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 535 -Testing unlink with arguments: path01 EXPECT "0" -PASS -Testing unlink with arguments: name02 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS -Testing rename with arguments: name02, path01 EXPECT "-1" -PASS -Testing errno for EPERM or EACCES -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 577 -Testing unlink with arguments: path01 EXPECT "0" -PASS -Testing unlink with arguments: name02 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename file with non existant file - -Testing rename with arguments: name01, name02 EXPECT "0" -PASS -Testing unlink with arguments: name01 EXPECT "-1" -PASS -Testing unlink with arguments: name02 EXPECT "0" -PASS -Testing rename with arguments: "name02, name01" EXPECT "ENOENT" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 660 -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: name02 EXPECT "-1" -PASS - -Rename file with non existant filepath - -Testing rename with arguments: "path01, name01" EXPECT "ENOENT" -PASS -Testing unlink with arguments: name01 EXPECT "-1" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Rename directory with non existant directory - -Testing rename with arguments: dir01, dir02 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "-1" -PASS -Testing rmdir with arguments: dir02 EXPECT "0" -PASS - -Rename file with a name size exceeding NAME_MAX - -Testing rename with arguments: "name01, filename" EXPECT "ENAMETOOLONG" -PASS -Testing unlink with arguments: name01 EXPECT "0" -PASS -Testing unlink with arguments: filename EXPECT "-1" -PASS - -Rename directory with current directory - -Testing rename with arguments: "." , dir01 EXPECT "-1" -PASS -Testing errno for EINVAL or EBUSY -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 787 -Testing rename with arguments: dir01, "." EXPECT "-1" -PASS -Testing errno for EINVAL or EBUSY -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 801 - -Rename directory with previous directory - -Testing rename with arguments: ".." , dir01 EXPECT "-1" -PASS -Testing errno for EINVAL or EBUSY -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 817 -Testing rename with arguments: dir01, ".." EXPECT "-1" -PASS -Testing errno for EINVAL or EBUSY -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 831 -Testing rmdir with arguments: dir01 EXPECT "0" -PASS - -Testing empty filepaths - -Testing rename with arguments: "name01, \"\"" EXPECT "ENOENT" -PASS -Testing with arguments: name01 EXPECT "0" -PASS -Testing rename with arguments: "\"\", name01" EXPECT "ENOENT" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 869 -Testing with arguments: name01 EXPECT "0" -PASS - -Rename two files on a directory with no write permission - -Testing rename with arguments: "name01 , name02" EXPECT "EACCES" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 947 - -Rename file between two directories, with and without write access - -Testing rename with arguments: "name01, path01" EXPECT "EACCES" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 971 -Testing rename with arguments: "path01, name01" EXPECT "EACCES" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 978 -Testing with arguments: name01 EXPECT "0" -PASS -Testing with arguments: path01 EXPECT "0" -PASS -Testing with arguments: path01 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS -Testing rmdir with arguments: dir02 EXPECT "0" -PASS - -Rename two files on a directory with no execute permission - -Testing rename with arguments: "path01 , path02" EXPECT "EACCES" -PASS - -Rename file between two directories, with and without execute access - -Testing rename with arguments: "path01, path02" EXPECT "EACCES" -PASS -Testing rename with arguments: "path02, path01" EXPECT "EACCES" -FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 1103 -Testing with arguments: path01 EXPECT "0" -PASS -Testing with arguments: path01 EXPECT "0" -PASS -Testing with arguments: path02 EXPECT "0" -PASS -Testing rmdir with arguments: dir01 EXPECT "0" -PASS -Testing rmdir with arguments: dir02 EXPECT "0" -PASS - -Rename files across diferent filesystems - -Testing rename with arguments: "name01, path01" EXPECT "EXDEV" -PASS -Testing with arguments: path01 EXPECT "-1" -PASS -Testing with arguments: name01 EXPECT "0" -PASS - - -Shutting down filesystem MOUNTED IMFS -*** END OF TEST FSRENAME MOUNTED IMFS *** diff --git a/testsuites/fstests/mimfs_fsscandir01/Makefile.am b/testsuites/fstests/mimfs_fsscandir01/Makefile.am deleted file mode 100644 index 1f8a554373..0000000000 --- a/testsuites/fstests/mimfs_fsscandir01/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fsscandir01 -mimfs_fsscandir01_SOURCES = ../fsscandir01/init.c -mimfs_fsscandir01_SOURCES += ../support/fstest_support.c -mimfs_fsscandir01_SOURCES += ../support/fstest_support.h -mimfs_fsscandir01_SOURCES += ../support/fstest.h -mimfs_fsscandir01_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fsscandir01_SOURCES += ../mimfs_support/fs_support.c -mimfs_fsscandir01_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fsscandir01.scn -#dist_rtems_tests_DATA += mimfs_fsscandir01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fsscandir01_OBJECTS) -LINK_LIBS = $(mimfs_fsscandir01_LDLIBS) - -mimfs_fsscandir01$(EXEEXT): $(mimfs_fsscandir01_OBJECTS) $(mimfs_fsscandir01_DEPENDENCIES) - @rm -f mimfs_fsscandir01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fsscandir01/mimfs_fsscandir01.scn b/testsuites/fstests/mimfs_fsscandir01/mimfs_fsscandir01.scn deleted file mode 100644 index 39577ff059..0000000000 --- a/testsuites/fstests/mimfs_fsscandir01/mimfs_fsscandir01.scn +++ /dev/null @@ -1,7 +0,0 @@ -*** BEGIN OF TEST FSSCANDIR MOUNTED IMFS *** -Initializing filesystem MOUNTED IMFS -scandir: Success - - -Shutting down filesystem MOUNTED IMFS -*** END OF TEST FSSCANDIR MOUNTED IMFS *** diff --git a/testsuites/fstests/mimfs_fssymlink/Makefile.am b/testsuites/fstests/mimfs_fssymlink/Makefile.am deleted file mode 100644 index 8c9ceeb83e..0000000000 --- a/testsuites/fstests/mimfs_fssymlink/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fssymlink -mimfs_fssymlink_SOURCES = ../fssymlink/test.c -mimfs_fssymlink_SOURCES += ../support/fstest_support.c -mimfs_fssymlink_SOURCES += ../support/fstest_support.h -mimfs_fssymlink_SOURCES += ../support/fstest.h -mimfs_fssymlink_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fssymlink_SOURCES += ../mimfs_support/fs_support.c -mimfs_fssymlink_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fssymlink.scn -#dist_rtems_tests_DATA += mimfs_fssymlink.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fssymlink_OBJECTS) -LINK_LIBS = $(mimfs_fssymlink_LDLIBS) - -mimfs_fssymlink$(EXEEXT): $(mimfs_fssymlink_OBJECTS) $(mimfs_fssymlink_DEPENDENCIES) - @rm -f mimfs_fssymlink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fssymlink/mimfs_fssymlink.scn b/testsuites/fstests/mimfs_fssymlink/mimfs_fssymlink.scn deleted file mode 100644 index c18037dacf..0000000000 --- a/testsuites/fstests/mimfs_fssymlink/mimfs_fssymlink.scn +++ /dev/null @@ -1,31 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED 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/mimfs_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 *** diff --git a/testsuites/fstests/mimfs_fstime/Makefile.am b/testsuites/fstests/mimfs_fstime/Makefile.am deleted file mode 100644 index 1a88784ab6..0000000000 --- a/testsuites/fstests/mimfs_fstime/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -rtems_tests_PROGRAMS = mimfs_fstime -mimfs_fstime_SOURCES = ../fstime/test.c -mimfs_fstime_SOURCES += ../support/fstest_support.c -mimfs_fstime_SOURCES += ../support/fstest_support.h -mimfs_fstime_SOURCES += ../support/fstest.h -mimfs_fstime_SOURCES += ../../psxtests/include/pmacros.h -mimfs_fstime_SOURCES += ../mimfs_support/fs_support.c -mimfs_fstime_SOURCES += ../mimfs_support/fs_config.h - -#dist_rtems_tests_DATA = mimfs_fstime.scn -#dist_rtems_tests_DATA += mimfs_fstime.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mimfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mimfs_fstime_OBJECTS) -LINK_LIBS = $(mimfs_fstime_LDLIBS) - -mimfs_fstime$(EXEEXT): $(mimfs_fstime_OBJECTS) $(mimfs_fstime_DEPENDENCIES) - @rm -f mimfs_fstime$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mimfs_fstime/mimfs_fstime.scn b/testsuites/fstests/mimfs_fstime/mimfs_fstime.scn deleted file mode 100644 index 74a503935b..0000000000 --- a/testsuites/fstests/mimfs_fstime/mimfs_fstime.scn +++ /dev/null @@ -1,7 +0,0 @@ -*** FILE SYSTEM TEST ( MOUNTED IMFS ) *** -Initializing filesystem MOUNTED IMFS - - -*** TIME TEST *** -Sleep a few seconds -*** END OF TIME TEST *** diff --git a/testsuites/fstests/mrfs_fserror/Makefile.am b/testsuites/fstests/mrfs_fserror/Makefile.am deleted file mode 100644 index c0a9a60174..0000000000 --- a/testsuites/fstests/mrfs_fserror/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fserror -mrfs_fserror_SOURCES = ../fserror/test.c -mrfs_fserror_SOURCES += ../support/ramdisk_support.c -mrfs_fserror_SOURCES += ../support/fstest_support.c -mrfs_fserror_SOURCES += ../support/fstest_support.h -mrfs_fserror_SOURCES += ../support/ramdisk_support.h -mrfs_fserror_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fserror_OBJECTS) -LINK_LIBS = $(mrfs_fserror_LDLIBS) - -mrfs_fserror$(EXEEXT): $(mrfs_fserror_OBJECTS) $(mrfs_fserror_DEPENDENCIES) - @rm -f mrfs_fserror$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn b/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn deleted file mode 100644 index f38737c761..0000000000 --- a/testsuites/fstests/mrfs_fserror/mrfs_fserror.scn +++ /dev/null @@ -1,96 +0,0 @@ - - -*** 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 deleted file mode 100644 index cf1054d249..0000000000 --- a/testsuites/fstests/mrfs_fsfpathconf/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fsfpathconf -mrfs_fsfpathconf_SOURCES = ../fsfpathconf/test.c -mrfs_fsfpathconf_SOURCES += ../support/ramdisk_support.c -mrfs_fsfpathconf_SOURCES += ../support/fstest_support.c -mrfs_fsfpathconf_SOURCES += ../support/fstest_support.h -mrfs_fsfpathconf_SOURCES += ../support/ramdisk_support.h -mrfs_fsfpathconf_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fsfpathconf_OBJECTS) -LINK_LIBS = $(mrfs_fsfpathconf_LDLIBS) - -mrfs_fsfpathconf$(EXEEXT): $(mrfs_fsfpathconf_OBJECTS) $(mrfs_fsfpathconf_DEPENDENCIES) - @rm -f mrfs_fsfpathconf$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn b/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn deleted file mode 100644 index 655b65ac45..0000000000 --- a/testsuites/fstests/mrfs_fsfpathconf/mrfs_fsfpathconf.scn +++ /dev/null @@ -1,30 +0,0 @@ - - -*** 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 deleted file mode 100644 index 8d9ae340c9..0000000000 --- a/testsuites/fstests/mrfs_fslink/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fslink -mrfs_fslink_SOURCES = ../fslink/test.c -mrfs_fslink_SOURCES += ../support/ramdisk_support.c -mrfs_fslink_SOURCES += ../support/fstest_support.c -mrfs_fslink_SOURCES += ../support/fstest_support.h -mrfs_fslink_SOURCES += ../support/ramdisk_support.h -mrfs_fslink_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fslink_OBJECTS) -LINK_LIBS = $(mrfs_fslink_LDLIBS) - -mrfs_fslink$(EXEEXT): $(mrfs_fslink_OBJECTS) $(mrfs_fslink_DEPENDENCIES) - @rm -f mrfs_fslink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn b/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn deleted file mode 100644 index e74983d59f..0000000000 --- a/testsuites/fstests/mrfs_fslink/mrfs_fslink.scn +++ /dev/null @@ -1,16 +0,0 @@ - - -*** 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 deleted file mode 100644 index 877fbc770f..0000000000 --- a/testsuites/fstests/mrfs_fspatheval/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fspatheval -mrfs_fspatheval_SOURCES = ../fspatheval/test.c -mrfs_fspatheval_SOURCES += ../support/ramdisk_support.c -mrfs_fspatheval_SOURCES += ../support/fstest_support.c -mrfs_fspatheval_SOURCES += ../support/fstest_support.h -mrfs_fspatheval_SOURCES += ../support/ramdisk_support.h -mrfs_fspatheval_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fspatheval_OBJECTS) -LINK_LIBS = $(mrfs_fspatheval_LDLIBS) - -mrfs_fspatheval$(EXEEXT): $(mrfs_fspatheval_OBJECTS) $(mrfs_fspatheval_DEPENDENCIES) - @rm -f mrfs_fspatheval$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn b/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn deleted file mode 100644 index faa25a1c71..0000000000 --- a/testsuites/fstests/mrfs_fspatheval/mrfs_fspatheval.scn +++ /dev/null @@ -1,82 +0,0 @@ - - -*** 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 deleted file mode 100644 index aaee6865e0..0000000000 --- a/testsuites/fstests/mrfs_fspermission/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fspermission -mrfs_fspermission_SOURCES = ../fspermission/test.c -mrfs_fspermission_SOURCES += ../support/ramdisk_support.c -mrfs_fspermission_SOURCES += ../support/fstest_support.c -mrfs_fspermission_SOURCES += ../support/fstest_support.h -mrfs_fspermission_SOURCES += ../support/ramdisk_support.h -mrfs_fspermission_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fspermission_OBJECTS) -LINK_LIBS = $(mrfs_fspermission_LDLIBS) - -mrfs_fspermission$(EXEEXT): $(mrfs_fspermission_OBJECTS) $(mrfs_fspermission_DEPENDENCIES) - @rm -f mrfs_fspermission$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn b/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn deleted file mode 100644 index 903ae4b415..0000000000 --- a/testsuites/fstests/mrfs_fspermission/mrfs_fspermission.scn +++ /dev/null @@ -1,53 +0,0 @@ - - -*** 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 deleted file mode 100644 index 19137702cb..0000000000 --- a/testsuites/fstests/mrfs_fsrdwr/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fsrdwr -mrfs_fsrdwr_SOURCES = ../fsrdwr/init.c -mrfs_fsrdwr_SOURCES += ../support/ramdisk_support.c -mrfs_fsrdwr_SOURCES += ../support/fstest_support.c -mrfs_fsrdwr_SOURCES += ../support/fstest_support.h -mrfs_fsrdwr_SOURCES += ../support/ramdisk_support.h -mrfs_fsrdwr_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fsrdwr_OBJECTS) -LINK_LIBS = $(mrfs_fsrdwr_LDLIBS) - -mrfs_fsrdwr$(EXEEXT): $(mrfs_fsrdwr_OBJECTS) $(mrfs_fsrdwr_DEPENDENCIES) - @rm -f mrfs_fsrdwr$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn b/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn deleted file mode 100644 index 3fbbb28d42..0000000000 --- a/testsuites/fstests/mrfs_fsrdwr/mrfs_fsrdwr.scn +++ /dev/null @@ -1,24 +0,0 @@ - - -*** 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_fsscandir01/Makefile.am b/testsuites/fstests/mrfs_fsscandir01/Makefile.am deleted file mode 100644 index 6ef3a6b70e..0000000000 --- a/testsuites/fstests/mrfs_fsscandir01/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fsscandir01 -mrfs_fsscandir01_SOURCES = ../fsscandir01/init.c -mrfs_fsscandir01_SOURCES += ../support/ramdisk_support.c -mrfs_fsscandir01_SOURCES += ../support/fstest_support.c -mrfs_fsscandir01_SOURCES += ../support/fstest_support.h -mrfs_fsscandir01_SOURCES += ../support/ramdisk_support.h -mrfs_fsscandir01_SOURCES += ../support/fstest.h -mrfs_fsscandir01_SOURCES += ../../psxtests/include/pmacros.h -mrfs_fsscandir01_SOURCES += ../mrfs_support/fs_support.c -mrfs_fsscandir01_SOURCES += ../mrfs_support/fs_config.h - -dist_rtems_tests_DATA = mrfs_fsscandir01.scn -#dist_rtems_tests_DATA += mrfs_fsscandir01.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fsscandir01_OBJECTS) -LINK_LIBS = $(mrfs_fsscandir01_LDLIBS) - -mrfs_fsscandir01$(EXEEXT): $(mrfs_fsscandir01_OBJECTS) $(mrfs_fsscandir01_DEPENDENCIES) - @rm -f mrfs_fsscandir01$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fsscandir01/mrfs_fsscandir01.scn b/testsuites/fstests/mrfs_fsscandir01/mrfs_fsscandir01.scn deleted file mode 100644 index 3f55d65044..0000000000 --- a/testsuites/fstests/mrfs_fsscandir01/mrfs_fsscandir01.scn +++ /dev/null @@ -1,7 +0,0 @@ -*** BEGIN OF TEST FSSCANDIR RFS *** -Initializing filesystem RFS -. - - -Shutting down filesystem RFS -*** END OF TEST FSSCANDIR RFS *** diff --git a/testsuites/fstests/mrfs_fssymlink/Makefile.am b/testsuites/fstests/mrfs_fssymlink/Makefile.am deleted file mode 100644 index c3ede70991..0000000000 --- a/testsuites/fstests/mrfs_fssymlink/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fssymlink -mrfs_fssymlink_SOURCES = ../fssymlink/test.c -mrfs_fssymlink_SOURCES += ../support/ramdisk_support.c -mrfs_fssymlink_SOURCES += ../support/fstest_support.c -mrfs_fssymlink_SOURCES += ../support/fstest_support.h -mrfs_fssymlink_SOURCES += ../support/ramdisk_support.h -mrfs_fssymlink_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fssymlink_OBJECTS) -LINK_LIBS = $(mrfs_fssymlink_LDLIBS) - -mrfs_fssymlink$(EXEEXT): $(mrfs_fssymlink_OBJECTS) $(mrfs_fssymlink_DEPENDENCIES) - @rm -f mrfs_fssymlink$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn b/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn deleted file mode 100644 index bdcbeefb59..0000000000 --- a/testsuites/fstests/mrfs_fssymlink/mrfs_fssymlink.scn +++ /dev/null @@ -1,37 +0,0 @@ - - -*** 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 deleted file mode 100644 index f069418ddb..0000000000 --- a/testsuites/fstests/mrfs_fstime/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -rtems_tests_PROGRAMS = mrfs_fstime -mrfs_fstime_SOURCES = ../fstime/test.c -mrfs_fstime_SOURCES += ../support/ramdisk_support.c -mrfs_fstime_SOURCES += ../support/fstest_support.c -mrfs_fstime_SOURCES += ../support/fstest_support.h -mrfs_fstime_SOURCES += ../support/ramdisk_support.h -mrfs_fstime_SOURCES += ../support/fstest.h -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.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - - -AM_CPPFLAGS += -I$(top_srcdir)/support -AM_CPPFLAGS += -I$(top_srcdir)/mrfs_support -AM_CPPFLAGS += -I$(top_srcdir)/../support/include -AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include - -LINK_OBJS = $(mrfs_fstime_OBJECTS) -LINK_LIBS = $(mrfs_fstime_LDLIBS) - -mrfs_fstime$(EXEEXT): $(mrfs_fstime_OBJECTS) $(mrfs_fstime_DEPENDENCIES) - @rm -f mrfs_fstime$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn b/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn deleted file mode 100644 index b08aecb7c1..0000000000 --- a/testsuites/fstests/mrfs_fstime/mrfs_fstime.scn +++ /dev/null @@ -1,9 +0,0 @@ - - -*** 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 -- cgit v1.2.3