Searched refs:create_test_file (Results 1 – 3 of 3) sorted by relevance
23 def create_test_file(self, filename, contents): member in fsionfo_test145 self.create_test_file('/etc/mke2fs.conf', content)
76 def create_test_file(self, contents): member in test_read_one_line82 self.create_test_file("abc\n")88 self.create_test_file("abc \n")94 self.create_test_file("line 1\nline 2\nline 3\n")100 self.create_test_file("")106 self.create_test_file("line but no newline")113 self.create_test_file(" has leading whitespace")187 def create_test_file(self, filename, contents): member in test_read_keyval195 self.create_test_file("file", contents)210 self.create_test_file("file", "")[all …]
908 fn create_test_file(size: u64) -> std::fs::File { in create_test_file() function922 let f = create_test_file((BUF_SIZE * QUEUE_SIZE) as u64); in read_parallel()953 let f = create_test_file(0x1000 * 2); in read_readv()985 let f = create_test_file(total_len as u64 * 2); in readv_vec()1001 let mut f = create_test_file(0); in write_one_block()1020 let mut f = create_test_file(0); in write_one_submit_poll()1065 let mut f = create_test_file(total_len as u64 * 2); in writev_vec()