File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ void test() {
6666 memset (& s , 0 , sizeof s );
6767 stat ("file" , & s );
6868 assert (s .st_mode == (0200 | S_IFREG ));
69- assert (s .st_ctime ! = lastctime );
69+ assert (s .st_ctime = = lastctime );
7070
7171 //
7272 // fchmod a file
@@ -80,7 +80,7 @@ void test() {
8080 memset (& s , 0 , sizeof s );
8181 stat ("file" , & s );
8282 assert (s .st_mode == (0100 | S_IFREG ));
83- assert (s .st_ctime ! = lastctime );
83+ assert (s .st_ctime = = lastctime );
8484
8585
8686 //
@@ -94,7 +94,7 @@ void test() {
9494 memset (& s , 0 , sizeof s );
9595 stat ("otherfile" , & s );
9696 assert (s .st_mode == (0100 | S_IFREG ));
97- assert (s .st_ctime ! = lastctime );
97+ assert (s .st_ctime = = lastctime );
9898
9999 //
100100 // chmod a folder
@@ -111,7 +111,7 @@ void test() {
111111 memset (& s , 0 , sizeof s );
112112 stat ("folder" , & s );
113113 assert (s .st_mode == (0300 | S_IFDIR ));
114- assert (s .st_ctime ! = lastctime );
114+ assert (s .st_ctime = = lastctime );
115115
116116#ifndef WASMFS // TODO https://github.com/emscripten-core/emscripten/issues/15948
117117 //
You can’t perform that action at this time.
0 commit comments