From patchwork Tue Jun 11 21:06:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Tan X-Patchwork-Id: 10988281 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 001B313AF for ; Tue, 11 Jun 2019 21:06:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E589B28478 for ; Tue, 11 Jun 2019 21:06:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA0902870B; Tue, 11 Jun 2019 21:06:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, USER_IN_DEF_DKIM_WL autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E7EC28478 for ; Tue, 11 Jun 2019 21:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406893AbfFKVGv (ORCPT ); Tue, 11 Jun 2019 17:06:51 -0400 Received: from mail-pf1-f202.google.com ([209.85.210.202]:37557 "EHLO mail-pf1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406793AbfFKVGv (ORCPT ); Tue, 11 Jun 2019 17:06:51 -0400 Received: by mail-pf1-f202.google.com with SMTP id x18so10442918pfj.4 for ; Tue, 11 Jun 2019 14:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=TY/pc/O4K+09a8iX32rX2S2j6uX1+FsQZvoILLyOFWc=; b=lEaCP18icfG71a7R5p2uhPWll7u/TrsReLDmk0IrrNy7lcYy1dlyXgJy/0HhtdQQOt wF65wl+NTp6z58Y+q6rRAIJ0ZIMcTx2Sn7aR9RUlK3JdPd8gZBj4orvNMs3YselEiwm1 mW5aUmXNpE8ieBsn9WMwTEtsON8ngp9kcK9kFG31eFNpCgqMiyd/ECcJM7qyjCvwDu8s hPEkyz44yZ5ml5lAr0xn8yQfwQmga4M9jSttYLn4WXTZ+ag+jrS5Hs7NRyJTRHkOtbQ8 M8/897X4KhDPATSuf1oJrWK3XSDK4w6ztrxWKPKwXSwgKtZlOnKUMjdUHQ9u8QqoGD/S N3LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=TY/pc/O4K+09a8iX32rX2S2j6uX1+FsQZvoILLyOFWc=; b=su23T6BS4cJdyYiW0qxz8m5XpCszlRYlG4FHDcRVRiCzpLLOUkDVOYVfN5JDJSAcqQ iejUhfMnEato7Wgr203tXRVqMC6djhgOTLqzlL2td8by7JuKDy0xBIyUQ/OIPeDuz2gC MnNjqbdHIfj+/o8rzT4eqDyLSI0EkpRiiMrtprLRJFjXhiKJJyA75ZXZezAhnDQHyfXc mzMkq0cZeHS9lDZz+ImvSI3O7O7GxDNM2fhc5AGVgi2rMLosQZJkNuzBUEYiSbPdzu4l w1rxHSXrK9ouSY9csKjVKpK3MGXXTmrg35rEqNiNVBa5vtv19vxo1+SFOGawAGHoamQn 7lAA== X-Gm-Message-State: APjAAAUMbvmwF4c+YQTU4l75Rvpw8ismu1taVTTiieId10TZJ/6ecg/p R0kuNaUW/QoSAKI7mf6LfyVU70FTTGT6fuQoJnPwq0zPKi5sYddu4Yhuwm4nLM5PPDjpAse1AQD E1f0OvdMGYc9bVOlkG3eI8/zZw+0gDtY0AW9UNi54Z6ErHIetvnSQzxXrJQb2NTMLWHEcUj2iPJ bN X-Google-Smtp-Source: APXvYqwfDq9R7B9mGVpevEIIDTHUGjIrVjHwukwQrtT1i9zFfYYuNcp1GJDWp6wh2U7ACY4TB8LaJ+3LL20bBOyDxKt4 X-Received: by 2002:a63:8841:: with SMTP id l62mr20255991pgd.246.1560287210080; Tue, 11 Jun 2019 14:06:50 -0700 (PDT) Date: Tue, 11 Jun 2019 14:06:45 -0700 Message-Id: Mime-Version: 1.0 X-Mailer: git-send-email 2.22.0.rc2.383.gf4fbbf30c2-goog Subject: [PATCH 0/2] Improve test code coverage on jt/partial-clone-missing-ref-delta-base From: Jonathan Tan To: git@vger.kernel.org Cc: Jonathan Tan , stolee@gmail.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series is on jt/partial-clone-missing-ref-delta-base. Patch 1 is a cleanup, and patch 2 improves test code coverage. Thanks to Stolee for the code coverage report. I have checked this by running `make coverage` then `make cover_db_html` on both "next" and this series, and comparing the output - the relevant line indeed shows up as uncovered on "next", and covered on this. Jonathan Tan (2): t5616: use correct flag to check object is missing t5616: cover case of client having delta base t/t5616-partial-clone.sh | 41 ++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-)