tests - fix purging wrong folder for linux tests

This commit is contained in:
bunkerity 2022-08-12 09:35:14 +02:00
parent 6ea38b1f77
commit eb6f0d6737
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class LinuxTest(Test) :
def _cleanup_test(self) :
try :
proc = LinuxTest.docker_exec(self.__distro, "rm -rf /opt/bunkerweb/www/* ; rm -rf /opt/bunkerweb/confs/* ; rm -rf /opt/bunkerweb/plugins/*")
proc = LinuxTest.docker_exec(self.__distro, "rm -rf /opt/bunkerweb/www/* ; rm -rf /opt/bunkerweb/configs/* ; rm -rf /opt/bunkerweb/plugins/*")
if proc.returncode != 0 :
raise(Exception("docker exec rm failed (cleanup)"))
super()._cleanup_test()