Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / tools / tesh / background.tesh
index 8b177fe..3ef568e 100644 (file)
@@ -1,25 +1,25 @@
-
-$ rm -rf temp_testdir_background
-$ mkdir temp_testdir_background
-$ cd temp_testdir_background
+! output ignore
+$ cmake -E remove bgtesh.pl bgtesh.data
 
 < use strict; 
-< sleep(2);
-< open (FILE, "<tmp_fich") || die "Cannot open tmp_fich: $!\n";
+< sleep(1);
+< open (FILE, "<bgtesh.data") || die "Cannot open bgtesh.data: $!\n";
 < 
 < while (<FILE>) {
 <   print;
 < }
+< close(FILE);
 < 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 ..
-$ rm -rf temp_testdir_background
+
+! output ignore
+$ cmake -E remove bgtesh.pl bgtesh.data