Skip to content

Commit

Permalink
Fix call.str runtime test
Browse files Browse the repository at this point in the history
As described in #702, the kernel syscall stubs have recently
changed.

Use tracepoint instead to make tests work on more systems.
  • Loading branch information
danobi authored and ajor committed Jun 2, 2019
1 parent 27a334c commit 8afbc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runtime/call
Expand Up @@ -29,7 +29,7 @@ EXPECT A
TIMEOUT 5

NAME str
RUN bpftrace -v -e 'k:sys_execve { printf("P: %s\n", str(arg0)); exit();}'
RUN bpftrace -v -e 't:syscalls:sys_enter_execve { printf("P: %s\n", str(args->filename)); exit();}'
AFTER ls
EXPECT P: /*.
TIMEOUT 5
Expand Down

0 comments on commit 8afbc22

Please sign in to comment.