Re: [libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-23 Thread Matthias Bolte
2010/3/22 Daniel P. Berrange : > On Mon, Mar 22, 2010 at 09:17:21PM +0100, Matthias Bolte wrote: >> 2010/3/22 Daniel P. Berrange : >> > On Sat, Mar 20, 2010 at 06:14:44PM +0100, Matthias Bolte wrote: >> >> --- >> >> átests/test-lib.sh | á 10 ++ >> >> átests/testutils.c | á á2 +- >> >> á2 fi

Re: [libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 09:17:21PM +0100, Matthias Bolte wrote: > 2010/3/22 Daniel P. Berrange : > > On Sat, Mar 20, 2010 at 06:14:44PM +0100, Matthias Bolte wrote: > >> --- > >>  tests/test-lib.sh |   10 ++ > >>  tests/testutils.c |    2 +- > >>  2 files changed, 7 insertions(+), 5 deletio

Re: [libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-22 Thread Matthias Bolte
2010/3/22 Daniel P. Berrange : > On Sat, Mar 20, 2010 at 06:14:44PM +0100, Matthias Bolte wrote: >> --- >>  tests/test-lib.sh |   10 ++ >>  tests/testutils.c |    2 +- >>  2 files changed, 7 insertions(+), 5 deletions(-) >> >> diff --git a/tests/test-lib.sh b/tests/test-lib.sh >> index 4326

Re: [libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-22 Thread Eric Blake
On 03/20/2010 11:14 AM, Matthias Bolte wrote: >if test "$verbose" = "0" ; then > mod=`eval "expr \( $counter + 1 \) % 40"` > -for i in `seq $mod 40` > -do > - echo -n " " > -done > +if test "$mod" != "0" -a "$mod" != "1" ; then test cond1 -a cond2 is not portable. Us

Re: [libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-22 Thread Daniel P. Berrange
On Sat, Mar 20, 2010 at 06:14:44PM +0100, Matthias Bolte wrote: > --- > tests/test-lib.sh | 10 ++ > tests/testutils.c |2 +- > 2 files changed, 7 insertions(+), 5 deletions(-) > > diff --git a/tests/test-lib.sh b/tests/test-lib.sh > index 43265f3..57fd438 100644 > --- a/tests/test-

[libvirt] [PATCH] tests: Don't add extra padding if counter mod 40 is 0

2010-03-20 Thread Matthias Bolte
--- tests/test-lib.sh | 10 ++ tests/testutils.c |2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test-lib.sh b/tests/test-lib.sh index 43265f3..57fd438 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -55,10 +55,12 @@ test_final() if test "$v