diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:14:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:14:42 +0000 |
commit | 0bc58b66a4850cdb8458a86c3d9a2fc81de82aa3 (patch) | |
tree | ea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /test/fixtures/shared/bin/ifconfig | |
parent | Initial commit. (diff) | |
download | bash-completion-upstream.tar.xz bash-completion-upstream.zip |
Adding upstream version 1:2.11.upstream/1%2.11upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/fixtures/shared/bin/ifconfig')
-rwxr-xr-x | test/fixtures/shared/bin/ifconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/fixtures/shared/bin/ifconfig b/test/fixtures/shared/bin/ifconfig new file mode 100755 index 0000000..59c9140 --- /dev/null +++ b/test/fixtures/shared/bin/ifconfig @@ -0,0 +1,24 @@ +#!/bin/sh + +# Dummy "ifconfig -a" emulator + +cat <<EOF +eth0 Link encap:Ethernet HWaddr 33:33:33:33:33:33 + inet addr:192.168.80.11 Bcast:192.168.80.255 Mask:255.255.255.0 + inet6 addr: fe80::000:0000:0000:0000/64 Scope:Link + UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 + RX packets:855946 errors:42 dropped:0 overruns:0 frame:42 + TX packets:477196 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:1000 + RX bytes:1142133425 (1.0 GiB) TX bytes:47621718 (45.4 MiB) + Interrupt:23 Base address:0xc000 + +lo Link encap:Local Loopback + inet addr:127.0.0.1 Mask:255.0.0.0 + inet6 addr: ::1/128 Scope:Host + UP LOOPBACK RUNNING MTU:16436 Metric:1 + RX packets:129059 errors:0 dropped:0 overruns:0 frame:0 + TX packets:129059 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:0 + RX bytes:7456154 (7.1 MiB) TX bytes:7456154 (7.1 MiB) +EOF |