Re: [PATCH v2] tests: add initial bash completion tests

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

 



On Thu, Apr 12, 2012 at 12:57 AM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:

> +test_expect_success 'double dash' '
> +       cat >expected <<-\EOF &&
> +       --paginate
> +       --no-pager
> +       --git-dir=
> +       --bare
> +       --version
> +       --exec-path
> +       --html-path
> +       --work-tree=
> +       --namespace=
> +       --help
> +       EOF
> +       test_completion "git --"

There's a mistake here ^.

--- b/t/t9902-completion.sh
+++ a/t/t9902-completion.sh
@@ -96,7 +96,7 @@ test_expect_success 'double dash' '
        --namespace=
        --help Z
        EOF
-       test_completion "git --"
+       test_completion "git --" &&

        sed -e "s/Z$//" >expected <<-\EOF &&
        --quiet Z

-- 
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]