# 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