public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* Re: [LTP] [REPORT] fs_perms.c issue
       [not found] <1418780643.28978.64.camel@G08JYZSD130126.localdomain>
@ 2014-12-17  8:05 ` Cyril Hrubis
  0 siblings, 0 replies; only message in thread
From: Cyril Hrubis @ 2014-12-17  8:05 UTC (permalink / raw)
  To: Zeng Linggang; +Cc: ltp-list

Hi!
> I have test fs_perms in the latest version, but output:
> "Segmentation fault"
> In commit 9fa8ad01f33c6390cc08626a185111631c8df495
> -------------------------------------------------------------------------------------
> -       tst_resm((exp_res == res1) && res2 ? TPASS : TFAIL,
> -                "%c a %03o file owned by (%d/%d) as user/group (%d/%d)",
> +       tst_brkm((exp_res == res1) && res2 ? TPASS : TFAIL,
> +                tst_rmdir, "%c a %03o file owned by (%d/%d) as user/group (%d/%d)",
>                  fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id);
> -
> -       tst_rmdir();
> -       tst_exit();
> -------------------------------------------------------------------------------------
> TPASS should not be return from tst_brkm. We should use tst_resm still.

Right, I've missed that in the automatic cleanup. Will fix ASAP.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-17  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1418780643.28978.64.camel@G08JYZSD130126.localdomain>
2014-12-17  8:05 ` [LTP] [REPORT] fs_perms.c issue Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox