##// END OF EJS Templates
tests: various fixes for new unified test pattern format
tests: various fixes for new unified test pattern format

File last commit:

r12377:a5b77eb0 default
r12377:a5b77eb0 default
Show More
test-run-tests.t
37 lines | 409 B | text/troff | Tads3Lexer
Simple commands:
$ echo foo
foo
$ printf 'bar\nbaz\n' | cat
bar
baz
Multi-line command:
$ foo() {
> echo bar
> }
$ foo
bar
Regular expressions:
$ echo foobarbaz
foobar.* (re)
$ echo barbazquux
.*quux.* (re)
Globs:
$ printf '* \\foobarbaz {10}\n'
\* \\fo?bar* {10} (glob)
Literal match ending in " (re)":
$ echo 'foo (re)'
foo (re)
Exit code:
$ false
[1]