[Beaker-devel] Docs/overview for using autotest in Beaker?

Don Zickus dzickus at redhat.com
Fri Nov 15 14:35:12 UTC 2013


On Fri, Nov 08, 2013 at 02:38:20PM -0500, Don Zickus wrote:
> > Hopefully the above helps - it sounds to me like a way to provide an XML
> > definition directly for local testing + the "autotest-beaker-harness"
> > RPM to integrate with the alternative harness selection mechanism are
> > the key next steps.
> > 
> > Then on to the fun part of getting non-Beaker autotest tests running
> > inside Beaker :)
> 
> Yeah, getting there.  For now how about a beaker patch?

bump.


> 
> Cheers,
> Don
> 
> --------------------8<----------------
> From: Don Zickus <dzickus at redhat.com>
> Date: Fri, 8 Nov 2013 14:03:34 -0500
> Subject: [PATCH] Tasks: make reservesys always exit 0
> 
> Different harnesses have a different environment than what reservesys
> was coded for.  As a result, the task may fail for something silly
> 
> /usr/bin/killall rhts-test-runner.sh
>  rhts-test-runner.sh: no process found
> 
> because the test harness I am using, doesn't run rhts-test-runner.sh.
> 
> I do not believe there is any reason to have reservesys fail.  The
> test was built to always succeed.  Force that success with an
> 'exit 0' at the end.
> 
> Signed-off-by: Don Zickus <dzickus at redhat.com>
> ---
>  Tasks/distribution/reservesys/runtest.sh |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/Tasks/distribution/reservesys/runtest.sh b/Tasks/distribution/reservesys/runtest.sh
> index 3a79b90..b4353e3 100755
> --- a/Tasks/distribution/reservesys/runtest.sh
> +++ b/Tasks/distribution/reservesys/runtest.sh
> @@ -242,3 +242,6 @@ RprtRslt $TEST PASS 0
>  
>  # stop rhts service, So that reserve workflow works with test reboot support.
>  STOPRHTS
> +
> +# different harness may cause this script to fail, always return zero
> +exit 0
> -- 
> 1.7.1
> 
> _______________________________________________
> Beaker-devel mailing list
> Beaker-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/beaker-devel


More information about the Beaker-devel mailing list