On 1/23/2021 3:29 PM, Elijah Newren wrote: > On Sat, Jan 23, 2021 at 11:58 AM Derrick Stolee via GitGitGadget > <gitgitgadget@xxxxxxxxx> wrote: >> >> This is based on ds/cache-tree-basics. ... >> -+ grep -e "\"region_enter\".*\"category\":\"$1\",\"label\":\"$2\"" "$3" >> ++ grep -e '"region_enter".*"category":"'"$1"'","label":"'"$2"\" "$3" >> + exitcode=$? >> + >> -+ if test $exitcode != $expect_exit >> ++ if test $exitcode != $expect_exit = 1] > > I don't understand this change. Is it even valid code? What does it mean? > >> + then >> + return 1 >> + fi >> + >> -+ grep -e "\"region_leave\".*\"category\":\"$1\",\"label\":\"$2\"" "$3" >> ++ grep -e '"region_leave".*"category":"'"$1"'","label":"'"$2"\" "$3" >> + exitcode=$? >> + >> -+ if test $exitcode != $expect_exit >> ++ if test $exitcode != $expect_exit = 1] > > Same comment Wow. I am sorry this snuck in. It's an artifact of what I was trying [1] in response to Junio's comments, but then did not completely undo. I'm surprised this ran without error. Will fix. [1] https://lore.kernel.org/git/8406512b-3d9f-e899-24fd-8a09c4af3569@xxxxxxxxx/