> Test suite from stdin
> [(stdin):3] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Order: out, in, cmd
< > TOTO
> Test suite from stdin
> [(stdin):3] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Order: out, cmd, in
< > TOTO
> Test suite from stdin
> [(stdin):2] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Order: in, cmd, out
< < TOTO
> Test suite from stdin
> [(stdin):2] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Order: cmd, out, in
< $ cat
> Test suite from stdin
> [(stdin):1] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Order: cmd, in, out
< $ cat
> Test suite from stdin
> [(stdin):1] cat
> Test suite from stdin OK
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! output ignore
< $ cat tmp_fich
< > TUTU TOTO
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
$ rm tmp_fich
< < _x
< $ sed 's/_/ /'
< > x
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! expect return 2
! output ignore
< < x
< $ cat
< > x
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p * trailing spaces...
< x_
< < x_
< $ sed 's/_/ /'
< > x
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! expect return 2
! output ignore
< < x
< $ cat
< > x
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p * empty lines...
< a
< $ cat
< > a
< > c
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! expect return 2
! output ignore
< > a
< >
< > c
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
<
< b
< $ cat
< > b
< > c
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! expect return 2
! output ignore
< >
< > b
< > c
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
! expect return 41
< $ perl -e "exit 1"
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
> Test suite from stdin
> [(stdin):1] perl -e "exit 1"
> Test suite `(stdin)': NOK (<(stdin):1> returned code 1)
p Check that we return the expected return value on SEGV
! expect return 15
< $ perl segfault.pl
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
> Test suite from stdin
> [(stdin):1] perl segfault.pl
> Test suite `(stdin)': NOK (<(stdin):1> got signal SIGSEGV)
> <(stdin):2> timeouted. Kill the process.
> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
> <(stdin):2> No output so far.
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
< > TOTO
< < TUTU
< $ cat
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
> Test suite from stdin
> [(stdin):3] cat
> Output of <(stdin):3> mismatch:
> Test suite from stdin
> Chdir to toto failed: No such file or directory
> Test suite `(stdin)': NOK (system error)
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
# The next command checks that there is a testdir_temp-cd in the upper directory,
# ie that mkdir and cd both worked.
< > TOTO
< < TUTU
< $ cat
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
> Test suite from stdin
> [(stdin):4] cat
> (ignoring the output of <(stdin):4> as requested)
< > b
< > c
< > d
-$ ${bindir:=.}/tesh --enable-coverage
+$ perl ${bindir:=.}/tesh --enable-coverage
> Enable coverage
> Test suite from stdin
> [(stdin):1] Test sorting and filtering of output
< $ cat
< > 123456789012345678 A line
< > 123456789012345678 B line
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh
p Check user-defined prefix length for "output sort"
! output sort 5
< $ cat
< > 000 A line
< > 000 B line
-$ ${bindir:=.}/tesh
+$ perl ${bindir:=.}/tesh