set environment for convenience: $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH" $ alias ubus='valgrind --quiet --leak-check=full ubus' check usage: $ ubus Usage: ubus [] [arguments...] Options: -s :\t\tSet the unix domain socket to connect to (esc) -t :\t\tSet the timeout (in seconds) for a command to complete (esc) -S:\t\t\tUse simplified output (for scripts) (esc) -v:\t\t\tMore verbose output (esc) -m :\t\t(for monitor): include a specific message type (esc) \t\t\t(can be used more than once) (esc) -M \t\t(for monitor): only capture received or transmitted traffic (esc) Commands: - list []\t\t\tList objects (esc) - call []\tCall an object method (esc) - listen [...]\t\t\tListen for events (esc) - send []\t\tSend an event (esc) - wait_for [...]\tWait for multiple objects to appear on ubus (esc) - monitor\t\t\t\tMonitor ubus traffic (esc) [1] $ ubus-san Usage: ubus-san [] [arguments...] Options: -s :\t\tSet the unix domain socket to connect to (esc) -t :\t\tSet the timeout (in seconds) for a command to complete (esc) -S:\t\t\tUse simplified output (for scripts) (esc) -v:\t\t\tMore verbose output (esc) -m :\t\t(for monitor): include a specific message type (esc) \t\t\t(can be used more than once) (esc) -M \t\t(for monitor): only capture received or transmitted traffic (esc) Commands: - list []\t\t\tList objects (esc) - call []\tCall an object method (esc) - listen [...]\t\t\tListen for events (esc) - send []\t\tSend an event (esc) - wait_for [...]\tWait for multiple objects to appear on ubus (esc) - monitor\t\t\t\tMonitor ubus traffic (esc) [1] check monitor command: $ ubus monitor Failed to connect to ubus [255] $ ubus-san monitor Failed to connect to ubus [255]