]> AND Public Git Repository - simgrid.git/blobdiff - tools/tesh/setenv.tesh
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the full jar here.
[simgrid.git] / tools / tesh / setenv.tesh
index 7ae9998cfc07f1acc5c30817a3d439ee93ed967a..72d5566d33ce48a4f0f39209c209483cd340203a 100644 (file)
@@ -2,10 +2,10 @@
 # This suite builds and uses a program returning 1.
 # tesh is instructed of this return code and must not whine.
 
-$ rm -rf temp_testdir
-$ mkdir temp_testdir
+$ rm -rf temp_testdir-setenv
+$ mkdir temp_testdir-setenv
 
-$ cd temp_testdir
+$ cd temp_testdir-setenv
 
 < #include <string.h>
 < #include <stdio.h>
@@ -19,7 +19,7 @@ $ cd temp_testdir
 <   }
 <   return 0;
 < }
-$ cat > getenv.c
+$ mkfile getenv.c
 
 $ gcc -o getenv getenv.c -g
 
@@ -28,4 +28,4 @@ $ ./getenv
 > tesh_test_toto=blah
 
 $ cd ..
-$ rm -rf temp_testdir
+$ rm -rf temp_testdir-setenv