summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/mimfs_fspermission
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2013-01-15 13:46:56 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2013-01-15 13:46:56 -0600
commit99d11970b6d1a4c7a41d160ac835b63cfac1a049 (patch)
tree806c7c3c30a6f8209c4ae3260bf462a1fab85931 /testsuites/fstests/mimfs_fspermission
parentpsxtmtests: Generating .scn (Screen Shots) #8 (diff)
downloadrtems-99d11970b6d1a4c7a41d160ac835b63cfac1a049.tar.bz2
fstests: Generating .scn (Screen Shots) #4
Diffstat (limited to 'testsuites/fstests/mimfs_fspermission')
-rw-r--r--testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn47
1 files changed, 47 insertions, 0 deletions
diff --git a/testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn b/testsuites/fstests/mimfs_fspermission/mimfs_fspermission-interupted.scn
new file mode 100644
index 0000000000..e425aa7b07
--- /dev/null
+++ b/testsuites/fstests/mimfs_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 ***