Skip to content

Commit

Permalink
Update preconditions for execsnoop.
Browse files Browse the repository at this point in the history
bpf_get_current_task is only available in 4.8 and above.

Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera committed Jul 14, 2018
1 parent 4fae497 commit d46f4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/test_tools_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_deadlock_detector(self):
# self.run_with_int("deadlock_detector.py $(pgrep -n bash)", timeout=10)
pass

@skipUnless(kernel_version_ge(4,4), "requires kernel >= 4.4")
@skipUnless(kernel_version_ge(4,8), "requires kernel >= 4.8")
def test_execsnoop(self):
self.run_with_int("execsnoop.py")

Expand Down

0 comments on commit d46f4f4

Please sign in to comment.