From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,LIST_MIRROR_RECEIVED,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 63F6A1F670 for ; Tue, 1 Mar 2022 19:59:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235257AbiCAT75 (ORCPT ); Tue, 1 Mar 2022 14:59:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232694AbiCAT74 (ORCPT ); Tue, 1 Mar 2022 14:59:56 -0500 Received: from bsmtp1.bon.at (bsmtp1.bon.at [213.33.87.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73D535866 for ; Tue, 1 Mar 2022 11:59:14 -0800 (PST) Received: from [192.168.0.98] (unknown [93.83.142.38]) by bsmtp1.bon.at (Postfix) with ESMTPSA id 4K7SkR0gY7z5tlB; Tue, 1 Mar 2022 20:59:11 +0100 (CET) Message-ID: <1480c08e-940b-cc7e-9e92-5fe3b951d34a@kdbg.org> Date: Tue, 1 Mar 2022 20:59:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] userdiff: add builtin diff driver for Kotlin language. Content-Language: en-US To: jaydeepjd.8914@gmail.com References: <20220301070226.2477769-1-jaydeepjd.8914@gmail.com> <20220301155431.2534136-1-jaydeepjd.8914@gmail.com> Cc: Junio C Hamano , git@vger.kernel.org From: Johannes Sixt In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Am 01.03.22 um 19:09 schrieb jaydeepjd.8914@gmail.com: > When any test fails, its verbose output is not "verbose" enough. > For example, If due to wrong xfuncname regex or wrong test, all of the > following hunk headers > > @@...@@ > @@...@@fun right(){ > @@...@@fun > > produce the same verbose output: > > `not ok:....hunk header:[testfilename]` You run ./t4018-diff-funcname.sh -v -i which stops at the first failing test case. You get expecting success of 4018.160 'hunk header: kotlin-interface': git diff -U1 kotlin-interface >actual && grep '@@ .* @@.*RIGHT' actual not ok 160 - hunk header: kotlin-interface # # git diff -U1 kotlin-interface >actual && # grep '@@ .* @@.*RIGHT' actual # from which you see that you have to inspect the file actual: less trash\ directory.t4018-diff-funcname/actual -- Hannes