[systemd-devel] .libs/test-sched-prio failed
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Oct 31 04:44:56 CET 2013
On Thu, Oct 31, 2013 at 08:05:18AM +0800, Rongqing Li wrote:
>
>
> On 10/30/2013 07:10 PM, Zbigniew Jędrzejewski-Szmek wrote:
> >On Wed, Oct 30, 2013 at 10:02:33AM +0800, Rongqing Li wrote:
> >>Hi:
> >>
> >>I am running the systemd test cases, but .libs/test-sched-prio always
> >>failed, whether I put sched_idle_ok.service to anywhere, who can help
> >>me? thanks
> >>
> >>.libs/test-sched-prio
> >>Assertion 'idle_ok->load_state == UNIT_LOADED' failed at
> >>src/test/test-sched-prio.c:47, function main(). Aborting.
> >>Aborted
> >That's interesting. *What* systemd version are you running, and *how*
> >exactly are you running the tests?
> >
>
> Thanks for your reply, I run it on a embedded linux.
> and run it directly .libs/test-sched-prio, but I try to put
> sched_idle_ok.service
> to /lib/systemd/system/, and other places, it always failed.
The test loads the file from $(abs_top_srcdir)/test/.
Maybe try changing the assert to a printf, to see what is returned.
If it is something like -ENOENT, then maybe strace the test to see
where it is trying to load the unit from.
Zbyszek
More information about the systemd-devel
mailing list