From: John Admanski Subject: Re: [Autotest] [PATCH] Fix incorrect reference to client library directory Date: Wed, 11 Nov 2009 13:02:52 -0800 Message-ID: <394b34480911111302tbc1b65fq60dfab5a8db44c63@mail.gmail.com> References: <1257939033-6707-1-git-send-email-lmr@redhat.com> <394b34480911110735y203b7a53y73ed65735caffe4f@mail.gmail.com> <394b34480911110754u2958e7cekd3dbf9f55dc66f8e@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.45.13]:6104 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757181AbZKKVDN convert rfc822-to-8bit (ORCPT ); Wed, 11 Nov 2009 16:03:13 -0500 Received: from spaceape12.eur.corp.google.com (spaceape12.eur.corp.google.com [172.28.16.146]) by smtp-out.google.com with ESMTP id nABL3Guw004096 for ; Wed, 11 Nov 2009 13:03:17 -0800 Received: from pxi28 (pxi28.prod.google.com [10.243.27.28]) by spaceape12.eur.corp.google.com with ESMTP id nABL3C4b000618 for ; Wed, 11 Nov 2009 13:03:14 -0800 Received: by pxi28 with SMTP id 28so1103440pxi.7 for ; Wed, 11 Nov 2009 13:03:12 -0800 (PST) In-Reply-To: <394b34480911110754u2958e7cekd3dbf9f55dc66f8e@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Okay. I mailed out a patch to do this. If this is causing problems you can do a quick review and commit it. -- John On Wed, Nov 11, 2009 at 7:54 AM, John Admanski w= rote: > 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 = wrote: >> 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 t= he >> 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, 'com= mon_lib') >>> =A0 =A0 =A0 =A0 self._configdir =3D readonly_dir(self.clientdir, 'c= onfig') >>> =A0 =A0 =A0 =A0 self._profdir =3D readonly_dir(self.clientdir, 'pro= filers') >>> =A0 =A0 =A0 =A0 self._pkgdir =3D readwrite_dir(self.clientdir, 'pac= kages') >>> -- >>> 1.6.2.5 >>> >>> _______________________________________________ >>> Autotest mailing list >>> Autotest@test.kernel.org >>> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >>> >> >