autotest/virt-test — pull request #102 by ldoktor (2012-11-20 08:20:42+00:00)
Title: tools.checkpatch: Make checkpatch work under submodule directory

I had a problem to run checkpatch under virttest submodule as .git is only a file with the link to the actual .git directory. git and other tools seems to work properly.

To notify the user, that not whole autotest is tested I removed the `replace('./', 'autotest')`.

I tested this on pull request 98, 99 and with '-f' successfully.