Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / tools / tesh / setenv.tesh
index d932217..8131982 100644 (file)
@@ -1,8 +1,10 @@
-#! ./tesh
+#!/usr/bin/env tesh
 # This suite builds and uses a program returning 1.
 # tesh is instructed of this return code and must not whine.
 
-$ rm -rf temp_testdir_setenv
+! output ignore
+$ cmake -E remove_directory temp_testdir_setenv
+
 $ mkdir temp_testdir_setenv
 $ cd temp_testdir_setenv
 
@@ -14,4 +16,6 @@ $ perl testenv.pl
 > tesh_test_toto=blah
 
 $ cd ..
-$ rm -rf temp_testdir_setenv
+
+! output ignore
+$ cmake -E remove_directory temp_testdir_setenv