Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid
[simgrid.git] / tools / tesh / setenv.tesh
index 7ae9998..632fd8b 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,13 +19,13 @@ $ cd temp_testdir
 <   }
 <   return 0;
 < }
-$ cat > getenv.c
+$ mkfile getenv.c
 
-$ gcc -o getenv getenv.c -g
+$ cc -o getenv getenv.c -g
 
 ! setenv tesh_test_toto=blah
 $ ./getenv
 > tesh_test_toto=blah
 
 $ cd ..
-$ rm -rf temp_testdir
+$ rm -rf temp_testdir-setenv