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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073485

Title:
  bpftrace autopkgtest failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2073485/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to