]>
git.proxmox.com Git - pve-common.git/blob - test/etc_network_interfaces/t.keep-option-order.pl
2 # Order of option lines between interfaces should be preserved:
3 # eth0 is unconfigured and will thus end up at the end as 'manual'
5 my $ordered = <<'ORDERED';
6 source /etc/network/config1
10 source-directory /etc/network/interfaces.d
12 iface eth2 inet manual
14 iface eth3 inet manual
18 r
("$ordered", <<'/proc/net/dev'
26 expect
(load
('loopback') . $ordered . "iface eth0 inet manual\n\n");