1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# test with various arguments
# 1. with no args, should run all tests below current dir
$ shelltest
> /Please specify at least one test file or directory/
>= !0
# 2. XXX a bad executable should error without running tests
#$ shelltest --with nosuchexe
#> /Total +0/
# 3. a bad executable with testfiles should fail
$ shelltest --with nosuchexe tests/format2/args.test
> /user error/
>= 1
# 4. a bad testfile should fail
$ shelltest --with cat nosuchtestfile
>2 /No such file/
>= 1
# a final comment
|