summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-15 11:53:36 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-15 11:55:44 -0600
commita136fb697d68ea7acfbce62981ace6994685a765 (patch)
treebca9eb7a4df7cbff70412c11058a6c5f84c256a3 /testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
parentRename imfs_fspathenval.scn to imfs_fspatheval.scn (diff)
downloadrtems-a136fb697d68ea7acfbce62981ace6994685a765.tar.bz2
testsuites: Add missing .scn files
Diffstat (limited to 'testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn')
-rw-r--r--testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn37
1 files changed, 37 insertions, 0 deletions
diff --git a/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn b/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
new file mode 100644
index 0000000000..53fc11f705
--- /dev/null
+++ b/testsuites/fstests/imfs_fssymlink/imfs_fssymlink.scn
@@ -0,0 +1,37 @@
+
+
+*** FILE SYSTEM TEST ( IMFS ) ***
+Initializing filesystem IMFS
+
+
+*** SYMLINK TEST ***
+Create a file named file
+Create a symlink named symlink to file
+call readlink
+file
+Unlink the file
+call readlink
+Create a dir named file
+Create a symlink named symlink to file
+call readlink
+rmdir the dir
+symlink loop erro test
+Testing creat with arguments: "path,mode" EXPECT "ELOOP"
+PASS
+Testing open with arguments: "path,O_CREAT|O_WRONLY,mode" EXPECT "ELOOP"
+PASS
+Testing truncate with arguments: "path,0" EXPECT "ELOOP"
+PASS
+Testing rename with arguments: "path,file04" EXPECT "ELOOP"
+FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fssymlink/../fssymlink/test.c: 151
+Testing unlink with arguments: "path" EXPECT "ELOOP"
+PASS
+Testing mkdir with arguments: "path,mode" EXPECT "ELOOP"
+PASS
+Testing rmdir with arguments: "path" EXPECT "ELOOP"
+PASS
+*** END OF SYMLINK TEST ***
+
+
+Shutting down filesystem IMFS
+*** END OF FILE SYSTEM TEST ( IMFS ) ***