mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
b084ccda9d
commit
25d6047ec0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ var SignalMap = map[string]syscall.Signal{
|
|||
"PWR": unix.SIGPWR,
|
||||
"QUIT": unix.SIGQUIT,
|
||||
"SEGV": unix.SIGSEGV,
|
||||
"SIGEMT": unix.SIGEMT,
|
||||
"EMT": unix.SIGEMT,
|
||||
"STOP": unix.SIGSTOP,
|
||||
"SYS": unix.SIGSYS,
|
||||
"TERM": unix.SIGTERM,
|
||||
|
|
Loading…
Add table
Reference in a new issue