Skip to content

Commit

Permalink
testsuite: verify module list shows services
Browse files Browse the repository at this point in the history
Check that test module 'parent' shows two fake
service names for 'child' module.
  • Loading branch information
garlick committed Nov 28, 2018
1 parent 6dde222 commit 5f0e2e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/t0003-module.t
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ test_expect_success 'module: lsmod shows submodule (all ranks)' '
flux module list -r all parent | grep parent.child
'

test_expect_success 'module: lsmod shows two extra services' '
flux module list -r all parent | grep child >child.lsmod.out &&
grep -q test1 child.lsmod.out &&
grep -q test2 child.lsmod.out
'

test_expect_success 'module: unload submodule (all ranks)' '
flux module remove -r all parent.child
'
Expand Down

0 comments on commit 5f0e2e8

Please sign in to comment.