threads / discuss / 31875

Problems with ./t9902-completion.sh

Subject: Problems with ./t9902-completion.sh

## tl;dr

2 messages between Oct 20, 2012 and Oct 20, 2012.

replies: 1people: 1as markdown or json

Torsten Bögershausen· Oct 20, 2012, 12:02 UTC · lore

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· Oct 20, 2012, 12:50 UTC · re: Torsten Bögershausen · lore

Re: Problems with ./t9902-completion.sh

On 20.10.12 14:02, Torsten Bögershausen wrote:
Show 6 quoted lines
> 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.

← back to recent threads