Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813664/?format=api
{ "id": 813664, "url": "http://patchwork.ozlabs.org/api/patches/813664/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170913224657.23321-1-robdclark@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170913224657.23321-1-robdclark@gmail.com>", "list_archive_url": null, "date": "2017-09-13T22:46:54", "name": "[U-Boot] test: print_ut: Add test for %ls strings", "commit_ref": "085391b22349b453aefad677853ff2d9955dd967", "pull_url": null, "state": "accepted", "archived": false, "hash": "2348b8c51f0091c40cc72f50a67c421f5b91e0a8", "submitter": { "id": 18760, "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api", "name": "Rob Clark", "email": "robdclark@gmail.com" }, "delegate": { "id": 3184, "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api", "username": "sjg", "first_name": "Simon", "last_name": "Glass", "email": "sjg@chromium.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170913224657.23321-1-robdclark@gmail.com/mbox/", "series": [ { "id": 2994, "url": "http://patchwork.ozlabs.org/api/series/2994/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2994", "date": "2017-09-13T22:46:54", "name": "[U-Boot] test: print_ut: Add test for %ls strings", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2994/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813664/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813664/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"epeBVj6X\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsxcf4SBFz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 08:47:13 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 225EAC21DAC; Wed, 13 Sep 2017 22:47:05 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AD91FC21CB6;\n\tWed, 13 Sep 2017 22:47:03 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid B0BCFC21CB6; Wed, 13 Sep 2017 22:47:02 +0000 (UTC)", "from mail-qk0-f196.google.com (mail-qk0-f196.google.com\n\t[209.85.220.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 2497CC21CB0\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 22:47:02 +0000 (UTC)", "by mail-qk0-f196.google.com with SMTP id d70so995569qkc.1\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 15:47:02 -0700 (PDT)", "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tt32sm10585290qtb.5.2017.09.13.15.46.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Sep 2017 15:46:59 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=25xPxLX/4MwaS9eIhoHTmi+yebfBrgZ/NiQ1ZwBLrFA=;\n\tb=epeBVj6XrotzJRmICbzoXUXrDoe4ERkScy8wZWd3aqARqJnVozCyIa7ZLJZaDd8WDO\n\tn2zXru5ZdqgavjlSUD43KD6+G/pS5ZfXLK2zFIgFXvkLeO8yaDfAgShAJwU/GPjrBWsy\n\tOCXKlalJFA0Ri2iWpuFn4z3rCeEDSHisode8h1JwK7Ia4JyuFop17G91HlcQVzESzH6z\n\tEoJ0VwMnSeuMnZjA8vy7AG44MQBn4d4td+jv/TGFiHvW3Ov2gqNH3dooyT6LwpQWECK2\n\tUuApP10BdTpTSNxDH284kaDmBVVeeAC+lXf+DPaoN/gyVWwzTa4sIIePOvbupRrvCNIh\n\t9W6g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=25xPxLX/4MwaS9eIhoHTmi+yebfBrgZ/NiQ1ZwBLrFA=;\n\tb=UWkH4dy30WXGBSVpk1sET8Bx6TILYw0WGB7dX51xFjiyIcWSSBKQdgfJlPY5iZ9azK\n\t+CjHeyL8ovE4hwOyEz+wI53rEf71zVSr6V/P0nq+NDsClv25dAIFFcHXQcCieO0O5lja\n\t0IjaZKnjiWU2JyRRNMzBoqRuc0kNPdUvI51og1Jbh3KWQ20s3QUNBmFOo2q5Bcgc1sxx\n\tH2Jfhq6OQdj5yCo4nnBMvKnENIbE5HjrZHabRKrb9MIFmuMrXffflIubeo9k7pbd0USI\n\tndHpHPMvteAixl8CIqEDs4Kgi724mAghVqFazjX8/Rq+3yzwtxNKq237qtKmFDFe4Wfi\n\tuMrQ==", "X-Gm-Message-State": "AHPjjUjrJ+mozEEWSn8fXaU/WVOOvV3p12mfr2aHtzCuKLUeDF0e++2Y\n\tu36gk3u9kqxkWS0C+ww=", "X-Google-Smtp-Source": "AOwi7QB/qyE5IoL3kI6FKuy08BlI5tao5iz+hORR20Akrd/8Fyj4s6DRchjTjaSxfDdDfBYIANS/6w==", "X-Received": "by 10.55.78.151 with SMTP id c145mr119073qkb.105.1505342820545; \n\tWed, 13 Sep 2017 15:47:00 -0700 (PDT)", "From": "Rob Clark <robdclark@gmail.com>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Wed, 13 Sep 2017 18:46:54 -0400", "Message-Id": "<20170913224657.23321-1-robdclark@gmail.com>", "X-Mailer": "git-send-email 2.13.5", "Subject": "[U-Boot] [PATCH] test: print_ut: Add test for %ls strings", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Add a simple test for long strings.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n test/print_ut.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/test/print_ut.c b/test/print_ut.c\nindex baad289972..a42c554bef 100644\n--- a/test/print_ut.c\n+++ b/test/print_ut.c\n@@ -36,6 +36,9 @@ static int do_ut_print(cmd_tbl_t *cmdtp, int flag, int argc,\n \tsnprintf(str, 0, \"testing none\");\n \tassert(*str == 'x');\n \n+\tsprintf(big_str, \"_%ls_\", L\"foo\");\n+\tassert(!strcmp(\"_foo_\", big_str));\n+\n \t/* Test the banner function */\n \ts = display_options_get_banner(true, str, sizeof(str));\n \tassert(s == str);\n", "prefixes": [ "U-Boot" ] }