Re: typo patern -> pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 5/15/24 12:52 PM, Junio C Hamano wrote:
Marcel Telka <marcel@xxxxxxxx> writes:


There seems to be apparent typo in the t/ file:

--- a/t/
+++ b/t/
@@ -233,7 +233,7 @@ have_counter_event () {
pattern="d0|${thread}|${event}||||${category}|name:${name} value:${value}" && - grep "${patern}" ${file}
+       grep "${pattern}" ${file}
test_expect_success 'global counter test/test1' '

Ah, indeed, there is no assignment to the variable $patern so this
grep matches by looking for all the empty strings in the file X-<.


Thanks for the fix.

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux