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:
Martin Ågren 2020-02-23 09:48:35 +01:00 коммит произвёл Junio C Hamano
Родитель 91de82adc9
Коммит cac439b56d
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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 &&