Sfoglia il codice sorgente

build(pkg): fix pkg-tests.sh for ubuntu 24.04

Ivan Dyachkov 1 anno fa
parent
commit
e92d1f4468
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      scripts/pkg-tests.sh

+ 2 - 2
scripts/pkg-tests.sh

@@ -79,9 +79,9 @@ emqx_prepare(){
     if [ ! -d "${PAHO_MQTT_TESTING_PATH}" ]; then
     if [ ! -d "${PAHO_MQTT_TESTING_PATH}" ]; then
         git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git "${PAHO_MQTT_TESTING_PATH}"
         git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git "${PAHO_MQTT_TESTING_PATH}"
     fi
     fi
-    # Debian 12 complains if we don't use venv
+    # Debian 12 and Ubuntu 24.04 complain if we don't use venv
     case "${SYSTEM:-}" in
     case "${SYSTEM:-}" in
-        debian12)
+        debian12|ubuntu24.04)
             apt-get update -y && apt-get install -y virtualenv
             apt-get update -y && apt-get install -y virtualenv
             virtualenv venv
             virtualenv venv
             # https://www.shellcheck.net/wiki/SC1091
             # https://www.shellcheck.net/wiki/SC1091