From: Alexander Barton Date: Wed, 25 May 2016 08:25:57 +0000 (+0200) Subject: Implement very trivial first "make check" tests X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=backup-script.git;a=commitdiff_plain;h=51e8c14f812714bb1bdad1d119be56ca79cb2076 Implement very trivial first "make check" tests --- diff --git a/bin/Makefile b/bin/Makefile index d665571..b9048d6 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -14,3 +14,7 @@ install-local: $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper install -o $(USER) -g $(GROUP) -m 755 backup-status \ $(DESTDIR)$(PREFIX)/sbin/backup-status + +check-local: + ./backup-script --help | fgrep 'Usage' >/dev/null + ./backup-script --help | fgrep 'Configuration file' >/dev/null