]>
Commit | Line | Data |
---|---|---|
936218b8 WB |
1 | r('', <<'/proc/net/dev' |
2 | Inter-| Receive | Transmit | |
3 | face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed | |
4 | These eth interfaces show up: | |
5 | eth0: | |
6 | eth1: | |
7 | eth2: | |
8 | eth3: | |
9 | lo: | |
10 | All other stuff is being ignored eth99: | |
11 | eth100 is not actually available: | |
12 | ethBAD: this one's now allowed either | |
13 | /proc/net/dev | |
14 | ); | |
15 | ||
16 | expect load('base') . <<'IFACES'; | |
17 | iface eth1 inet manual | |
18 | ||
19 | iface eth2 inet manual | |
20 | ||
21 | iface eth3 inet manual | |
22 | ||
23 | IFACES | |
24 | ||
25 | 1; |