From patchwork Tue Dec 4 15:49:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Pigott X-Patchwork-Id: 13358 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BCD1023E51 for ; Tue, 4 Dec 2012 15:55:35 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 14237A197F4 for ; Tue, 4 Dec 2012 15:55:34 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so3024944iag.11 for ; Tue, 04 Dec 2012 07:55:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=yAHr4NW+j41kkC/lr/F63rh2hbUPsWKk6eCJky6MDF0=; b=R6cNaP+dqznGCjDZLsZB3ilyY59XoN8cfxYNEALTkwbsz8Y6XTDJI7rDh4lx04l8wb 7wo8Xs14EpU+AaxhzENkFXn2Zg1Z3UMNOFbpb77F7XG/ZyvbW7jnq1cKmhSLRNo0toI/ nZ9QHiJ6HsAbt1kQkcENpi+wMVU4PSXYFOJ531Nh3KBvRofQ3MsDjd1Sp3J6oUDP8Kzu CUFFjaja9xdgMdWLCVmpB6QXiciE62jNCZn3tnQWitlmsrswn0jdnQZLu/vxQ77Axz8n eZlKzqswzSc8iFnsWrIloIEDUx79dxY6kgoX+eg3GSfm20Z0KrGn0F2I2rS7xMuQqPww 1j+g== Received: by 10.50.36.164 with SMTP id r4mr3153639igj.57.1354636534529; Tue, 04 Dec 2012 07:55:34 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp275645igt; Tue, 4 Dec 2012 07:55:33 -0800 (PST) Received: by 10.180.76.203 with SMTP id m11mr5312550wiw.6.1354636532839; Tue, 04 Dec 2012 07:55:32 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id o61si1038929wed.28.2012.12.04.07.55.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 07:55:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TfuqJ-0005Kv-7F for ; Tue, 04 Dec 2012 15:55:31 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7B7DAE1B6B for ; Tue, 4 Dec 2012 15:49:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 482 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 482: Ensure rc is 0 by default Message-Id: <20121204154913.22798.35233.launchpad@ackee.canonical.com> Date: Tue, 04 Dec 2012 15:49:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16335"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 609e18691949cef5f2f7289e9c00971d2236bddb X-Gm-Message-State: ALoCoQnf+RRpqCgF3cx3uqOj14YKO1/fH96b644XB9RXGjeNgsBOvfVJUBZ0cmYsUw91X7czzJeX Merge authors: Dave Pigott (dpigott) Related merge proposals: https://code.launchpad.net/~dpigott/lava-dispatcher/ensure-rc-is-0-by-default/+merge/137852 proposed by: Dave Pigott (dpigott) review: Approve - Paul Sokolovsky (pfalcon) ------------------------------------------------------------ revno: 482 [merge] committer: dave.pigott@linaro.org branch nick: trunk timestamp: Tue 2012-12-04 15:36:56 +0000 message: Ensure rc is 0 by default modified: lava_test_shell/lava-test-case --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_test_shell/lava-test-case' --- lava_test_shell/lava-test-case 2012-12-03 19:39:15 +0000 +++ lava_test_shell/lava-test-case 2012-12-04 14:19:38 +0000 @@ -9,6 +9,8 @@ echo "Either run or record the results of a particular test case" } +rc=0 + TEST_CASE_ID="$1" shift if [ -z "$TEST_CASE_ID" ]; then