Lines Matching full:platform
25 "platform file open /some/file.txt -v 0755", [r"File Descriptor = 16"]
28 "platform file read 16 -o 11 -c 13",
31 self.match("platform file write 16 -o 11 -d teststring", [r"Return = 10"])
32 self.match("platform file close 16", [r"file 16 closed."])
54 "platform file open /some/file.txt -v 0755",
59 "platform file read 16 -o 11 -c 13",
64 "platform file write 16 -o 11 -d teststring",
68 self.match("platform file close 16", [enosys_regex], error=True)
79 """Test 'platform get-size'"""
88 "platform get-size /some/file.txt",
98 """Test 'platform get-size fallback to vFile:fstat'"""
113 "platform get-size /some/file.txt",
125 self.runCmd("platform disconnect")
132 self.runCmd("platform connect " + server2.get_connect_url())
134 "platform get-size /other/file.txt",
152 """Test 'platform get-permissions'"""
161 "platform get-permissions /some/file.txt",
174 """Test 'platform get-permissions' fallback to fstat"""
190 "platform get-permissions /some/file.txt",
205 """Test 'platform file-exists'"""
214 "platform file-exists /some/file.txt",
224 """Test 'platform file-exists' with non-existing file"""
233 "platform file-exists /some/file.txt",
243 """Test 'platform file-exists' fallback to open"""
256 "platform file-exists /some/file.txt",
268 """Test 'platform file-exists' fallback to open with non-existing file"""
279 "platform file-exists /some/file.txt",