Re: regression testing & python2
Martin Simmons <[email protected]> Wed, 6 Oct 2021 20:39:35 +0100
| Newsgroups | gmane.comp.sysutils.backup.bacula.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Tue, 5 Oct 2021 11:21:46 -0400, Dan Langille said:
>
> Must I be running the bash shell to invoke regression testing?
You don't have to be running bash yourself -- the #! makes it run bash.
> If so, why?
It is because the script uses some bash extensions. Two that I can see are
((JOBID++))
and
ERRS=$((`grep "joberrors: " ${tmp}/blog${ltest}.out | awk '{print $2}'`+0))
__Martin