autotest/autotest-client-tests — pull request #37 by yumingfei (2014-06-24 07:58:21+00:00)
Title: Libvirt test api: latest libvirt-test-API testsuite.

Currently, old libvirt_test_api testsuite is used in Autotest.
But it can't work properly because of some hard-coding.
So use latest libvirt_test_API version instead, and replace old
configurations with new ones.
`env.cfg to global.cfg`

And there is a problem in libvirt-test-API which do not fit Autotest:
Test package libvirt-test-API.tar.gz will be extracted to client/tmp because of
renaming to testname libvirt_test_api. So that package need to fix it.
```
From 33418080346f6ff314eb60ab73d6033cba31486e Mon Sep 17 00:00:00 2001
From: Yu Mingfei
Date: Tue, 24 Jun 2014 15:07:24 +0800
Subject: [PATCH] Fit extracted libvirt-test-API directory for Autotest.

Autotest will extract test packages to temp directory.
And it will rename directory to testname, so modify this
for Autotest.

Signed-off-by: Yu Mingfei
---
libvirt-test-api | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-test-api b/libvirt-test-api
index c93bd38..441d35d 100755
--- a/libvirt-test-api
+++ b/libvirt-test-api
@@ -141,7 +141,7 @@ class Main(object):
testid = logname[-3:]
log_xml_parser.add_test_xml(testrunid, testid)
if os.environ.has_key('AUTODIR'):
- autotest_testdir = os.path.join(os.environ['AUTODIR'],'tests/libvirt_test_API')
+ autotest_testdir = os.path.join(os.environ['AUTODIR'],'tmp/libvirt_test_api')
logfile = os.path.join('%s/src/log/%s' % (autotest_testdir, testrunid), logname)
else:
logfile = os.path.join('log/%s' % testrunid, logname)
--
1.8.4.2

```