test_ubusd.t 601 B

123456789101112131415161718192021222324
  1. set environment for convenience:
  2. $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
  3. $ alias ubusd='valgrind --quiet --leak-check=full ubusd'
  4. check usage:
  5. $ ubusd -h
  6. ubusd: invalid option -- 'h'
  7. Usage: ubusd [<options>]
  8. Options:
  9. -A <path>:\t\tSet the path to ACL files (esc)
  10. -s <socket>:\t\tSet the unix domain socket to listen on (esc)
  11. [1]
  12. $ ubusd-san -h
  13. ubusd-san: invalid option -- 'h'
  14. Usage: ubusd-san [<options>]
  15. Options:
  16. -A <path>:\t\tSet the path to ACL files (esc)
  17. -s <socket>:\t\tSet the unix domain socket to listen on (esc)
  18. [1]