abeltje / Test-Smoke

The Perl5 Core Smoke framework
6 stars 15 forks source link

smokecurrent.sh does nothing but give a "Use of uninitialized value …" warning #77

Closed pjacklam closed 6 months ago

pjacklam commented 1 year ago

I have run

$ perl /usr/local/bin/configsmoke.pl

and regardless of whether I explictly specify a hostname or not (see issue https://github.com/abeltje/Test-Smoke/issues/76) and specify a timeout or not, the script smokecurrent.sh doesn't work. The script creates a lockfile, but immediately removes the lockfile and exits. The log shows that something isn't right:

$ ./smokecurrent.sh
$ cat smokecurrent.log
Use of uninitialized value in sprintf at /usr/local/lib/perl5/Test/Smoke/App/Base.pm line 393.
Invalid value '' for option 'ua_timeout'
abeltje commented 1 year ago

So the shell-script is a wrapper around tssmokeperl.pl which is a wrapper around:

with no actual log-data in the logfile, one could try to run these scripts in order (don't forget -c smokecurrent as extra switch on the command line).

Please let me know how this works out,

thanks!

abeltje commented 6 months ago

This should be resolved in version 1.82