[LTP] [PATCH v2 1/3] syscalls/getcwd02.c: cleanup && convert to	new API
    Cyril Hrubis 
    chrubis@suse.cz
       
    Wed Jan 18 14:32:05 CET 2017
    
    
  
Hi!
> +	if (tc->buf != NULL && strcmp(exp_buf, tc->buf)) {
> +		tst_res(TFAIL, "getcwd() returned unexpected directory: %s, "
> +			"expected: %s", tc->buf, exp_buf);
> +		goto end;
I've removed this check because it was redundant. Unless tc->buf is NULL
the tc->buf is the same as res.
Pushed, thanks.
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list