24 |
display(3); |
display(3); |
25 |
$struct = new Libconf("group", 'group', ''); |
$struct = new Libconf("group", 'group', ''); |
26 |
$struct->appendAtom({ values => { group_name => 'test_libconf', |
$struct->appendAtom({ values => { group_name => 'test_libconf', |
27 |
passwd => 'xtest', |
passwd => 'xtest', |
28 |
GID => '123', |
GID => '123', |
29 |
user_list => 'test1,user2,user3', |
user_list => 'test1,user2,user3', |
30 |
}, |
}, |
31 |
type => 'VALUES', |
type => 'VALUES', |
32 |
}); |
}); |
33 |
$struct->writeConf("group_output_3"); |
$struct->writeConf("group_output_3"); |
34 |
test(3); |
test(3); |
35 |
|
|