source: rtems/testsuites/fstests/jffs2_fspermission/jffs2_fspermission.scn @ ee4e7f0

4.115
Last change on this file since ee4e7f0 was a136fb6, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 15, 2013 at 5:53:36 PM

testsuites: Add missing .scn files

  • Property mode set to 100644
File size: 1.6 KB
Line 
1
2
3*** FILE SYSTEM TEST ( JFFS2 ) ***
4Initializing filesystem JFFS2
5
6
7*** PERMISSION TEST ***
8The previous cmask is 022
9The file mode of file01 is 755
10The file mode of file02 is 755
11The file mode of dir01 is 755
12The previous cmask is 321
13The file mode of file01 is 456
14The file mode of file02 is 456
15The file mode of dir01 is 456
16The file mode of file01 is 777
17The file mode of file02 is 240
18The file mode of dir01 is 340
19Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
20PASS
21Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
22PASS
23Change euid and check
24Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
25PASS
26Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
27PASS
28Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
29PASS
30Testing rename     with arguments: "path,\"test\""      EXPECT "EACCES"
31PASS
32Testing truncate   with arguments: "path,0"             EXPECT "EACCES"
33PASS
34Testing link       with arguments: "path,\"test\""      EXPECT "EACCES"
35PASS
36Testing unlink     with arguments: "path"               EXPECT "EACCES"
37PASS
38Change egid and check
39Testing open       with arguments: "file02,O_WRONLY"    EXPECT "EACCES"
40PASS
41Testing open       with arguments: "file02,O_RDONLY"    EXPECT "EACCES"
42PASS
43Testing open       with arguments: "file02,O_RDWR"      EXPECT "EACCES"
44PASS
45Testing creat      with arguments: "path,mode"          EXPECT "EACCES"
46PASS
47The directory file mode is 777
48The directory file mode is 321
49*** END OF PERMISSION TEST ***
50
51
52Shutting down filesystem JFFS2
53*** END OF FILE SYSTEM TEST ( JFFS2 ) ***
Note: See TracBrowser for help on using the repository browser.