Skip to contentSkip to conversation

Fix incorrect reference to client library directory

PATCH In review Lucas Meneghel Rodrigues 2 participants 5 messages Nov 11, 2009 – Nov 12, 2009 KVM

lore
Share & tools
lore
#0 lore raw

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
index 4ac65bc..50c925e 100644
@@ -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
#1 lore raw

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).

---
 client/common_lib/base_job.py |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
client/common_lib/base_job.py +1 -2
index 4ac65bc..50c925e 100644
@@ -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

#2 lore raw

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).

---
 client/common_lib/base_job.py |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
client/common_lib/base_job.py +1 -2
index 4ac65bc..50c925e 100644
@@ -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

#3 lore raw

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).

---
 client/common_lib/base_job.py |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
client/common_lib/base_job.py +1 -2
index 4ac65bc..50c925e 100644
@@ -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

#4 lore raw
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).

---
 client/common_lib/base_job.py |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
client/common_lib/base_job.py +1 -2
index 4ac65bc..50c925e 100644
@@ -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