| 1 |
#!/bin/sh |
| 2 |
TEST_PREFIX="[help]" |
| 3 |
. "$(cd "$(dirname "$0")/../.." && pwd)/test_harness.sh" |
| 4 |
|
| 5 |
section "1. help output" |
| 6 |
check_exit "help exits successfully" 'help' "0" |
| 7 |
check_output "help produces output" 'help | head -1 | grep -q . && echo yes' "yes" |
| 8 |
|
| 9 |
print_summary |