Re: [PATCH 3/4] rev-parse test: use test_cmp instead of "test" builtin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 3, 2013 at 12:07 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:

>  test_expect_success 'start^0' '
> -       test $(cat .git/refs/tags/start) = $(git rev-parse start^0)
> +       test_cmp_rev_output tags/start "git rev-parse start^0"
>  '

Backwards and yodaish this is.

-- 
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]