diff options
Diffstat (limited to 'test/fixtures/shared')
-rw-r--r-- | test/fixtures/shared/.ssh/known_hosts | 1 | ||||
-rwxr-xr-x | test/fixtures/shared/bin/arp | 16 | ||||
-rwxr-xr-x | test/fixtures/shared/bin/ifconfig | 24 | ||||
-rw-r--r-- | test/fixtures/shared/default/bar | 0 | ||||
-rw-r--r-- | test/fixtures/shared/default/bar bar.d/foo | 0 | ||||
-rw-r--r-- | test/fixtures/shared/default/foo | 1 | ||||
-rw-r--r-- | test/fixtures/shared/default/foo.d/foo | 0 | ||||
-rw-r--r-- | test/fixtures/shared/empty_dir/.nothing_here | 0 | ||||
-rw-r--r-- | test/fixtures/shared/ld.so.conf.d/foo.txt | 0 | ||||
-rw-r--r-- | test/fixtures/shared/ld.so.conf.d/libfoo.conf | 0 | ||||
-rw-r--r-- | test/fixtures/shared/ld.so.conf.d/libfoo.so | 0 | ||||
-rw-r--r-- | test/fixtures/shared/ld.so.conf.d/libfoo.so.1 | 0 |
12 files changed, 42 insertions, 0 deletions
diff --git a/test/fixtures/shared/.ssh/known_hosts b/test/fixtures/shared/.ssh/known_hosts new file mode 100644 index 0000000..03d444a --- /dev/null +++ b/test/fixtures/shared/.ssh/known_hosts @@ -0,0 +1 @@ +bash-completion-canary-host.local diff --git a/test/fixtures/shared/bin/arp b/test/fixtures/shared/bin/arp new file mode 100755 index 0000000..49f4296 --- /dev/null +++ b/test/fixtures/shared/bin/arp @@ -0,0 +1,16 @@ +#!/bin/sh + +# Dummy "arp -an" emulator + +# Linux +echo "? (0.0.0.0) at 00:00:00:00:00:00 [ether] on eth0" + +# FreeBSD +echo "? (0.0.0.0) at 11:11:11:11:11:11 on bge0 expires in 5 seconds [ethernet]" + +# Solaris +cat <<EOF +Device IP Address Mask Flags Phys Addr +------ -------------------- --------------- -------- --------------- +ce0 0.0.0.0 255.255.255.255 o 22:22:22:22:22:22 +EOF 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 diff --git a/test/fixtures/shared/default/bar b/test/fixtures/shared/default/bar new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/default/bar diff --git a/test/fixtures/shared/default/bar bar.d/foo b/test/fixtures/shared/default/bar bar.d/foo new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/default/bar bar.d/foo diff --git a/test/fixtures/shared/default/foo b/test/fixtures/shared/default/foo new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/test/fixtures/shared/default/foo @@ -0,0 +1 @@ +foo diff --git a/test/fixtures/shared/default/foo.d/foo b/test/fixtures/shared/default/foo.d/foo new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/default/foo.d/foo diff --git a/test/fixtures/shared/empty_dir/.nothing_here b/test/fixtures/shared/empty_dir/.nothing_here new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/empty_dir/.nothing_here diff --git a/test/fixtures/shared/ld.so.conf.d/foo.txt b/test/fixtures/shared/ld.so.conf.d/foo.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/ld.so.conf.d/foo.txt diff --git a/test/fixtures/shared/ld.so.conf.d/libfoo.conf b/test/fixtures/shared/ld.so.conf.d/libfoo.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/ld.so.conf.d/libfoo.conf diff --git a/test/fixtures/shared/ld.so.conf.d/libfoo.so b/test/fixtures/shared/ld.so.conf.d/libfoo.so new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/ld.so.conf.d/libfoo.so diff --git a/test/fixtures/shared/ld.so.conf.d/libfoo.so.1 b/test/fixtures/shared/ld.so.conf.d/libfoo.so.1 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/shared/ld.so.conf.d/libfoo.so.1 |