# Problems with ./t9902-completion.sh

2 messages from 2012-10-20 to 2012-10-20. Participants: Torsten Bögershausen.
Thread: https://gitlist.dev/t/31875

## Torsten Bögershausen, 2012-10-20 12:02

Subject: Problems with ./t9902-completion.sh
Message-ID: <508292DC.8030700@web.de>
URL: https://gitlist.dev/e/508292DC.8030700%40web.de

```
t9902  does not work on my Mac OS box,
but only in one working directory.

Any idea where the "check-ignore" comea from ?
/Torsten


[snip]
--- expected    2012-10-20 11:54:35.000000000 +0000
+++ out    2012-10-20 11:54:35.000000000 +0000
@@ -1 +1,2 @@
+check-ignore
 checkout

This patch corrects the problem:
(s/check"/checko"/)


diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index cbd0fb6..0df751b 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -222,19 +222,19 @@ test_expect_success 'general options' '
 '
 
 test_expect_success 'general options plus command' '
-       test_completion "git --version check" "checkout " &&
-       test_completion "git --paginate check" "checkout " &&
-       test_completion "git --git-dir=foo check" "checkout " &&
-       test_completion "git --bare check" "checkout " &&
+       test_completion "git --version checko" "checkout " &&
+       test_completion "git --paginate checko" "checkout " &&
+       test_completion "git --git-dir=foo checko" "checkout " &&
+       test_completion "git --bare checko" "checkout " &&
        test_completion "git --help des" "describe " &&
-       test_completion "git --exec-path=foo check" "checkout " &&
-       test_completion "git --html-path check" "checkout " &&
-       test_completion "git --no-pager check" "checkout " &&
-       test_completion "git --work-tree=foo check" "checkout " &&
-       test_completion "git --namespace=foo check" "checkout " &&
-       test_completion "git --paginate check" "checkout " &&
-       test_completion "git --info-path check" "checkout " &&
-       test_completion "git --no-replace-objects check" "checkout "
+       test_completion "git --exec-path=foo checko" "checkout " &&
+       test_completion "git --html-path checko" "checkout " &&
+       test_completion "git --no-pager checko" "checkout " &&
+       test_completion "git --work-tree=foo checko" "checkout " &&
+       test_completion "git --namespace=foo checko" "checkout " &&
+       test_completion "git --paginate checko" "checkout " &&
+       test_completion "git --info-path checko" "checkout " &&
+       test_completion "git --no-replace-objects checko" "checkout "
 '

```

## Torsten Bögershausen, 2012-10-20 12:50

Subject: Re: Problems with ./t9902-completion.sh
Message-ID: <50829E0F.5040900@web.de>
URL: https://gitlist.dev/e/50829E0F.5040900%40web.de
In-Reply-To: <508292DC.8030700@web.de>

```
On 20.10.12 14:02, Torsten Bögershausen wrote:
> t9902  does not work on my Mac OS box,
> but only in one working directory.
> 
> Any idea where the "check-ignore" comea from ?
> /Torsten
> 


Oh, I find the answer myself:
 git status

# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#       ../git-check-ignore

From some experiments there was a git-check-ignore left.
(and make clean doesn't delete it)

sorry for the noise.

```
