Skip to content

Commit 9143322

Browse files
authored
chore: Run shfmt on ip fixture (#1274)
Follow up to #1090
1 parent 3b1586b commit 9143322

File tree

1 file changed

+10
-10
lines changed
  • test/fixtures/shared/bin

1 file changed

+10
-10
lines changed

test/fixtures/shared/bin/ip

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
# Dummy "ip addr show" and "ip link show up" emulator
44

55
for arg in "$@"; do
6-
case "$arg" in
7-
link)
8-
cat <<EOF
6+
case "$arg" in
7+
link)
8+
cat <<EOF
99
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
1010
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
1111
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
1212
link/ether 33:33:33:33:33:33 brd ff:ff:ff:ff:ff:ff link-netnsid 0
1313
EOF
14-
exit 0
15-
;;
16-
addr)
17-
cat <<EOF
14+
exit 0
15+
;;
16+
addr)
17+
cat <<EOF
1818
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
1919
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2020
inet 127.0.0.1/8 scope host lo
@@ -28,9 +28,9 @@ cat <<EOF
2828
inet6 fe80::000:0000:0000:0000/64 scope link
2929
valid_lft forever preferred_lft forever
3030
EOF
31-
exit 0
32-
;;
33-
esac
31+
exit 0
32+
;;
33+
esac
3434
done
3535

3636
exit 1

0 commit comments

Comments
 (0)