diff --git a/Makefile b/Makefile index a5c25f1..284f914 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,15 @@ distcheck: dist echo "$$numfiles files installed (5 expected)" && \ test "$$numfiles" -eq 5 +check: $(PROGS) + echo Checking version output + ./mt --version + ./stinit --version + echo Checking parse status + ./stinit -p -f stinit.def.examples + echo Checking complete stinit parsing + ( ./stinit -v -v -p -f stinit.def.examples 2>&1 | grep -q 'Mode 1 definition: scsi2logical=1 can-bsr=1 auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=0 fast-eom=1 blocksize=0 sili=1 timeout=900 long-timeout=14400 density=0x44 compression=0' ) + release-tag: git tag -s -m 'Release version $(VERSION).' mt-st-$(VERSION)