Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / tools / tesh / background.tesh
index 8b177fe..2336e9d 100644 (file)
@@ -1,25 +1,25 @@
+! output ignore
+$ cmake -E remove bgtesh.pl bgtesh.data
 
-$ rm -rf temp_testdir_background
-$ mkdir temp_testdir_background
-$ cd temp_testdir_background
-
-< use strict; 
-< sleep(2);
-< open (FILE, "<tmp_fich") || die "Cannot open tmp_fich: $!\n";
-< 
+< use strict;
+< 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