packages feed

shelltestrunner-1.9: tests/format2/args.test

# 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