mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-31 07:06:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			652 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			652 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| use base "installedtest";
 | |
| use strict;
 | |
| use testapi;
 | |
| use utils;
 | |
| sub run {
 | |
|     my $self=shift;
 | |
|     my $hook_run = 0;
 | |
|     # switch to tty and login as root
 | |
|     $self->root_console(tty=>3);
 | |
| 
 | |
|     # Check that modularity works, that a particular module is available in the system, 
 | |
|     # and display information about that module.
 | |
|     assert_script_run('/root/modularity/modular_functions.py -m dwm -s 6.1 -a list');
 | |
| 
 | |
|     # Check that module can be enabled and disabled.
 | |
|     assert_script_run('/root/modularity/modular_functions.py -m dwm -s 6.1 -a enable,disable -f hard'); 
 | |
| 
 | |
| }
 | |
| 
 | |
| sub test_flags {
 | |
|     return {always_rollback => 1};
 | |
| }
 | |
| 
 | |
| 1;
 | |
| 
 | |
| # vim: set sw=4 et:
 |