Displaying 2 results from an estimated 2 matches for "bd9a4e".
Did you mean:
bd9a4ed
2014 Mar 20
2
Re: [PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
On Thursday 20 March 2014 14:15:29 Richard W.M. Jones wrote:
> On Thu, Mar 20, 2014 at 02:48:11PM +0100, Pino Toscano wrote:
> > Always close the file (ignoring its result) after a parsing, and
> > cleanup the parse_context object before any exit().
> >
> > This eases the debugging of memory issues in the actual parser.
> > ---
> >
> >
2014 Mar 20
3
[PATCH 1/2] builder: allow the index parser to parse files with no sections
...y
@@ -108,6 +108,8 @@ sections:
{ $$ = $1; }
| section EMPTY_LINE emptylines sections
{ $$ = $1; $$->next = $4; }
+ | emptylines
+ { $$ = NULL; }
section:
SECTION_HEADER fields
diff --git a/builder/website/validate.sh b/builder/website/validate.sh
index bd9a4ed..f2e24cf 100755
--- a/builder/website/validate.sh
+++ b/builder/website/validate.sh
@@ -19,6 +19,13 @@
export LANG=C
set -e
+fn=test-filename-for-index-validate
+
+rm -f $fn
+touch $fn
+
$VG ../virt-index-validate $srcdir/index
$VG ../virt-index-validate $srcdir/index.asc
+$VG ../virt-index-...