Raw profile data file may contain lines truncated due to unexpected app exit. This change is to have merge_fdata check number of fields in each line of raw profile data file and ignore a line if the number is not expected.
21 lines
432 B
Plaintext
21 lines
432 B
Plaintext
## Check that merge-fdata correctly handles merging two fdata files with both boltedcollection and no_lbr tags.
|
|
|
|
# REQUIRES: system-linux
|
|
|
|
# RUN: split-file %s %t
|
|
# RUN: merge-fdata %t/a.fdata %t/b.fdata -o %t/merged.fdata
|
|
# RUN: FileCheck %s --input-file %t/merged.fdata
|
|
|
|
# CHECK: boltedcollection
|
|
# CHECK: no_lbr
|
|
# CHECK: 1 main 0 2
|
|
|
|
#--- a.fdata
|
|
boltedcollection
|
|
no_lbr
|
|
1 main 0 1
|
|
#--- b.fdata
|
|
boltedcollection
|
|
no_lbr
|
|
1 main 0 1
|