File tree 1 file changed +6
-2
lines changed
samba-timemachine/spec/samba-timemachine
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ def compose
80
80
81
81
describe command ( '/usr/bin/testparm' ) do
82
82
its ( :stderr ) { should match ( /Loaded services file OK/ ) }
83
- its ( :stdout ) { should match ( /comment = Apple TimeMachine Backup Target/ ) }
84
- its ( :stdout ) { should match ( /fruit:time machine max size = 524288000000B/ ) }
85
83
its ( :exit_status ) { should eq 0 }
86
84
end
87
85
@@ -90,6 +88,12 @@ def compose
90
88
its ( :exit_status ) { should eq 0 }
91
89
end
92
90
91
+ describe process ( 'smbd' ) do
92
+ it { is_expected . to be_running }
93
+ its ( :args ) { is_expected . to contain ( '--no-process-group --foreground' ) }
94
+ its ( :user ) { is_expected . to eq ( 'root' ) }
95
+ end
96
+
93
97
describe command ( 'ss -tulpn' ) do
94
98
its ( :stdout ) { should match ( /^tcp.*0.0.0.0:445.*"smbd",pid=1/ ) }
95
99
its ( :exit_status ) { should eq 0 }
You can’t perform that action at this time.
0 commit comments