|
161 | 161 | expect(mod.smb_cmd_find_file_both_directory_info(client, file_path)).to eq(existent_file_file_both_dir_res_length) |
162 | 162 | end |
163 | 163 |
|
164 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 164 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
165 | 165 | mod.smb_cmd_find_file_both_directory_info(client, file_path) |
166 | 166 | client.seek(0) |
167 | 167 | res = client.read |
|
184 | 184 | expect(mod.smb_cmd_find_file_both_directory_info(client, folder_path)).to eq(existent_folder_file_both_dir_res_length) |
185 | 185 | end |
186 | 186 |
|
187 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 187 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
188 | 188 | mod.smb_cmd_find_file_both_directory_info(client, folder_path) |
189 | 189 | client.seek(0) |
190 | 190 | res = client.read |
|
226 | 226 | expect(mod.smb_cmd_find_file_names_info(client, file_path)).to eq(existent_file_file_names_res_length) |
227 | 227 | end |
228 | 228 |
|
229 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 229 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
230 | 230 | mod.smb_cmd_find_file_names_info(client, file_path) |
231 | 231 | client.seek(0) |
232 | 232 | res = client.read |
|
249 | 249 | expect(mod.smb_cmd_find_file_names_info(client, folder_path)).to eq(existent_folder_file_names_res_length) |
250 | 250 | end |
251 | 251 |
|
252 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 252 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
253 | 253 | mod.smb_cmd_find_file_names_info(client, folder_path) |
254 | 254 | client.seek(0) |
255 | 255 | res = client.read |
|
291 | 291 | expect(mod.smb_cmd_find_file_full_directory_info(client, file_path)).to eq(existent_file_file_full_res_length) |
292 | 292 | end |
293 | 293 |
|
294 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 294 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
295 | 295 | mod.smb_cmd_find_file_full_directory_info(client, file_path) |
296 | 296 | client.seek(0) |
297 | 297 | res = client.read |
|
314 | 314 | expect(mod.smb_cmd_find_file_full_directory_info(client, folder_path)).to eq(existent_folder_file_full_res_length) |
315 | 315 | end |
316 | 316 |
|
317 | | - it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do |
| 317 | + it "sends a TRANSACTION2 response with the found FileName in SMB Data" do |
318 | 318 | mod.smb_cmd_find_file_full_directory_info(client, folder_path) |
319 | 319 | client.seek(0) |
320 | 320 | res = client.read |
|
0 commit comments