Skip to content
  • Pete Wyckoff's avatar
    git p4 test: run as user "author" · 0055b56e
    Pete Wyckoff authored and Junio C Hamano's avatar Junio C Hamano committed
    The tests use author@example.com as the canonical submitter,
    but he does not have an entry in the p4 users database.
    This causes the generated change description to complain
    that the git and p4 users disagree.  The complaint message
    is still valid, but isn't useful in tests.  It was introduced
    in 848de9c3 (git-p4: warn if git authorship won't be retained,
    2011-05-13).
    
    Fix t9813 to use @example.com instead of @localhost
    
     due to
    change in p4_add_user().  Move the function into the git p4
    test library so author can be added at initialization time.
    
    Signed-off-by: default avatarPete Wyckoff <pw@padd.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    0055b56e