Description: Skip test requiring root escalation
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-03-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/daemonizing_spec.rb
+++ b/spec/daemonizing_spec.rb
@@ -75,7 +75,7 @@ describe 'Daemonizing' do
     server.kill
   end
   
-  it 'should change privilege' do
+  xit 'should change privilege' do
     pid = fork do
       subject.change_privilege('root', 'admin')
     end
--- a/spec/server_spec.rb
+++ b/spec/server_spec.rb
@@ -11,7 +11,7 @@ describe Server do
     expect(@server.maximum_connections).to eq(100)
   end
 
-  it "should set lower maximum_connections size when too large" do
+  xit "should set lower maximum_connections size when too large" do
     # root users under Linux will not have a limitation on maximum
     # connections, so we cannot really run this test under that
     # condition.
@@ -103,4 +103,4 @@ describe Server, "initialization" do
     expect(Server).not_to receive(:setup_signals)
     Server.new(:signals => false)
   end
-end
\ No newline at end of file
+end
