Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
added platform for ns3 wifi example
[simgrid.git] / tools / tesh / background.tesh
index 8b177fe48aa61653f74bafdcb65b561d746430a0..2336e9d4b4718418ebf185905f0de9d39eace3a3 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