]> arthur.barton.de Git - backup-script.git/commitdiff
Implement very trivial first "make check" tests
authorAlexander Barton <alex@barton.de>
Wed, 25 May 2016 08:25:57 +0000 (10:25 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 25 May 2016 08:25:57 +0000 (10:25 +0200)
bin/Makefile

index d665571f7df59f71e2a3904e9ef7c29c8c9265a0..b9048d6d2836b97ffe83cd3447d5bbb9a8c163f1 100644 (file)
@@ -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