On Mon, 2008-12-08 at 00:42 +0100, Jiří Paleček wrote:
> Hello,
> 
> the aiodio_sparse (and dio_sparse) tests use mmaped region of memory backed 
> by a file, and populate the pages by writing to them. This can fail, eg. when 
> Linux overcommits memory and the newly created pages do not fit; it results 
> in the file not being properly deleted. This patch fixes that by trapping 
> signals in these test (I used the standard libltp functions for that) and 
> deleting the file in a cleanup function.
> 
> Sorry that the patch may be little unclean - it was hand-edited. I will do 
> something about that if it matters.

The Following appeared while i applied:

$ patch --dry-run -p1 < trap-signals.patch 
patching file testcases/kernel/io/ltp-aiodio/Makefile
patching file testcases/kernel/io/ltp-aiodio/aiodio_sparse.c
patching file testcases/kernel/io/ltp-aiodio/dio_sparse.c
patch unexpectedly ends in middle of line

You may want to look into the CVS code and send any Fixes if still
required.

Regards--
Subrata

> 
> Regards
>     Jiri Palecek
> 
> -- 
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> ------------------------------------------------------------------------------
>  SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. 
> The future of the web can't happen without you. Join us at MIX09 to help pave 
> the way to the Next Web now. Learn more and register at 
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to