fix(tests): 修复 Windows 测试 aot/basic/file_operations.phpt

pull/1/head
Yurun 3 months ago
parent ebf4c9d1cb
commit c4e1792267
  1. 8
      tests/aot/basic/file_operations.phpt

@ -97,8 +97,8 @@ rmdir($tempDir);
echo "Cleanup completed\n"; echo "Cleanup completed\n";
?> ?>
--EXPECTF-- --EXPECTF--
Directory created: /tmp/aot_test_%s Directory created: %s
File created: /tmp/aot_test_%s/test.txt File created: %s/test.txt
File content: File content:
Hello, World! Hello, World!
This is a test file. This is a test file.
@ -114,8 +114,8 @@ Directory contents:
- second_test.txt - second_test.txt
- test.txt - test.txt
First line from handle: Hello, World! First line from handle: Hello, World!
File copied to: /tmp/aot_test_%s/copied_test.txt File copied to: %s/copied_test.txt
File moved to: /tmp/aot_test_%s/moved_test.txt File moved to: %s/moved_test.txt
Is test file a file: yes Is test file a file: yes
Is temp dir a directory: yes Is temp dir a directory: yes
File modification time: %d-%d-%d %d:%d:%d File modification time: %d-%d-%d %d:%d:%d

Loading…
Cancel
Save