runc/libcontainer/stacktrace
Zhao Lei bb067f55aa Test: Make TestCaptureTestFunc pass in localunittest
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>
2016-08-16 18:37:01 +08:00
..
capture.go Fix trivial style errors reported by `go vet` and `golint` 2016-04-12 08:13:16 +00:00
capture_test.go Test: Make TestCaptureTestFunc pass in localunittest 2016-08-16 18:37:01 +08:00
frame.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
frame_test.go Update import paths for new repository 2015-06-21 19:29:59 -07:00
stacktrace.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00