Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix usage of testsuite_name.
[simgrid.git] / tools / tesh / background.tesh
index a416496..e03da44 100644 (file)
@@ -1,7 +1,7 @@
 
-$ rm -rf temp_testdir
-$ mkdir temp_testdir
-$ cd temp_testdir
+$ rm -rf temp_testdir_background
+$ mkdir temp_testdir_background
+$ cd temp_testdir_background
 
 < #include <unistd.h>
 < #include <stdlib.h>
@@ -34,7 +34,7 @@ $ cd temp_testdir
 <   }
 <   return 0;
 < }
-$ cat > delayed_cat.c
+$ mkfile delayed_cat.c
 
 $ gcc -Wall -o delayed_cat delayed_cat.c
 
@@ -42,9 +42,9 @@ $ gcc -Wall -o delayed_cat delayed_cat.c
 > TOTO
 
 < TOTO
-$ cat > tmp_fich
+$ mkfile tmp_fich
 
 $ sleep 2
 $ cd ..
-$ rm -rf temp_testdir
+$ rm -rf temp_testdir_background