Skip to content

Commit

Permalink
Replace "runstatus" with "status" in the tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Nov 23, 2007
1 parent 1200993 commit 637efc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/t3001-ls-files-others-exclude.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ EOF

git config core.excludesFile excludes-file

git runstatus | grep "^# " > output
git status | grep "^# " > output

cat > expect << EOF
# .gitignore
Expand Down
4 changes: 2 additions & 2 deletions t/t4001-diff-rename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 637efc3

Please sign in to comment.