bb067f55aa
TestCaptureTestFunc failed in localunittest: # make localunittest === RUN TestCaptureTestFunc --- FAIL: TestCaptureTestFunc (0.00s) capture_test.go:26: expected package "github.com/opencontainers/runc/libcontainer/stacktrace" but received "_/root/runc/libcontainer/stacktrace" # Reason: the path for stacktrace is a fixed string which only valid for container environment. And we can switch to relative path to make both in-container and out-of-container test works. After patch: # make localunittest === RUN TestCaptureTestFunc --- PASS: TestCaptureTestFunc (0.00s) # Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> |
||
---|---|---|
.. | ||
capture.go | ||
capture_test.go | ||
frame.go | ||
frame_test.go | ||
stacktrace.go |