lsyncd/tests/help.sh

12 lines
306 B
Bash
Raw Normal View History

2008-10-06 20:35:52 +00:00
#!/bin/bash
# copyright 2008 Junichi Uekawa <dancer@debian.org>
# licensed under GPLv2 or later, see the file ../COPYING for details.
# test that --help outputs help message and exit code of 0
set -e
set -o pipefail
# assume that USAGE being in output is good enough.
./lsyncd --help | grep '^USAGE:'