diff options
Diffstat (limited to 'tests/data/netinfo')
3 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/netinfo/route-formatted-output-missing-gateway b/tests/data/netinfo/route-formatted-output-missing-gateway new file mode 100644 index 00000000..8bbd819d --- /dev/null +++ b/tests/data/netinfo/route-formatted-output-missing-gateway @@ -0,0 +1,19 @@ ++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++ ++-------+-------------+---------+---------------+-----------+-------+ +| Route | Destination | Gateway | Genmask | Interface | Flags | ++-------+-------------+---------+---------------+-----------+-------+ +| 0 | 192.168.2.0 | 0.0.0.0 | 255.255.255.0 | enp0s25 | U | ++-------+-------------+---------+---------------+-----------+-------+ +++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++ ++-------+---------------------------+---------+-----------+-------+ +| Route | Destination | Gateway | Interface | Flags | ++-------+---------------------------+---------+-----------+-------+ +| 0 | 2a00:abcd:82ae:cd33::657 | :: | enp0s25 | Ue | +| 1 | 2a00:abcd:82ae:cd33::/64 | :: | enp0s25 | U | +| 2 | 2a00:abcd:82ae:cd33::/56 | :: | enp0s25 | U | +| 3 | fd81:123f:654::657 | :: | enp0s25 | U | +| 4 | fd81:123f:654::/64 | :: | enp0s25 | U | +| 5 | fd81:123f:654::/48 | :: | enp0s25 | U | +| 6 | fe80::abcd:ef12:bc34:da21 | :: | enp0s25 | U | +| 7 | fe80::/64 | :: | enp0s25 | U | ++-------+---------------------------+---------+-----------+-------+ diff --git a/tests/data/netinfo/sample-iproute-output-v4-missing-gateway b/tests/data/netinfo/sample-iproute-output-v4-missing-gateway new file mode 100644 index 00000000..c1e0b3c8 --- /dev/null +++ b/tests/data/netinfo/sample-iproute-output-v4-missing-gateway @@ -0,0 +1 @@ +192.168.2.0/24 dev enp0s25 proto kernel scope link src 192.168.2.18 metric 100 diff --git a/tests/data/netinfo/sample-iproute-output-v6-missing-gateway b/tests/data/netinfo/sample-iproute-output-v6-missing-gateway new file mode 100644 index 00000000..ffab1fa7 --- /dev/null +++ b/tests/data/netinfo/sample-iproute-output-v6-missing-gateway @@ -0,0 +1,10 @@ +2a00:abcd:82ae:cd33::657 dev enp0s25 proto kernel metric 256 expires 2334sec pref medium +2a00:abcd:82ae:cd33::/64 dev enp0s25 proto ra metric 100 pref medium +2a00:abcd:82ae:cd33::/56 dev enp0s25 proto ra metric 100 pref medium +fd81:123f:654::657 dev enp0s25 proto kernel metric 256 pref medium +fd81:123f:654::/64 dev enp0s25 proto ra metric 100 pref medium +fd81:123f:654::/48 dev enp0s25 proto ra metric 100 pref medium +fe80::abcd:ef12:bc34:da21 dev enp0s25 proto static metric 100 pref medium +fe80::/64 dev enp0s25 proto kernel metric 256 pref medium +local ::1 dev lo table local proto none metric 0 pref medium +local 2600:1f16:b80:ad00:90a:c915:bca6:5ff2 dev lo table local proto none metric 0 pref medium |