add fuzzer and cram based unit tests
[oweals/ubus.git] / tests / cram / test_ubusd.t
1 set environment for convenience:
2
3   $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
4   $ alias ubusd='valgrind --quiet --leak-check=full ubusd'
5
6 check usage:
7
8   $ ubusd -h
9   ubusd: invalid option -- 'h'
10   Usage: ubusd [<options>]
11   Options: 
12     -A <path>:\t\tSet the path to ACL files (esc)
13     -s <socket>:\t\tSet the unix domain socket to listen on (esc)
14   
15   [1]
16
17   $ ubusd-san -h
18   ubusd-san: invalid option -- 'h'
19   Usage: ubusd-san [<options>]
20   Options: 
21     -A <path>:\t\tSet the path to ACL files (esc)
22     -s <socket>:\t\tSet the unix domain socket to listen on (esc)
23   
24   [1]