Re: CVS commit: src/tests/lib/libc/c063

2024-07-10 Thread Christos Zoulas
In article , Roland Illig wrote: >Am 10.07.2024 um 03:12 schrieb Christos Zoulas: > >src/tests/lib/libc/c063/t_fchmodat.c >> -ATF_REQUIRE(st.st_mode = 0600); >> +ATF_REQUIRE(st.st_mode == 0600); > >Should we do something to detect bugs like these mechanically? > >ATF_REQUIRE(cond) current

Re: CVS commit: src/tests/lib/libc/c063

2024-07-09 Thread Roland Illig
Am 10.07.2024 um 03:12 schrieb Christos Zoulas: src/tests/lib/libc/c063/t_fchmodat.c > - ATF_REQUIRE(st.st_mode = 0600); > + ATF_REQUIRE(st.st_mode == 0600); Should we do something to detect bugs like these mechanically? ATF_REQUIRE(cond) currently expands to "if (!(cond))", and I guess