test: fix nemu device name too long
nemu use "%.4x%.3x" % (os.getpid(), n) to generate device name, but it define the min length not the max length, when pid is high, this will exceed 16 bytes IFNAMSIZ
Showing
nemu use "%.4x%.3x" % (os.getpid(), n) to generate device name, but it define the min length not the max length, when pid is high, this will exceed 16 bytes IFNAMSIZ
mentioned in commit 2ddd7248
·mentioned in commit 2ddd7248
mentioned in commit d6b7b9d2
·mentioned in commit d6b7b9d2
mentioned in commit ce572a97
·mentioned in commit ce572a97
mentioned in commit c2a37de4
·mentioned in commit c2a37de4
mentioned in commit e80e1e48
·mentioned in commit e80e1e48
mentioned in commit 227d63d4
·mentioned in commit 227d63d4