@matheusbsbs / matheus-bagliano / commits / cac439b56d
Fork 0

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>

Martin Ågren committed Feb 23, 2020 at 09:48 UTC cac439b56dd888d346b021b3b606d5e7bc3595d0
1 file changed -1
t/t9810-git-p4-rcs.sh
-1
@@ -294,7 +294,6 @@ test_expect_success 'cope with rcs keyword file deletion' '
294 echo "\$Revision\$" >kwdelfile.c &&
295 p4 add -t ktext kwdelfile.c &&
296 p4 submit -d "Add file to be deleted" &&
297 - cat kwdelfile.c &&
297 grep 1 kwdelfile.c
298 ) &&
299 git p4 clone --dest="$git" //depot &&