Bash · 271 bytes Raw Blame History
1 #!/bin/sh
2 TEST_PREFIX="[memory]"
3 . "$(cd "$(dirname "$0")" && pwd)/test_harness.sh"
4
5 section "1. memory commands"
6 check_exit "memory with no args" 'memory' "0"
7 check_exit "memory stats" 'memory stats' "0"
8 check_exit "memory optimize" 'memory optimize' "0"
9
10 print_summary