mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-14 23:16:04 +00:00
15 lines
530 B
Bash
Executable File
15 lines
530 B
Bash
Executable File
#!/bin/bash
|
|
# copyright 2008 Junichi Uekawa <dancer@debian.org>
|
|
# licensed under GPLv2 or later, see the file ../COPYING for details.
|
|
set -e
|
|
CON="\E[47;34m"
|
|
COFF="\033[0m"
|
|
|
|
echo -e "$CON*****************************************************************$COFF"
|
|
echo -e "$CON* Testing that --help outputs help message and exit code of 0. **$COFF"
|
|
echo -e "$CON*****************************************************************$COFF"
|
|
set -o pipefail
|
|
|
|
# assume that USAGE being in output is good enough.
|
|
./lsyncd --help | grep '^USAGE:'
|