[PATCH] test: fix an evident copy-paste error in argument parsing test
authorJani Nikula <jani@nikula.org>
Mon, 3 Dec 2012 22:54:52 +0000 (00:54 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:24 +0000 (09:51 -0800)
35/99332ce69538223828fe2448f08742d59cae16 [new file with mode: 0644]

diff --git a/35/99332ce69538223828fe2448f08742d59cae16 b/35/99332ce69538223828fe2448f08742d59cae16
new file mode 100644 (file)
index 0000000..deb3fdf
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 66F72431FBC\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 14:54:57 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id pAYZnMuWaE4g for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Dec 2012 14:54:57 -0800 (PST)\r
+Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C6EEF431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 14:54:56 -0800 (PST)\r
+Received: by mail-la0-f53.google.com with SMTP id w12so2839577lag.26\r
+       for <notmuch@notmuchmail.org>; Mon, 03 Dec 2012 14:54:55 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+       bh=Fm+OKwhVrzTJEpBR3NrGlB5zYc090NXSbVJl7g2XIAA=;\r
+       b=ZsMRBFo/+aIatkGkAIraSkl90wamoDYLf8GE8gPg9g1EaLJgFQf8dIkyVt+ELv4Dxa\r
+       6n0JOaFtCs1B6Luo2g5nm2kPV9LqcWibbjfG3lc0VAxlXT1a6ee0Fi/R9prs9/7lzoLb\r
+       xZfG6iqoZwG2XVQsID5YdHetL/EJ31bZUrdf6lai83LI5U/ip4vOEIUTziHLY0MTPs/Z\r
+       GJ387+9dVSjh8qOuFqlhLSxooXuwsSphT9gHhrnyumYQ8/O0OM/EwfHpsI4CfJtCvbbg\r
+       OuLa3idbweumSd8axtQEZ48QXf/lpWzNFEqZgzQuUyv6un6f4LRd+gNj647xCJp+Be+V\r
+       YwWA==\r
+Received: by 10.152.147.100 with SMTP id tj4mr10917943lab.42.1354575295322;\r
+       Mon, 03 Dec 2012 14:54:55 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id hu6sm5899276lab.13.2012.12.03.14.54.53\r
+       (version=SSLv3 cipher=OTHER); Mon, 03 Dec 2012 14:54:54 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] test: fix an evident copy-paste error in argument parsing\r
+ test\r
+Date: Tue,  4 Dec 2012 00:54:52 +0200\r
+Message-Id: <1354575292-8680-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQkPoGwryPUj+5sgT5fl0JgJDMX8lbCkg468tnVzsQYwrA3XH1jX4gSfghZhR2+pivSULA6n\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Dec 2012 22:54:57 -0000\r
+\r
+---\r
+ test/arg-test.c       |    2 +-\r
+ test/argument-parsing |    2 +-\r
+ 2 files changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/test/arg-test.c b/test/arg-test.c\r
+index adc56e3..6c49eac 100644\r
+--- a/test/arg-test.c\r
++++ b/test/arg-test.c\r
+@@ -41,7 +41,7 @@ int main(int argc, char **argv){\r
+       printf("positional arg 1 %s\n", pos_arg1);\r
+ \r
+     if (pos_arg2)\r
+-      printf("positional arg 2 %s\n", pos_arg1);\r
++      printf("positional arg 2 %s\n", pos_arg2);\r
+ \r
+ \r
+     for ( ; opt_index < argc ; opt_index ++) {\r
+diff --git a/test/argument-parsing b/test/argument-parsing\r
+index 672de0b..94e9087 100755\r
+--- a/test/argument-parsing\r
++++ b/test/argument-parsing\r
+@@ -9,7 +9,7 @@ keyword 1\r
+ int 7\r
+ string foo\r
+ positional arg 1 pos1\r
+-positional arg 2 pos1\r
++positional arg 2 pos2\r
+ EOF\r
+ test_expect_equal_file OUTPUT EXPECTED\r
+ \r
+-- \r
+1.7.10.4\r
+\r