3 # This example uses the cd command
9 # Check that there is nothing in the current dir (which must be testdir_temp)
12 # Check that tesh detects properly cd to non-existing directories
13 ! expect return $ENOENT
15 > Test unit from stdin
17 > [stdin:1] Chdir to toto failed: no such file or directory
18 > Test unit `(stdin)' : NOK (no such file or directory)
19 $ ../tesh --log='log.thresh:info tesh.fmt:%m%n'
21 # The next command checks that there is a testdir_temp in the upper directory,
22 # ie that mkdir and cd both worked.
23 $ test -e ../testdir_temp