view tests/reproducers/custom/GifarCreator/srcs/Makefile @ 510:19f5282f53e8

Fixed gifar vulnereability with automated testcase
author Jiri Vanek <jvanek@redhat.com>
date Wed, 10 Apr 2013 17:49:20 +0200
parents
children
line wrap: on
line source

DEPLOY_SUBDIR=$(REPRODUCERS_TESTS_SERVER_DEPLOYDIR)
GIF=$(DEPLOY_SUBDIR)/happyNonAnimated.gif
JAR=$(DEPLOY_SUBDIR)/GifarBase.jar
RESULT1=$(DEPLOY_SUBDIR)/Gifar.jar
RESULT2=$(DEPLOY_SUBDIR)/Gifar.gif

#this is dependent on reproducers/signed/GifarBase

prepare-reproducer:
	cat $(GIF) > $(RESULT1)
	cat $(JAR) >> $(RESULT1)
	cp $(RESULT1) $(RESULT2)

clean-reproducer:
	rm -rf $(RESULT1)
	rm -rf $(RESULT2)