On Thu, 09/07 08:37, Eric Blake wrote: > On 09/07/2017 03:11 AM, Fam Zheng wrote: > > Also avoid "set -e". > > > > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > > tests/docker/test-full | 80 > > ++++++++++++++++++++++++++++++++++++++++++++++---- > > 1 file changed, 75 insertions(+), 5 deletions(-) > > > > diff --git a/tests/docker/test-full b/tests/docker/test-full > > index 05f0d491d1..bd095ad91b 100755 > > --- a/tests/docker/test-full > > +++ b/tests/docker/test-full > > @@ -1,8 +1,8 @@ > > -#!/bin/bash -e > > +#!/bin/bash > > When you drop 'set -e'... > > > # > > -# Compile all the targets. > > +# Compile all the targets with as many features enabled as possible > > # > > -# Copyright (c) 2016 Red Hat Inc. > > +# Copyright 2016, 2017 Red Hat Inc. > > # > > # Authors: > > # Fam Zheng <f...@redhat.com> > > @@ -15,5 +15,75 @@ > > > > cd "$BUILD_DIR" > > ...then you should explicitly check for failure after commands where you > really do not want to continue execution if they failed. I'd write this:
We can probably tolerate the failure of cd, but it might be better if we are strict on that. Will update. Fam