summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-08-09 15:00:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-08-09 17:48:02 (GMT)
commit742ed63345a6e26399fc08e9c711e9f3fd23cc2d (patch)
treefdc6ea5cf75ce683e00a7974e00a8954abd8f9ab /t
parente34430556c8cb7c99a561125df3c8f595c385e7e (diff)
downloadgit-742ed63345a6e26399fc08e9c711e9f3fd23cc2d.zip
git-742ed63345a6e26399fc08e9c711e9f3fd23cc2d.tar.gz
git-742ed63345a6e26399fc08e9c711e9f3fd23cc2d.tar.bz2
trace2: cleanup whitespace in perf format
Make use of new sq_append_quote_argv_pretty() to normalize how we handle leading whitespace in perf format messages. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t0211-trace2-perf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh
index 2c3ad6e..6ee8ee3 100755
--- a/t/t0211-trace2-perf.sh
+++ b/t/t0211-trace2-perf.sh
@@ -130,11 +130,11 @@ test_expect_success 'perf stream, child processes' '
d0|main|version|||||$V
d0|main|start||_T_ABS_|||_EXE_ trace2 004child test-tool trace2 004child test-tool trace2 001return 0
d0|main|cmd_name|||||trace2 (trace2)
- d0|main|child_start||_T_ABS_|||[ch0] class:? argv: test-tool trace2 004child test-tool trace2 001return 0
+ d0|main|child_start||_T_ABS_|||[ch0] class:? argv:[test-tool trace2 004child test-tool trace2 001return 0]
d1|main|version|||||$V
d1|main|start||_T_ABS_|||_EXE_ trace2 004child test-tool trace2 001return 0
d1|main|cmd_name|||||trace2 (trace2/trace2)
- d1|main|child_start||_T_ABS_|||[ch0] class:? argv: test-tool trace2 001return 0
+ d1|main|child_start||_T_ABS_|||[ch0] class:? argv:[test-tool trace2 001return 0]
d2|main|version|||||$V
d2|main|start||_T_ABS_|||_EXE_ trace2 001return 0
d2|main|cmd_name|||||trace2 (trace2/trace2/trace2)