mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-11-03 16:46:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			331 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			331 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
use base "installedtest";
 | 
						|
use strict;
 | 
						|
use testapi;
 | 
						|
use utils;
 | 
						|
 | 
						|
sub run {
 | 
						|
    my $self = shift;
 | 
						|
    # switch to TTY3 for both, graphical and console tests
 | 
						|
    $self->root_console(tty => 3);
 | 
						|
    validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
sub test_flags {
 | 
						|
    return {fatal => 1};
 | 
						|
}
 | 
						|
 | 
						|
1;
 | 
						|
 | 
						|
# vim: set sw=4 et:
 |