]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t9810: drop debug `cat` call
authorMartin Ågren <martin.agren@gmail.com>
Sun, 23 Feb 2020 08:48:35 +0000 (09:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 19:18:24 +0000 (11:18 -0800)
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>
t/t9810-git-p4-rcs.sh

index 57b533dc6fbaa9d9b82bdaf300b46a426c7b43b7..e3836888ec8b322cf1032d9a1804fec915c10b11 100755 (executable)
@@ -294,7 +294,6 @@ test_expect_success 'cope with rcs keyword file deletion' '
                echo "\$Revision\$" >kwdelfile.c &&
                p4 add -t ktext kwdelfile.c &&
                p4 submit -d "Add file to be deleted" &&
-               cat kwdelfile.c &&
                grep 1 kwdelfile.c
        ) &&
        git p4 clone --dest="$git" //depot &&