3 # This example uses the cd command
6 $ cmake -E remove_directory testdir_temp-cd
8 $ mkdir testdir_temp-cd
11 # Check that there is nothing in the current dir (which must be testdir_temp-cd)
14 # Check that tesh detects properly cd to non-existing directories
17 > Test suite from stdin
18 > Chdir to toto failed: No such file or directory
19 > Test suite `(stdin)': NOK (system error)
22 # The next command checks that there is a testdir_temp-cd in the upper directory,
23 # ie that mkdir and cd both worked.
24 $ test -e ../testdir_temp-cd
29 $ cmake -E remove_directory testdir_temp-cd