public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] hardcoded network interface name
@ 2014-03-27  3:11 Simon Xu
  2014-03-27  7:27 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Xu @ 2014-03-27  3:11 UTC (permalink / raw)
  To: ltp-list

Hi,

ip_tests.sh has hardcoded 'eth0', which doesn't work with biosdevname 
such as 'em', 'enp' etc.  Do we have a  canonical way to fix this kind 
of issue in LTP?

Thanks
Simon

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] hardcoded network interface name
  2014-03-27  3:11 [LTP] hardcoded network interface name Simon Xu
@ 2014-03-27  7:27 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2014-03-27  7:27 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]

On Thu 27 Mar 2014 11:11:25 Simon Xu wrote:
> ip_tests.sh has hardcoded 'eth0', which doesn't work with biosdevname
> such as 'em', 'enp' etc.  Do we have a  canonical way to fix this kind
> of issue in LTP?

rename your device ;)

i wonder if that script needs an external device ... a glance says no.  so 
it'd probably be saner to:
	- use lo instead of eth0
	- change the 10.x addresses to 127.x
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

------------------------------------------------------------------------------

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-27  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27  3:11 [LTP] hardcoded network interface name Simon Xu
2014-03-27  7:27 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox