bpftrace autopkgtest failure
Bug #2073485 reported by
Mate Kukri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bpftrace (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
bpftrace failing to migrate due to autopkgtest failure https:/
it is also blocking the new linux-meta
The basic.defines test is failing.
The following command is valid in bash.
RUN {{BPFTRACE}} -e "$(echo '#define _UNDERSCORE 314'; echo 'BEGIN { printf("%d\n", _UNDERSCORE); exit(); }')"
But in the test runner dash will be used, which cannot parse the above correctly. Instead I came up with the below replacement that parses in dash producing an equivalent result.
RUN {{BPFTRACE}} -e "$(printf '#define _UNDERSCORE 314\n'; printf 'BEGIN { printf("%%d\\n", _UNDERSCORE); exit(); }')"