tests.isic:remove the white space of the file path of PREFIX

Currently,it can cause some problems while configure
To remove the white space to make it configure correct.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
client.shared.test:Avoid to make and copy src dir

Currently,client.shared.test file will make and copy src dir while this
dir may be remove in client.shared.base_utils.So it may be a waste of time
Just try not to do this is OK.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
client.shared.based_utils:Make and copy the src dir to client/tmp/<test>/

Currently, the src dir may be removed when the test version has changed.
Just to check to make and copy the src if it has been removed.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
tests.linus_stress:Copy the *.c file to src dir

Currently, the linus_stress try to copy the source code file
to bindir/src, while it will make the tests dir "none read only".
To copy the file to srcdir to make it work correctly.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
server.autoserv: Use test_output_dir if available for storing results

This is a solution to issue #501 - on a system wide install,
running autotest-remote will try to create a results dir on
a non readable python library area:

$ autotest-remote a
DEBUG:root:unable to import site symbol '_SiteRun', using non-site
implementation
Traceback (most recent call last):
File "/bin/autotest-remote", line 17, in
autoserv.main()
File "/usr/lib/python2.7/site-packages/autotest/server/autoserv.py",
line 193, in main
os.makedirs(results)
File "/usr/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied:
'/usr/share/autotest/results.2012-08-08-08.54.09'

Use the COMMON.test_output_dir setting on global_config.ini
if available, then fall back to use the cwd to generate the
directory if not available (local install).

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
scheduler.drone_utility: Use test_output_dir for drone tmpdir

This is a solution to #502 - on a system wide install,
drone_utility will try to create a temporary directory
on a non readable python library area:

Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: File
"/usr/lib/python2.7/site-packages/autotest/scheduler/drone_utility.py",
line 66, in initialize
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]:
self._ensure_directory_exists(temporary_directory)
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: File
"/usr/lib/python2.7/site-packages/autotest/scheduler/drone_utility.py",
line 211, in _ensure_directory_exists
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]:
os.makedirs(path)
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: File
"/usr/lib64/python2.7/os.py", line 150, in makedirs
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]:
makedirs(head, mode)
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: File
"/usr/lib64/python2.7/os.py", line 157, in makedirs
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: mkdir(name,
mode)
Aug 08 09:18:14 localhost autotest-scheduler-watcher[1491]: OSError:
[Errno 13] Permission denied:
'/usr/lib/python2.7/site-packages/autotest/results'

Use the COMMON.test_output_dir setting on global_config.ini
if available to fix this.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>