bindctl_commands.feature 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Feature: control with bindctl
  2. Assorted tests using bindctl for the administration of BIND 10.
  3. Scenario: Removing modules
  4. # This test runs the original example configuration, which has
  5. # a number of modules. It then removes all non-essential modules,
  6. # and checks whether they do disappear from the list of running
  7. # modules (note that it 'misuses' the help command for this,
  8. # there is a Boss command 'show_processes' but it's output is
  9. # currently less standardized than 'help')
  10. Given I have bind10 running with configuration example.org.config
  11. Then remove bind10 configuration Boss/components/NOSUCHMODULE
  12. last bindctl output should contain Error
  13. bind10 module Xfrout should be running
  14. bind10 module Stats should be running
  15. bind10 module Zonemgr should be running
  16. bind10 module Xfrin should be running
  17. bind10 module Auth should be running
  18. bind10 module StatsHttpd should be running
  19. Then remove bind10 configuration Boss/components value b10-xfrout
  20. last bindctl output should not contain Error
  21. # assuming it won't error for further modules (if it does, the final
  22. # 'should not be running' tests would fail anyway)
  23. Then remove bind10 configuration Boss/components value b10-stats
  24. Then remove bind10 configuration Boss/components value b10-zonemgr
  25. Then remove bind10 configuration Boss/components value b10-xfrin
  26. Then remove bind10 configuration Boss/components value b10-auth
  27. Then remove bind10 configuration Boss/components value b10-stats-httpd
  28. bind10 module Xfrout should not be running
  29. bind10 module Stats should not be running
  30. bind10 module Zonemgr should not be running
  31. bind10 module Xfrin should not be running
  32. bind10 module Auth should not be running
  33. bind10 module StatsHttpd should not be running