From 0dfed521ecead9dae28b0b717a15d2f594b334b1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 15 Nov 2024 09:00:36 +0100 Subject: [PATCH] ci: sort examples --- ci/examples | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ci/examples b/ci/examples index c4a3e16..0a86b93 100755 --- a/ci/examples +++ b/ci/examples @@ -28,15 +28,6 @@ export PATH test -z "$(ip netns)" -cd "$examples/readme" -linux-network-namespace-labs up lab.conf -ip netns exec r1 ping -c1 r1-loop -ip netns exec r1 ping -c1 r2-loop -ip netns exec r1 ping -c1 r3-loop -linux-network-namespace-labs down lab.conf -test -z "$(ip netns)" -test "$(cd /etc/netns; find)" = "." # directory empty - cd "$examples/bird-ospf" linux-network-namespace-labs up lab.conf # Wait until OSPF is ready @@ -56,3 +47,12 @@ ip netns exec r1 ping -c1 r1-loop linux-network-namespace-labs down lab.conf test -z "$(ip netns)" test "$(cd /etc/netns; find)" = "." # directory empty + +cd "$examples/readme" +linux-network-namespace-labs up lab.conf +ip netns exec r1 ping -c1 r1-loop +ip netns exec r1 ping -c1 r2-loop +ip netns exec r1 ping -c1 r3-loop +linux-network-namespace-labs down lab.conf +test -z "$(ip netns)" +test "$(cd /etc/netns; find)" = "." # directory empty -- 2.45.2