3 # This example uses the cd command
\r
5 $ rm -rf testdir_temp
\r
9 # Check that there is nothing in the current dir (which must be testdir_temp)
\r
12 # Check that tesh detects properly cd to non-existing directories
\r
13 ! expect return $ENOENT
\r
15 $ ../tesh --log="log.thresh:info tesh.fmt:%m%n"
\r
17 # The next command checks that there is a testdir_temp in the upper directory,
\r
18 # ie that mkdir and cd both worked.
\r
19 #$ test -e ../testdir_temp
\r
22 $ rmdir testdir_temp
\r