models/Systemd/StandAlone/Socket.pl untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # This file is part of Config-Model-Systemd
3 #
4 # This software is Copyright (c) 2008-2026 by Dominique Dumont.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 use strict;
11 use warnings;
12 use v5.20;
13 use utf8;
14  
15 return [
16 {
17 'accept' => [
18 '.*',
19 {
20 'type' => 'leaf',
21 'value_type' => 'uniline',
22 'warn' => 'Unexpected systemd parameter. Please contact cme author to update systemd model.'
23 }
24 ],
25 'element' => [
26 'Socket',
27 {
28 'config_class_name' => 'Systemd::Section::Socket',
29 'type' => 'node'
30 },
31 'Unit',
32 {
33 'config_class_name' => 'Systemd::Section::SocketUnit',
34 'type' => 'node'
35 },
36 'Install',
37 {
38 'config_class_name' => 'Systemd::Section::Install',
39 'type' => 'node'
40 }
41 ],
42 'generated_by' => 'parse-man.pl from systemd doc',
43 'name' => 'Systemd::StandAlone::Socket',
44 'rw_config' => {
45 'auto_create' => '1',
46 'auto_delete' => '1',
47 'backend' => 'Systemd::Unit'
48 }
49 }
50 ]
51 ;