[elbe-devel] [PATCH v2 2/3] tests test_efilesystem: Delete temporary fs

Torben Hohn torben.hohn at linutronix.de
Wed Jun 24 17:10:29 CEST 2020


On Mon, Jun 22, 2020 at 01:15:31PM -0400, Olivier Dion wrote:
> Otherwise your /tmp will get filled pretty quickly if you do a lot of
> testing and you will see obscure errors.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/tests/test_efilesystem.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/elbepack/tests/test_efilesystem.py b/elbepack/tests/test_efilesystem.py
> index f1bfa3aa..57305ad8 100644
> --- a/elbepack/tests/test_efilesystem.py
> +++ b/elbepack/tests/test_efilesystem.py
> @@ -15,6 +15,10 @@ class TestCopyFilelist(unittest.TestCase):
>          self.src = TmpdirFilesystem()
>          self.dst = TmpdirFilesystem()
>  
> +    def tearDown(self):
> +        del self.src
> +        del self.dst
> +
>      def test_usrmerge_abs(self):
>  
>          self.src.mkdir_p('/usr/bin')
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list