Skip to content

Commit

Permalink
workqueue: add test for helper of previous commit.
Browse files Browse the repository at this point in the history
Signed-off-by: Imran Khan <[email protected]>
  • Loading branch information
imran-kn committed Jan 15, 2025
1 parent ab8d798 commit a9b967d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_workqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,9 @@ def test_for_each_pending_work_of_pwq(prog: drgn.Program) -> None:

def test_show_all_workqueues(prog: drgn.Program) -> None:
wq.show_all_workqueues(prog)


def test_show_unexpired_delayed_works(
prog: drgn.Program,
) -> None:
wq.show_unexpired_delayed_works(prog)

0 comments on commit a9b967d

Please sign in to comment.