diff mbox

[1/2] examples/ipsec: add path so scripts can run

Message ID 1468596534-14528-1-git-send-email-mike.holmes@linaro.org
State New
Headers show

Commit Message

Mike Holmes July 15, 2016, 3:28 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

---
 example/ipsec/odp_ipsec_run_ah_in    | 3 +++
 example/ipsec/odp_ipsec_run_ah_out   | 3 +++
 example/ipsec/odp_ipsec_run_both_in  | 3 +++
 example/ipsec/odp_ipsec_run_both_out | 3 +++
 example/ipsec/odp_ipsec_run_esp_in   | 3 +++
 example/ipsec/odp_ipsec_run_esp_out  | 3 +++
 example/ipsec/odp_ipsec_run_live     | 3 +++
 example/ipsec/odp_ipsec_run_router   | 3 +++
 example/ipsec/odp_ipsec_run_simple   | 3 +++
 9 files changed, 27 insertions(+)

-- 
2.7.4
diff mbox

Patch

diff --git a/example/ipsec/odp_ipsec_run_ah_in b/example/ipsec/odp_ipsec_run_ah_in
index 252f44b..54e80ec 100755
--- a/example/ipsec/odp_ipsec_run_ah_in
+++ b/example/ipsec/odp_ipsec_run_ah_in
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \
 -p 192.168.222.0/24:192.168.111.0/24:in:ah \
diff --git a/example/ipsec/odp_ipsec_run_ah_out b/example/ipsec/odp_ipsec_run_ah_out
index 9256c07..4ceafa1 100755
--- a/example/ipsec/odp_ipsec_run_ah_out
+++ b/example/ipsec/odp_ipsec_run_ah_out
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
 -p 192.168.111.0/24:192.168.222.0/24:out:ah \
diff --git a/example/ipsec/odp_ipsec_run_both_in b/example/ipsec/odp_ipsec_run_both_in
index c3f169c..ea50cf5 100755
--- a/example/ipsec/odp_ipsec_run_both_in
+++ b/example/ipsec/odp_ipsec_run_both_in
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \
 -p 192.168.222.0/24:192.168.111.0/24:in:both \
diff --git a/example/ipsec/odp_ipsec_run_both_out b/example/ipsec/odp_ipsec_run_both_out
index 8ba0672..6ffd36c 100755
--- a/example/ipsec/odp_ipsec_run_both_out
+++ b/example/ipsec/odp_ipsec_run_both_out
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
 -p 192.168.111.0/24:192.168.222.0/24:out:both \
diff --git a/example/ipsec/odp_ipsec_run_esp_in b/example/ipsec/odp_ipsec_run_esp_in
index 12fdae6..7745cae 100755
--- a/example/ipsec/odp_ipsec_run_esp_in
+++ b/example/ipsec/odp_ipsec_run_esp_in
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \
 -p 192.168.222.0/24:192.168.111.0/24:in:esp \
diff --git a/example/ipsec/odp_ipsec_run_esp_out b/example/ipsec/odp_ipsec_run_esp_out
index 73c4ff0..014c9c1 100755
--- a/example/ipsec/odp_ipsec_run_esp_out
+++ b/example/ipsec/odp_ipsec_run_esp_out
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
 -p 192.168.111.0/24:192.168.222.0/24:out:esp \
diff --git a/example/ipsec/odp_ipsec_run_live b/example/ipsec/odp_ipsec_run_live
index 90947ad..a04c7f3 100755
--- a/example/ipsec/odp_ipsec_run_live
+++ b/example/ipsec/odp_ipsec_run_live
@@ -3,6 +3,9 @@ 
 # Live router test
 #  - 2 interfaces interfaces
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 sudo odp_ipsec -i p7p1,p8p1 \
 -r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \
 -r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \
diff --git a/example/ipsec/odp_ipsec_run_router b/example/ipsec/odp_ipsec_run_router
index 3630297..3cf7ef0 100755
--- a/example/ipsec/odp_ipsec_run_router
+++ b/example/ipsec/odp_ipsec_run_router
@@ -3,6 +3,9 @@ 
 # Live router test
 #  - 2 interfaces interfaces
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 sudo odp_ipsec -i p7p1,p8p1 \
 -r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \
 -r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \
diff --git a/example/ipsec/odp_ipsec_run_simple b/example/ipsec/odp_ipsec_run_simple
index 1211583..ea88fe4 100755
--- a/example/ipsec/odp_ipsec_run_simple
+++ b/example/ipsec/odp_ipsec_run_simple
@@ -4,6 +4,9 @@ 
 #  - 2 loop interfaces
 #  - 10 packets
 #  - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
 odp_ipsec -i loop1,loop2 \
 -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
 -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \