Skip Menu |

This queue is for tickets about the Audio-MPD CPAN distribution.

Report information
The Basics
Id: 71202
Status: resolved
Priority: 0/
Queue: Audio-MPD

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.112670
Fixed in: (no value)



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
# 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
 

 

 

ok, finally nailed the problem. test-corpus-audio-mpd is now providing a mpd.conf template featuring software mixer, so it shouldn't require any privs to set volume. Audio-MPD-1.113280 is requiring a newer version of test-corpus-audio-mpd.
On 2011-11-25 03:10:26, JQUELIN wrote:
Show quoted text
> ok, finally nailed the problem. test-corpus-audio-mpd is now providing a
> mpd.conf template featuring software mixer, so it shouldn't require any
> privs to set volume.
>
> Audio-MPD-1.113280 is requiring a newer version of test-corpus-audio-mpd.

Just confirming my tests are now also passing =)

RT Sucks -_-