On 02/14/2014 08:54 PM, Prasad Kumbhar wrote:
Respected Sir,
I was performing the coreutils chapter and gave the command make
RUN_EXPENSIVE_TESTS=yes check and in result i got this
FAIL: test-getlogin (exit: 134)
===============================
Can you please find out what the values of 'buf' and 'name' are?
If you change the line 69 like that:
if (name != NULL && name[0] != '\0')
- ASSERT (strcmp (buf, name) == 0);
+ {
+ fprintf (stdout, "buf='%s', name='%s'\n", buf, name);
+ ASSERT (strcmp (buf, name) == 0);
+ }
... what does the program print?