summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2020-02-23 08:48:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 19:18:24 (GMT)
commitcac439b56dd888d346b021b3b606d5e7bc3595d0 (patch)
treef5eb3747fa40da90dcc11388f6eed932c2553864
parent91de82adc9f467c58b10fbcf79a62aa599796456 (diff)
downloadgit-cac439b56dd888d346b021b3b606d5e7bc3595d0.zip
git-cac439b56dd888d346b021b3b606d5e7bc3595d0.tar.gz
git-cac439b56dd888d346b021b3b606d5e7bc3595d0.tar.bz2
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>
-rwxr-xr-xt/t9810-git-p4-rcs.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t9810-git-p4-rcs.sh b/t/t9810-git-p4-rcs.sh
index 57b533d..e383688 100755
--- a/t/t9810-git-p4-rcs.sh
+++ b/t/t9810-git-p4-rcs.sh
@@ -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 &&