Fix incorrect reference to client library directory
PATCH 1/1 Fix incorrect reference to client library directory
When checking for various client specific libraries, job code tries to reference client/lib directory, which does not exist. Fix the code to point at client/common_lib.
This patch fixes autoserv and autotest regressions as of latest svn revision (3938).
--- client/common_lib/base_job.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/common_lib/base_job.py +1 -1
@@ -266,7 +266,7 @@ class base_job(object): # various client-specific directories self._bindir = readonly_dir(self.clientdir, 'bin') - self._libdir = readonly_dir(self.clientdir, 'lib') + self._libdir = readonly_dir(self.clientdir, 'common_lib') self._configdir = readonly_dir(self.clientdir, 'config') self._profdir = readonly_dir(self.clientdir, 'profilers') self._pkgdir = readwrite_dir(self.clientdir, 'packages')
Signature · 1 line
1.6.2.5
Maybe instead we should just drop libdir entirely. I don't see anything that uses it. And if I was going to use that name, I can think of more interesting things to do with it than to point it at the common lib.
-- John
Quoted 32 lines · Lucas Meneghel Rodrigues
When checking for various client specific libraries, job code tries to reference client/lib directory, which does not exist. Fix the code to point at client/common_lib.
This patch fixes autoserv and autotest regressions as of latest svn revision (3938).
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>---
client/common_lib/base_job.py | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)client/common_lib/base_job.py +1
-2@@ -266,7 +266,7 @@ class base_job(object): # various client-specific directories self._bindir = readonly_dir(self.clientdir, 'bin') - self._libdir = readonly_dir(self.clientdir, 'lib') + self._libdir = readonly_dir(self.clientdir, 'common_lib') self._configdir = readonly_dir(self.clientdir, 'config') self._profdir = readonly_dir(self.clientdir, 'profilers') self._pkgdir = readwrite_dir(self.clientdir, 'packages') --1.6.2.5
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
I'm going to mail out a patch later this afternoon that just strips out job.libdir entirely.
-- John
Quoted 42 lines · John Admanski
Maybe instead we should just drop libdir entirely. I don't see anything that uses it. And if I was going to use that name, I can think of more interesting things to do with it than to point it at the common lib.
-- John
Quoted 32 lines · Lucas Meneghel Rodrigues
When checking for various client specific libraries, job code tries to reference client/lib directory, which does not exist. Fix the code to point at client/common_lib.
This patch fixes autoserv and autotest regressions as of latest svn revision (3938).
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>---
client/common_lib/base_job.py | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)client/common_lib/base_job.py +1
-2@@ -266,7 +266,7 @@ class base_job(object): # various client-specific directories self._bindir = readonly_dir(self.clientdir, 'bin') - self._libdir = readonly_dir(self.clientdir, 'lib') + self._libdir = readonly_dir(self.clientdir, 'common_lib') self._configdir = readonly_dir(self.clientdir, 'config') self._profdir = readonly_dir(self.clientdir, 'profilers') self._pkgdir = readwrite_dir(self.clientdir, 'packages') --1.6.2.5
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
Okay. I mailed out a patch to do this. If this is causing problems you can do a quick review and commit it.
-- John
Quoted 49 lines · John Admanski
I'm going to mail out a patch later this afternoon that just strips out job.libdir entirely.
-- John
Quoted 42 lines · John Admanski
Maybe instead we should just drop libdir entirely. I don't see anything that uses it. And if I was going to use that name, I can think of more interesting things to do with it than to point it at the common lib.
-- John
Quoted 32 lines · Lucas Meneghel Rodrigues
When checking for various client specific libraries, job code tries to reference client/lib directory, which does not exist. Fix the code to point at client/common_lib.
This patch fixes autoserv and autotest regressions as of latest svn revision (3938).
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>---
client/common_lib/base_job.py | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)client/common_lib/base_job.py +1
-2@@ -266,7 +266,7 @@ class base_job(object): # various client-specific directories self._bindir = readonly_dir(self.clientdir, 'bin') - self._libdir = readonly_dir(self.clientdir, 'lib') + self._libdir = readonly_dir(self.clientdir, 'common_lib') self._configdir = readonly_dir(self.clientdir, 'config') self._profdir = readonly_dir(self.clientdir, 'profilers') self._pkgdir = readwrite_dir(self.clientdir, 'packages') --1.6.2.5
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
Quoted 2 lines · John Admanski
Okay. I mailed out a patch to do this. If this is causing problems you can do a quick review and commit it.
Reviewed and commited. Thanks John!
Quoted 57 lines
-- John
Quoted 49 lines · John Admanski
I'm going to mail out a patch later this afternoon that just strips out job.libdir entirely.
-- John
Quoted 42 lines · John Admanski
Maybe instead we should just drop libdir entirely. I don't see anything that uses it. And if I was going to use that name, I can think of more interesting things to do with it than to point it at the common lib.
-- John
Quoted 32 lines · Lucas Meneghel Rodrigues
When checking for various client specific libraries, job code tries to reference client/lib directory, which does not exist. Fix the code to point at client/common_lib.
This patch fixes autoserv and autotest regressions as of latest svn revision (3938).
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>---
client/common_lib/base_job.py | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)client/common_lib/base_job.py +1
-2@@ -266,7 +266,7 @@ class base_job(object): # various client-specific directories self._bindir = readonly_dir(self.clientdir, 'bin') - self._libdir = readonly_dir(self.clientdir, 'lib') + self._libdir = readonly_dir(self.clientdir, 'common_lib') self._configdir = readonly_dir(self.clientdir, 'config') self._profdir = readonly_dir(self.clientdir, 'profilers') self._pkgdir = readwrite_dir(self.clientdir, 'packages') --1.6.2.5
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
Signature · 1 line
Lucas