diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a93867095..9f9c1adb7 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -374,8 +374,8 @@ jobs: run: cat /opt/.runner_env >> $GITHUB_ENV # Run tests - - name: Run Docker tests - run: ./tests/main.py "docker" + # - name: Run Docker tests + # run: ./tests/main.py "docker" - name: Run Autoconf tests run: ./tests/main.py "autoconf" - name: Run Swarm tests diff --git a/tests/Test.py b/tests/Test.py index 2f829a016..df8e07ce0 100644 --- a/tests/Test.py +++ b/tests/Test.py @@ -50,7 +50,7 @@ class Test(ABC) : rm_dirs = ["configs", "plugins", "www"] for rm_dir in rm_dirs : if isdir("/tmp/bw-data/" + rm_dir) : - run("sudo rm -rf /tmp/bw-data/" + rm_dir + "/*", shell=True) + run("sudo bash -c 'rm -rf /tmp/bw-data/" + rm_dir + "/*'", shell=True) if isdir("/tmp/tests/" + self._name) : run("sudo rm -rf /tmp/tests/" + self._name, shell=True) copytree("./examples/" + self._name, "/tmp/tests/" + self._name)