aboutsummaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-03-14 17:15:14 +0000
committerliamfallon <liam.fallon@est.tech>2023-03-14 17:15:27 +0000
commitbbed865cebb5a0d00ba787a502135d2045ba3a7d (patch)
tree5100fc47c48f9382e3ae840fa92c62596f73802a /csit
parent81da915ff3281218b813722baead67bbe3ad7487 (diff)
Update PF for SNI checking support
Fix the script to allow CSITs to run on MacOS Issue-ID: POLICY-4474 Change-Id: If11ad6ba4f4b4bc52543d46d12ce5b40d3cc26be Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit')
-rwxr-xr-xcsit/resources/scripts/prepare-robot-env.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/csit/resources/scripts/prepare-robot-env.sh b/csit/resources/scripts/prepare-robot-env.sh
index fe8dbd94..061da844 100755
--- a/csit/resources/scripts/prepare-robot-env.sh
+++ b/csit/resources/scripts/prepare-robot-env.sh
@@ -51,4 +51,7 @@ python3 -m pip install -U -qq docker
python3 -m pip -qq freeze
-sudo apt-get -y -qq install libxml2-utils
+if (uname | grep -q 'Linux')
+then
+ sudo apt-get -y -qq install libxml2-utils
+fi