Bash · 236 bytes Raw Blame History
1 #!/bin/sh
2 TEST_PREFIX="[times]"
3 . "$(cd "$(dirname "$0")/.." && pwd)/test_harness.sh"
4
5 section "1. times output"
6 check_exit "times exits successfully" 'times' "0"
7 check_exit "times produces output" 'times >/dev/null' "0"
8
9 print_summary