From patchwork Tue Dec 18 16:15:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Sack X-Patchwork-Id: 13643 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 4B50E23E19 for ; Tue, 18 Dec 2012 16:15:20 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by fiordland.canonical.com (Postfix) with ESMTP id F0811A19BDC for ; Tue, 18 Dec 2012 16:15:19 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c13so1162472ieb.31 for ; Tue, 18 Dec 2012 08:15:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :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=QKuoNh+zwjjvq+OZ1WcafXemOulEOuhYC4cAoKpfiZs=; b=WJG0zQi7fP9HtVleiSKSdKnsSlzdyN44gS/n1yCFbLDHQOGXGvhta1YvEvQAT+/CWg SHhPviw4apTL+1qkzTsegAV/pZ9NNCqiD9iPY/tdeurUzliJNhSnRUvqDUoK/UtVo5AN OT2jbwc6rUsEXwmK9TetMHFhRTD/e2oNNz0gKZMB014yx53CC/rF9/9kd82+G8r3l+qX VBK+4ZJZIDFqsmz/FnT+uRaG0u0UThEawt70Rgk/DLLoW1c7WemYsrrAAWDQf1YCkJck 0S3cvRrkFKvVizzxYX73GWkwolVrZSPV3BPsxiwWQqSxdS8V+Vr5oM4kOSOUnVJSsmEI rPTg== X-Received: by 10.50.36.164 with SMTP id r4mr3134854igj.57.1355847319331; Tue, 18 Dec 2012 08:15:19 -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 n20csp152226igt; Tue, 18 Dec 2012 08:15:18 -0800 (PST) X-Received: by 10.194.173.195 with SMTP id bm3mr5544092wjc.32.1355847317818; Tue, 18 Dec 2012 08:15:17 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id hy10si3196376wjb.66.2012.12.18.08.15.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Dec 2012 08:15:17 -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 1Tkzp6-0004SP-Vk for ; Tue, 18 Dec 2012 16:15:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id E1C67E018A for ; Tue, 18 Dec 2012 16:15:16 +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: 505 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 505: lava-test-case should not return non-zero exit code for --shell false Message-Id: <20121218161516.23742.45632.launchpad@ackee.canonical.com> Date: Tue, 18 Dec 2012 16:15:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16372"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 6656e7577ba3c9ece79141d25982116f495ae00e X-Gm-Message-State: ALoCoQkZCMDrIG2GQLW3Eei9MyKqudxUpyqjYwxPTMdQm7DwBpqSYLeH0URkyAjRnku99t0eoYUX ------------------------------------------------------------ revno: 505 committer: Alexander Sack branch nick: lava-dispatcher timestamp: Tue 2012-12-18 14:40:59 +0100 message: lava-test-case should not return non-zero exit code for --shell false 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-04 22:20:34 +0000 +++ lava_test_shell/lava-test-case 2012-12-18 13:40:59 +0000 @@ -74,4 +74,8 @@ if [ -n "${MEASUREMENT+x}" ]; then echo $MEASUREMENT > $result_dir/measurement fi -exit $rc + +# lava-test-case testname --shell false should report a fail as test result +# but not fail itself; hence don't honor 'rc' if we reach this, but exit 0 +exit 0 +