Bash · 352 bytes Raw Blame History
1 #!/bin/sh
2 TEST_PREFIX="[config]"
3 . "$(cd "$(dirname "$0")/../.." && pwd)/test_harness.sh"
4
5 section "1. config display"
6 check_exit "config show exits successfully" 'config show' "0"
7 check_exit "config with no args shows config" 'config' "0"
8
9 section "2. config operations"
10 check_exit "config reload" 'config reload 2>/dev/null; true' "0"
11
12 print_summary