1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/signal
liuxiaodong 25d6047ec0 unit test on TestParseSignal failed within pkg/signal package on mips64el
error log :
signal_test.go:20: assertion failed: error is not nil: Invalid signal: SIGEMT
signal_test.go:22: assertion failed:
When "ParseSignal" function parse sigStr from SignalMap, it find the signal object with key ("SIG"+sigStr). But  EMT signal named "SIGEMT" in SignalMap structrue, so the real key is "SIGSIGEMT" , and cannot find the target signal.
modify "SIGEMT" to "EMT" in SignalMap structrue.

Signed-off-by: liuxiaodong <liuxiaodong@loongson.cn>
2020-03-12 20:45:02 +08:00
..
testfiles Add test coverage to signal/trap.go 2017-08-09 15:13:38 +05:00
README.md #11585: README for pkg/signal. Signed-off-by: Vladimir Roudakov <v_roudakov@yahoo.com> 2015-03-26 21:18:27 +10:00
signal.go Various code-cleanup 2018-05-23 17:50:54 +02:00
signal_darwin.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_linux.go SIGSKTFLT does not exist on MIPS, instead SIGEMT does. SIGRTMAX is also 127 on MIPS. 2018-07-19 12:26:52 +02:00
signal_linux_mipsx.go unit test on TestParseSignal failed within pkg/signal package on mips64el 2020-03-12 20:45:02 +08:00
signal_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
signal_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
signal_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
trap.go pkg/signal: normalize comment formatting 2019-11-27 15:41:47 +01:00
trap_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00

This package provides helper functions for dealing with signals across various operating systems