Skip to content

Instantly share code, notes, and snippets.

@berekuk
Forked from wchristian/gist:567113
Created September 6, 2010 14:46
Show Gist options
  • Save berekuk/567118 to your computer and use it in GitHub Desktop.
Save berekuk/567118 to your computer and use it in GitHub Desktop.
> t/00_compile.t ............ ok
It compiles, yay!
> t/cmd.t ................... Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to
> Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the all
This is because I used $ENV{LOGNAME} as test services user.
You should replace it with windows equivalent or write some switch, I think...
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
> t/daemon.t ................ Failed 23/23 subtests
Strange. Don't see any errors.
> t/lock.t .................. 1/5 # died: Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to
> Ubic::Service::SimpleDaemon::new was an 'undef', which is not
> one of the allowed types: scalar
Same problem.
> t/memory-leak.t ........... Can't open /proc/5556/statm: No such file or directory at t/Utils.pm line 50.
This one is hardest. It's because Ubic::Daemon uses Linux virtual /proc FS.
You'll have to heavily patch Ubic::Daemon to fix this... (or skip all Ubic::Daemon-dependent tests, but then you'll lose lots of ubic features later)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment