blob: 15c243c87a0689dc83ab870898919ad34e0934ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
TESTNAME=UnsignedContentInMETAINF
JAVAC_CLASSPATH=$(JNLP_TESTS_ENGINE_DIR):$(NETX_DIR)/lib/classes.jar
DEPLOY_DIR=$(JNLP_TESTS_SERVER_DEPLOYDIR)
JAVAC=$(BOOT_DIR)/bin/javac
JAR=$(BOOT_DIR)/bin/jar
ABS_SRC_PATH=$(JNLP_TESTS_SRCDIR)/custom/$(TESTNAME)/srcs
prepare-reproducer:
echo PREPARING REPRODUCER $(TESTNAME)
echo "USING ABSPATH = " $(ABS_SRC_PATH)
cp $(DEPLOY_DIR)/ReadPropertiesSigned.jar $(DEPLOY_DIR)/UnsignedContentInMETAINF.jar
# Place an unsigned file in the META-INF folder
cd $(ABS_SRC_PATH)
$(JAR) uf $(DEPLOY_DIR)/UnsignedContentInMETAINF.jar META-INF/
echo PREPARED REPRODUCER $(TESTNAME)
clean-reproducer:
echo CLEANING REPRODUCER $(TESTNAME)
rm -f UnsignedContentInMETAINF.jar
echo CLEANED REPRODUCER $(TESTNAME)
|