Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Crude hack to ignore cruft from Java on Windows
[simgrid.git] / tools / tesh / setenv.tesh
1 #! ./tesh
2 # This suite builds and uses a program returning 1.
3 # tesh is instructed of this return code and must not whine.
4
5 $ cmake -E remove_directory temp_testdir_setenv
6 $ mkdir temp_testdir_setenv
7 $ cd temp_testdir_setenv
8
9 < print "tesh_test_toto=$ENV{tesh_test_toto}";
10 $ mkfile testenv.pl
11
12 ! setenv tesh_test_toto=blah
13 $ perl testenv.pl
14 > tesh_test_toto=blah
15
16 $ cd ..
17 $ cmake -E remove_directory temp_testdir_setenv