From: John Admanski Subject: Re: [Autotest] [PATCH] Fix incorrect reference to client library directory Date: Wed, 11 Nov 2009 07:35:06 -0800 Message-ID: <394b34480911110735y203b7a53y73ed65735caffe4f@mail.gmail.com> References: <1257939033-6707-1-git-send-email-lmr@redhat.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.45.13]:10297 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756217AbZKKPf0 convert rfc822-to-8bit (ORCPT ); Wed, 11 Nov 2009 10:35:26 -0500 Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id nABFZUKa025662 for ; Wed, 11 Nov 2009 07:35:31 -0800 Received: from pwi15 (pwi15.prod.google.com [10.241.219.15]) by wpaz9.hot.corp.google.com with ESMTP id nABFZQ0v014232 for ; Wed, 11 Nov 2009 07:35:26 -0800 Received: by pwi15 with SMTP id 15so762982pwi.24 for ; Wed, 11 Nov 2009 07:35:26 -0800 (PST) In-Reply-To: <1257939033-6707-1-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 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 r= evision (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_j= ob.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, 'commo= n_lib') > =A0 =A0 =A0 =A0 self._configdir =3D readonly_dir(self.clientdir, 'con= fig') > =A0 =A0 =A0 =A0 self._profdir =3D readonly_dir(self.clientdir, 'profi= lers') > =A0 =A0 =A0 =A0 self._pkgdir =3D readwrite_dir(self.clientdir, 'packa= ges') > -- > 1.6.2.5 > > _______________________________________________ > Autotest mailing list > Autotest@test.kernel.org > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >