@matheusbsbs / matheus-bagliano / commits / 637efc3456
Fork 0

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>

Johannes Schindelin committed Nov 15, 2007 at 06:27 UTC 637efc3456576d548ed5b42e70deffca42e7428e
2 files changed +3 -3
t/t3001-ls-files-others-exclude.sh
+1 -1
@@ -86,7 +86,7 @@ EOF
86
87 git config core.excludesFile excludes-file
88
89 -git runstatus | grep "^# " > output
89 +git status | grep "^# " > output
90
91 cat > expect << EOF
92 # .gitignore
t/t4001-diff-rename.sh
+2 -2
@@ -71,10 +71,10 @@ test_expect_success 'favour same basenames over different ones' '
71 git rm path1 &&
72 mkdir subdir &&
73 git mv another-path subdir/path1 &&
74 - git runstatus | grep "renamed: .*path1 -> subdir/path1"'
74 + git status | grep "renamed: .*path1 -> subdir/path1"'
75
76 test_expect_success 'favour same basenames even with minor differences' '
77 git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
78 - git runstatus | grep "renamed: .*path1 -> subdir/path1"'
78 + git status | grep "renamed: .*path1 -> subdir/path1"'
79
80 test_done