Skip to content
  • Johannes Sixt's avatar
    tests: fix negated test_i18ngrep calls · 41ca19b6
    Johannes Sixt authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The helper function test_i18ngrep pretends that it found the expected
    results when it is running under GETTEXT_POISON. For this reason, it must
    not be used negated like so
    
       ! test_i18ngrep foo bar
    
    because the test case would fail under GETTEXT_POISON. The function offers
    a special syntax to test that a pattern is *not* found:
    
       test_i18ngrep ! foo bar
    
    Convert incorrect uses to this syntax.
    
    Signed-off-by: default avatarJohannes Sixt <j6t@kdbg.org>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    41ca19b6