From 51e8c14f812714bb1bdad1d119be56ca79cb2076 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 25 May 2016 10:25:57 +0200 Subject: [PATCH] Implement very trivial first "make check" tests --- bin/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2