From patchwork Tue Dec 11 19:50:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 13482 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 B8B332425A for ; Tue, 11 Dec 2012 19:50:19 +0000 (UTC) Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169]) by fiordland.canonical.com (Postfix) with ESMTP id 476B4A181D7 for ; Tue, 11 Dec 2012 19:50:19 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id r4so7485056iaj.28 for ; Tue, 11 Dec 2012 11:50:18 -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=fU6B1oDv1CnrEevnELacw7N6bNK1GQ0zRfsZfiqF8Ac=; b=F5Adq85MiBTYNzYNFlAB1X27XFi0CJ7CajrLCOQeoL9hW68eikDrCnG89gLNf4qJHv lK8DHn/GHEd/dJktUK+gpfggYNySEVnFjgI3BbS+UPkKpsy8bl0AdZW+xz6h99NF2iUy BvCLxTCNaPCluo9uzAwKEph5rV5Ie3MJ7uJFm3mXRTGdHqhFtVwPX+3dZSEF9GWY5szP D8mfu53VKAly41mkF+FK2Yap5tdJR6oOUmdLGKBUMhqgfTXaa5aycRrMhj9q73/BqBwq 16U6MNA4bOOYL54i+SQq2q2AkQpNm6XOD5s9xzOjRd04B3c/K04FKg+0dUvNzd7ewkvP rfxw== Received: by 10.50.40.137 with SMTP id x9mr14087756igk.1.1355255418727; Tue, 11 Dec 2012 11:50:18 -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 n20csp154213igt; Tue, 11 Dec 2012 11:50:17 -0800 (PST) Received: by 10.194.85.234 with SMTP id k10mr2504449wjz.53.1355255417163; Tue, 11 Dec 2012 11:50:17 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id z2si2489894wjx.1.2012.12.11.11.50.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 11:50: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 1TiVqK-0002gP-I4 for ; Tue, 11 Dec 2012 19:50:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 78A37E0011 for ; Tue, 11 Dec 2012 19:50: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: 493 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 493: late review fixes for test run attachments Message-Id: <20121211195016.17836.74832.launchpad@ackee.canonical.com> Date: Tue, 11 Dec 2012 19:50: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="16361"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 2903408bc9ad49fbb6f21012bd78c8c960ec7606 X-Gm-Message-State: ALoCoQnN3fxCCLaD4RoOdcx3vUJMf/smzJusVzm509iRCHYVfQqGDVbCOCvYKEUQj8uL8pTReI5B ------------------------------------------------------------ revno: 493 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Wed 2012-12-12 08:49:25 +1300 message: late review fixes for test run attachments modified: doc/lava_test_shell.rst lava_test_shell/lava-test-case-attach lava_test_shell/lava-test-run-attach --- 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 'doc/lava_test_shell.rst' --- doc/lava_test_shell.rst 2012-12-10 20:34:15 +0000 +++ doc/lava_test_shell.rst 2012-12-11 19:49:25 +0000 @@ -114,7 +114,7 @@ 1. test case id 2. the file to attach 3. (optional) the MIME type of the file (if no MIME type is passed, a - guess is made based on the filename + guess is made based on the filename) lava-test-run-attach -------------------- === modified file 'lava_test_shell/lava-test-case-attach' --- lava_test_shell/lava-test-case-attach 2012-12-04 22:20:34 +0000 +++ lava_test_shell/lava-test-case-attach 2012-12-11 19:49:25 +0000 @@ -22,8 +22,12 @@ usage exit 1 fi +if [ ! -z "$FILE" ]; then + usage + exit 1 +fi if [ ! -f "$FILE" ]; then - usage + echo "File $FILE not found" exit 1 fi if [ -z "$TEST_CASE_ID" ]; then === modified file 'lava_test_shell/lava-test-run-attach' --- lava_test_shell/lava-test-run-attach 2012-12-10 23:43:42 +0000 +++ lava_test_shell/lava-test-run-attach 2012-12-11 19:49:25 +0000 @@ -20,8 +20,12 @@ usage exit 1 fi +if [ ! -z "$FILE" ]; then + usage + exit 1 +fi if [ ! -f "$FILE" ]; then - usage + echo "File $FILE not found" exit 1 fi