5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2024-12-22 21:33:47 +03:00
pve-common/test/etc_network_interfaces/t.unhandled-interfaces-to-manual.pl
2015-06-26 07:49:16 +02:00

26 lines
545 B
Perl

r('', <<'/proc/net/dev'
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
These eth interfaces show up:
eth0:
eth1:
eth2:
eth3:
lo:
All other stuff is being ignored eth99:
eth100 is not actually available:
ethBAD: this one's now allowed either
/proc/net/dev
);
expect load('base') . <<'IFACES';
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
IFACES
1;