Skip to content

Commit

Permalink
Add --unsafe to more runtime tests
Browse files Browse the repository at this point in the history
I missed these in the first pass.
  • Loading branch information
danobi committed May 14, 2019
1 parent 4156361 commit 8b2234a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/runtime/call
Expand Up @@ -19,12 +19,12 @@ EXPECT [0-9]*-[0-9]*
TIMEOUT 5

NAME join
RUN bpftrace -v -e 'i:ms:1 { system("echo 'A'"); } kprobe:sys_execve { join(arg1); exit();}'
RUN bpftrace --unsafe -v -e 'i:ms:1 { system("echo 'A'"); } kprobe:sys_execve { join(arg1); exit();}'
EXPECT A
TIMEOUT 5

NAME join_delim
RUN bpftrace -v -e 'i:ms:1 { system("echo 'A'"); } kprobe:sys_execve { join(arg1, ","); exit();}'
RUN bpftrace --unsafe -v -e 'i:ms:1 { system("echo 'A'"); } kprobe:sys_execve { join(arg1, ","); exit();}'
EXPECT A
TIMEOUT 5

Expand All @@ -41,7 +41,7 @@ TIMEOUT 5
AFTER sleep 0.1

NAME system
RUN bpftrace -v -e 'i:ms:1 { system("echo 'ok_system'"); exit();}'
RUN bpftrace --unsafe -v -e 'i:ms:1 { system("echo 'ok_system'"); exit();}'
EXPECT ok_system
TIMEOUT 5

Expand Down

0 comments on commit 8b2234a

Please sign in to comment.