mirror of
https://github.com/fspc/gbootroot.git
synced 2025-04-04 07:43:22 -04:00
This saves state for tests within 1 program invocation.
This commit is contained in:
parent
2a2483ba7f
commit
36111d5a71
@ -1023,27 +1023,45 @@ sub yard_box {
|
|||||||
## }
|
## }
|
||||||
## );
|
## );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
my $test_fstab = $item_factory->get_item('/Tests/fstab');
|
my $test_fstab = $item_factory->get_item('/Tests/fstab');
|
||||||
$test_fstab->active(1);
|
$tests{30}{test_fstab} == 1 ? $test_fstab->active(1) :
|
||||||
|
$test_fstab->active(0);
|
||||||
|
|
||||||
my $test_inittab = $item_factory->get_item('/Tests/inittab');
|
my $test_inittab = $item_factory->get_item('/Tests/inittab');
|
||||||
$test_inittab->active(1);
|
$tests{31}{test_inittab} == 1 ? $test_inittab->active(1) :
|
||||||
|
$test_inittab->active(0);
|
||||||
|
|
||||||
my $test_scripts = $item_factory->get_item('/Tests/scripts');
|
my $test_scripts = $item_factory->get_item('/Tests/scripts');
|
||||||
$test_scripts->active(1);
|
$tests{32}{test_scripts} == 1 ? $test_scripts->active(1) :
|
||||||
|
$test_scripts->active(0);
|
||||||
|
|
||||||
my $test_links = $item_factory->get_item('/Tests/links');
|
my $test_links = $item_factory->get_item('/Tests/links');
|
||||||
$test_links->active(1);
|
$tests{33}{test_links} == 1 ? $test_links->active(1) :
|
||||||
|
$test_links->active(0);
|
||||||
|
|
||||||
my $test_passwd = $item_factory->get_item('/Tests/passwd');
|
my $test_passwd = $item_factory->get_item('/Tests/passwd');
|
||||||
$test_passwd->active(1);
|
$tests{34}{test_passwd} == 1 ? $test_passwd->active(1) :
|
||||||
|
$test_passwd->active(0);
|
||||||
|
|
||||||
my $test_pam = $item_factory->get_item('/Tests/pam');
|
my $test_pam = $item_factory->get_item('/Tests/pam');
|
||||||
$test_pam->active(1);
|
$tests{35}{test_pam} == 1 ? $test_pam->active(1) :
|
||||||
|
$test_pam->active(0);
|
||||||
|
|
||||||
my $test_nss = $item_factory->get_item('/Tests/nss');
|
my $test_nss = $item_factory->get_item('/Tests/nss');
|
||||||
$test_nss->active(1);
|
$tests{36}{test_nss} == 1 ? $test_nss->active(1) :
|
||||||
|
$test_nss->active(0);
|
||||||
|
|
||||||
# PAM NSS Conf
|
# PAM NSS Conf
|
||||||
my $conf_nss = $item_factory->get_item('/Edit/Settings/NSS Config');
|
my $conf_nss = $item_factory->get_item('/Edit/Settings/NSS Config');
|
||||||
$conf_nss->active(1);
|
$nss_pam{60}{conf_nss} == 1 ? $conf_nss->active(1) :
|
||||||
|
$conf_nss->active(0);
|
||||||
|
|
||||||
my $conf_pam = $item_factory->get_item('/Edit/Settings/PAM Config');
|
my $conf_pam = $item_factory->get_item('/Edit/Settings/PAM Config');
|
||||||
$conf_pam->active(1);
|
$nss_pam{61}{conf_pam} == 1 ? $conf_pam->active(1) :
|
||||||
|
$conf_pam->active(0);
|
||||||
|
|
||||||
#_______________________________________
|
#_______________________________________
|
||||||
# Create the GtkText widget
|
# Create the GtkText widget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user