Re: [Xen-devel] [OSSTEST PATCH 01/10] TestSupport: Provide target_editfile_cancel

2015-02-09 Thread Ian Jackson
Ian Campbell writes ("Re: [OSSTEST PATCH 01/10] TestSupport: Provide target_editfile_cancel"): > On Fri, 2015-02-06 at 19:17 +, Ian Jackson wrote: > > This allows a caller of target_editfile to cancel the edit from within > > their supplied code block. > > > > Signed-off-by: Ian Jackson > >

Re: [Xen-devel] [OSSTEST PATCH 01/10] TestSupport: Provide target_editfile_cancel

2015-02-09 Thread Ian Campbell
On Fri, 2015-02-06 at 19:17 +, Ian Jackson wrote: > This allows a caller of target_editfile to cancel the edit from within > their supplied code block. > > Signed-off-by: Ian Jackson This contains more Perl exception handling voodoo than I'm really qualified for, but based on a bit of search

[Xen-devel] [OSSTEST PATCH 01/10] TestSupport: Provide target_editfile_cancel

2015-02-06 Thread Ian Jackson
This allows a caller of target_editfile to cancel the edit from within their supplied code block. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm inde