]> arthur.ath.cx Git - backup-script.git/blobdiff - bin/Makefile
Implement very trivial first "make check" tests
[backup-script.git] / 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