From: Martin Quinson Date: Sun, 4 Sep 2016 08:59:45 +0000 (+0200) Subject: don't leak test files on disk X-Git-Tag: v3_14~419^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ca656c31ec4af73842e3794d1345dfa98d056b5c don't leak test files on disk --- diff --git a/tools/tesh/background.tesh b/tools/tesh/background.tesh index 74332e7baa..6eb8602370 100644 --- a/tools/tesh/background.tesh +++ b/tools/tesh/background.tesh @@ -1,26 +1,23 @@ -$ cmake -E remove_directory temp_testdir_background -$ mkdir temp_testdir_background -$ cd temp_testdir_background +$ cmake -E remove bgtesh.pl bgtesh.data < use strict; < sleep(1); -< open (FILE, ") { < print; < } < close(FILE); -< unlink("tmp_fich"); < exit 0; < -$ mkfile delayed_cat.pl +$ mkfile bgtesh.pl -& perl delayed_cat.pl +& perl bgtesh.pl > TOTO < TOTO -$ mkfile tmp_fich +$ mkfile bgtesh.data $ sleep 2 -$ cd .. +$ cmake -E remove bgtesh.pl bgtesh.data