X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f22fa286e259aad98dd2e0e37e39fa7e89151ae4..f2df13795e01302813a6aef10825ec7e922ce530:/tools/tesh/setenv.tesh diff --git a/tools/tesh/setenv.tesh b/tools/tesh/setenv.tesh index 7ae9998cfc..632fd8bb44 100644 --- a/tools/tesh/setenv.tesh +++ b/tools/tesh/setenv.tesh @@ -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 < #include @@ -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