Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to give search directory on command line.
[simgrid.git] / tools / tesh / background.tesh
index 74332e7..2336e9d 100644 (file)
@@ -1,26 +1,25 @@
+! output ignore
+$ cmake -E remove bgtesh.pl bgtesh.data
 
-$ cmake -E remove_directory temp_testdir_background
-$ mkdir temp_testdir_background
-$ cd temp_testdir_background
-
-< use strict; 
+< use strict;
 < sleep(1);
-< open (FILE, "<tmp_fich") || die "Cannot open tmp_fich: $!\n";
-< 
+< open (FILE, "<bgtesh.data") || die "Cannot open bgtesh.data: $!\n";
+<
 < while (<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 ..
+
+! output ignore
+$ cmake -E remove bgtesh.pl bgtesh.data