зеркало из https://github.com/microsoft/git.git
t9810: drop debug `cat` call
We `cat` kwdelfile.c, but don't inspect or grab the contents in any way. This looks like a remnant from a debug session. Similar to the previous commit, one could argue that `cat`-ing the file verifies that it didn't disappear somehow. But because the very next thing we do after `cat`-ing the file is to `grep` in it, we can safely drop the call to `cat`. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
91de82adc9
Коммит
cac439b56d
|
@ -294,7 +294,6 @@ test_expect_success 'cope with rcs keyword file deletion' '
|
||||||
echo "\$Revision\$" >kwdelfile.c &&
|
echo "\$Revision\$" >kwdelfile.c &&
|
||||||
p4 add -t ktext kwdelfile.c &&
|
p4 add -t ktext kwdelfile.c &&
|
||||||
p4 submit -d "Add file to be deleted" &&
|
p4 submit -d "Add file to be deleted" &&
|
||||||
cat kwdelfile.c &&
|
|
||||||
grep 1 kwdelfile.c
|
grep 1 kwdelfile.c
|
||||||
) &&
|
) &&
|
||||||
git p4 clone --dest="$git" //depot &&
|
git p4 clone --dest="$git" //depot &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче