avocado.job: Fix docstring

We don't enforce 80 columns, but in this case there was
no reason why we couldn't keep the docstring under said
restriction.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado: Make Job and Test debug log and debug dir attributes symmetrical

I realize it was a bad naming choice I made while writing
the Job class the use of 'debugdir' and 'debuglog'. It should
have been 'logdir' and 'logfile', just as they are used in
the Test class. This patch fixes it.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins.jsonresult: Fix bug that closed file logging before due time

The JSON output plugin was stopping file output before
due time, therefore only the first instance of the test
was being logged. Let's fix that.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
selftests/functional: Add sanity check in job output lines

Make a reasonable effort in checking the amount of lines
avocado outputs to the job log. If it is less than a certain
amount, we might be having output problems.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #113 from lmr/joblog-bugfix

Joblog bugfix