Replace "runstatus" with "status" in the tests
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>maint
parent
1200993a1e
commit
637efc3456
|
@ -86,7 +86,7 @@ EOF
|
||||||
|
|
||||||
git config core.excludesFile excludes-file
|
git config core.excludesFile excludes-file
|
||||||
|
|
||||||
git runstatus | grep "^# " > output
|
git status | grep "^# " > output
|
||||||
|
|
||||||
cat > expect << EOF
|
cat > expect << EOF
|
||||||
# .gitignore
|
# .gitignore
|
||||||
|
|
|
@ -71,10 +71,10 @@ test_expect_success 'favour same basenames over different ones' '
|
||||||
git rm path1 &&
|
git rm path1 &&
|
||||||
mkdir subdir &&
|
mkdir subdir &&
|
||||||
git mv another-path subdir/path1 &&
|
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' '
|
test_expect_success 'favour same basenames even with minor differences' '
|
||||||
git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
|
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
|
test_done
|
||||||
|
|
Loading…
Reference in New Issue