Subject: | 23-output.t bails when run as a user without setvol perms |
sudo -u nobody prove -bvr t/23-output.t
t/23-output.t ..
1..9
[52@0] {setvol} problems setting volume at /tmp/portage/dev-perl-Audio-MPD-1.112.670/work/Audio-MPD-1.112670/blib/lib/Audio/MPD.pm line 149, <GEN2> line 2.
Show quoted text
Failed 9/9 subtests
Test Summary Report
-------------------
t/23-output.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 0.
Files=1, Tests=0, 3 wallclock secs ( 0.03 usr 0.00 sys + 0.65 cusr 0.08 csys = 0.76 CPU)
Result: FAIL
t/23-output.t ..
1..9
[52@0] {setvol} problems setting volume at /tmp/portage/dev-perl-Audio-MPD-1.112.670/work/Audio-MPD-1.112670/blib/lib/Audio/MPD.pm line 149, <GEN2> line 2.
Show quoted text
# No tests run!
Dubious, test returned 255 (wstat 65280, 0xff00)Failed 9/9 subtests
Test Summary Report
-------------------
t/23-output.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 0.
Files=1, Tests=0, 3 wallclock secs ( 0.03 usr 0.00 sys + 0.65 cusr 0.08 csys = 0.76 CPU)
Result: FAIL
sudo -u kent prove -bvr t/23-output.t
t/23-output.t ..
1..9
ok 1 - setting volume
ok 2 - increasing volume
ok 3 - decreasing volume
ok 4 - list of outputs
ok 5 - outputs return AMC:Output objects isa Audio::MPD::Common::Output
ok 6 - AMC:O object: id
ok 7 - AMC:O object: name
ok 8 - disabling output
ok 9 - enabling output
ok
All tests successful.
Files=1, Tests=9, 5 wallclock secs ( 0.04 usr 0.00 sys + 0.65 cusr 0.10 csys = 0.79 CPU)
Result: PASS