From: John Admanski Subject: Re: [Autotest] [PATCH] Fix incorrect reference to client library directory Date: Wed, 11 Nov 2009 07:54:54 -0800 Message-ID: <394b34480911110754u2958e7cekd3dbf9f55dc66f8e@mail.gmail.com> References: <1257939033-6707-1-git-send-email-lmr@redhat.com> <394b34480911110735y203b7a53y73ed65735caffe4f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: Lucas Meneghel Rodrigues Return-path: Received: from smtp-out.google.com ([216.239.33.17]:55439 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757587AbZKKPzO convert rfc822-to-8bit (ORCPT ); Wed, 11 Nov 2009 10:55:14 -0500 Received: from wpaz17.hot.corp.google.com (wpaz17.hot.corp.google.com [172.24.198.81]) by smtp-out.google.com with ESMTP id nABFtHi6008252 for ; Wed, 11 Nov 2009 15:55:18 GMT Received: from pzk13 (pzk13.prod.google.com [10.243.19.141]) by wpaz17.hot.corp.google.com with ESMTP id nABFtEsG032653 for ; Wed, 11 Nov 2009 07:55:14 -0800 Received: by pzk13 with SMTP id 13so925605pzk.25 for ; Wed, 11 Nov 2009 07:55:14 -0800 (PST) In-Reply-To: <394b34480911110735y203b7a53y73ed65735caffe4f@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: I'm going to mail out a patch later this afternoon that just strips out job.libdir entirely. -- John On Wed, Nov 11, 2009 at 7:35 AM, John Admanski w= rote: > 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 th= e > common lib. > > -- John > > On Wed, Nov 11, 2009 at 3:30 AM, Lucas Meneghel Rodrigues > wrote: >> 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 >> --- >> =A0client/common_lib/base_job.py | =A0 =A02 +- >> =A01 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/client/common_lib/base_job.py b/client/common_lib/base_= job.py >> index 4ac65bc..50c925e 100644 >> --- a/client/common_lib/base_job.py >> +++ b/client/common_lib/base_job.py >> @@ -266,7 +266,7 @@ class base_job(object): >> >> =A0 =A0 =A0 =A0 # various client-specific directories >> =A0 =A0 =A0 =A0 self._bindir =3D readonly_dir(self.clientdir, 'bin') >> - =A0 =A0 =A0 =A0self._libdir =3D readonly_dir(self.clientdir, 'lib'= ) >> + =A0 =A0 =A0 =A0self._libdir =3D readonly_dir(self.clientdir, 'comm= on_lib') >> =A0 =A0 =A0 =A0 self._configdir =3D readonly_dir(self.clientdir, 'co= nfig') >> =A0 =A0 =A0 =A0 self._profdir =3D readonly_dir(self.clientdir, 'prof= ilers') >> =A0 =A0 =A0 =A0 self._pkgdir =3D readwrite_dir(self.clientdir, 'pack= ages') >> -- >> 1.6.2.5 >> >> _______________________________________________ >> Autotest mailing list >> Autotest@test.kernel.org >> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >> >