bpftrace autopkgtest failure

Bug #2073485 reported by Mate Kukri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bpftrace (Ubuntu)
Won't Fix
Undecided
Unassigned
Mate Kukri (mkukri)
description: updated
Revision history for this message
Mate Kukri (mkukri) wrote :
Revision history for this message
Mate Kukri (mkukri) wrote :

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(); }')"

Revision history for this message
Mate Kukri (mkukri) wrote :

It seems like this is being worked on by someone else: https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2073120

Changed in bpftrace (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.