tests - fix purging wrong folder for linux tests
This commit is contained in:
parent
6ea38b1f77
commit
eb6f0d6737
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue