-$ rm -rf temp_testdir_background
+$ cmake -E remove_directory temp_testdir_background
$ mkdir temp_testdir_background
$ cd temp_testdir_background
$ sleep 2
$ cd ..
-$ rm -rf temp_testdir_background
+$ cmake -E remove_directory temp_testdir_background
# This suite builds and uses a program raising a segfault, ie a program dying
# of SIGSEV. tesh must detect this condition and report the issue.
-$ rm -rf temp_testdir-bg-set-signal
+$ cmake -E remove_directory temp_testdir-bg-set-signal
$ mkdir temp_testdir-bg-set-signal
$ cd temp_testdir-bg-set-signal
& perl segfault.pl
$ cd ..
-$ rm -rf temp_testdir-bg-set-signal
+$ cmake -E remove_directory temp_testdir-bg-set-signal
# This suite builds and uses a program raising a segfault, ie a program dying
# of SIGSEV. tesh must detect this condition and report the issue.
-$ rm -rf temp_testdir-catch-signal
+$ cmake -E remove_directory temp_testdir-catch-signal
$ mkdir temp_testdir-catch-signal
$ cd temp_testdir-catch-signal
> <(stdin):1> No output so far.
$ cd ..
-$ rm -rf temp_testdir-catch-signal
+$ cmake -E remove_directory temp_testdir-catch-signal
# This example uses the cd command
-$ rm -rf testdir_temp-cd
+$ cmake -E remove_directory testdir_temp-cd
$ mkdir testdir_temp-cd
$ cd testdir_temp-cd
$ test -e ../testdir_temp-cd
$ cd ..
-$ rmdir testdir_temp-cd
+$ cmake -E remove_directory testdir_temp-cd
# 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
+$ cmake -E remove_directory temp_testdir_setenv
$ mkdir temp_testdir_setenv
$ cd temp_testdir_setenv
> tesh_test_toto=blah
$ cd ..
-$ rm -rf temp_testdir_setenv
+$ cmake -E remove_directory temp_testdir_setenv