Code

Replace "runstatus" with "status" in the tests
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 15 Nov 2007 06:27:57 +0000 (06:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:04 +0000 (17:05 -0800)
We no longer have "runstatus", but running "status" is no longer that
expensive anyway; it is a builtin.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3001-ls-files-others-exclude.sh
t/t4001-diff-rename.sh

index ae0639d8f3a3fa428dca31df55193487a74b5b57..e25b25568337ae36a5ef1377a14df031d5dfaeb1 100755 (executable)
@@ -86,7 +86,7 @@ EOF
 
 git config core.excludesFile excludes-file
 
-git runstatus | grep "^#       " > output
+git status | grep "^#  " > output
 
 cat > expect << EOF
 #      .gitignore
index 063e79257a6e96d9021fa41d18a632560a272776..877c1ea5db4b99f088db6f5e38a6833abc3cfef5 100755 (executable)
@@ -71,10 +71,10 @@ test_expect_success 'favour same basenames over different ones' '
        git rm path1 &&
        mkdir subdir &&
        git mv another-path subdir/path1 &&
-       git runstatus | grep "renamed: .*path1 -> subdir/path1"'
+       git status | grep "renamed: .*path1 -> subdir/path1"'
 
 test_expect_success  'favour same basenames even with minor differences' '
        git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
-       git runstatus | grep "renamed: .*path1 -> subdir/path1"'
+       git status | grep "renamed: .*path1 -> subdir/path1"'
 
 test_done