From patchwork Tue Feb 1 17:56:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Lo=C3=AFc_Minier?= X-Patchwork-Id: 55 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:39:35 -0000 Delivered-To: patches@linaro.org Received: by 10.147.124.5 with SMTP id b5cs112470yan; Tue, 1 Feb 2011 09:56:32 -0800 (PST) Received: by 10.204.118.4 with SMTP id t4mr6953523bkq.38.1296582991232; Tue, 01 Feb 2011 09:56:31 -0800 (PST) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id k10si37185502wer.176.2011.02.01.09.56.30; Tue, 01 Feb 2011 09:56:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PkKSs-0004MG-MJ for ; Tue, 01 Feb 2011 17:56:30 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A65022E80AA for ; Tue, 1 Feb 2011 17:56:30 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-maintainers/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 282 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-maintainers/linaro-image-tools/trunk] Rev 282: Fix testsuite breakage with reldir; was running the wrong testsuite. :-/ Message-Id: <20110201175630.26866.8513.launchpad@loganberry.canonical.com> Date: Tue, 01 Feb 2011 17:56:30 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="12274"; Instance="initZopeless config overlay" X-Launchpad-Hash: 3ee2b0d6f83f50bf188ab463e8fd11e6f3286b41 ------------------------------------------------------------ revno: 282 committer: Loïc Minier branch nick: linaro-image-tools timestamp: Tue 2011-02-01 18:53:44 +0100 message: Fix testsuite breakage with reldir; was running the wrong testsuite. :-/ modified: linaro_media_create/tests/fixtures.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-maintainers/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-maintainers/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_media_create/tests/fixtures.py' --- linaro_media_create/tests/fixtures.py 2011-02-01 16:06:46 +0000 +++ linaro_media_create/tests/fixtures.py 2011-02-01 17:53:44 +0000 @@ -51,7 +51,7 @@ def setUp(self): # Create gzipped tar archive. - os.mkdir(os.path.join(self.basedir, reldir)) + os.mkdir(os.path.join(self.basedir, self.reldir)) args = ['tar', '-C', self.basedir, '-czf', self.tarball, self.reldir] proc = subprocess.Popen(args) proc.wait() @@ -59,7 +59,7 @@ def tearDown(self): if os.path.exists(self.tarball): os.remove(self.tarball) - dir = os.path.join(self.basedir, subdir) + dir = os.path.join(self.basedir, self.reldir) if os.path.exists(dir): os.rmdir(dir)