[Forensics-changes] [fcrackzip] 46/93: debian/test/Makefile: add rules for zip files

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Wed Dec 28 03:06:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository fcrackzip.

commit 8ef8aeb47f1b6a887d0cfa58c1273deeb0ccb709
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Tue Jan 5 20:46:50 2010 +0200

    debian/test/Makefile: add rules for zip files
---
 debian/test/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/test/Makefile b/debian/test/Makefile
index 0c3cd1e..970dd49 100644
--- a/debian/test/Makefile
+++ b/debian/test/Makefile
@@ -18,18 +18,22 @@ $(FILE):
 	#  when asked
 	touch a b c
 	zip -e $(FILE) a b c
+
 	rm -f a b c
 
+\'$(FILE): $(FILE)
+	cp $(FILE) \'$(FILE)
+
 test1: $(FILE)
 	# test simple crack
 	$(BIN) $(OPTIONS) $(PASS) $(FILE)
 
-test2:
+test2: \'$(FILE)
 	# test special filename
-	$(BIN) $(OPTIONS) $(PASS) \'test.zip
+	$(BIN) $(OPTIONS) $(PASS) \'$(FILE)
 
 test3: input.pass
 	# test stdin
-	$(BIN) $(OPTIONS) -p - test.zip < input.pass
+	$(BIN) $(OPTIONS) -p - $(FILE) < input.pass
 
 # End of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/fcrackzip.git



More information about the forensics-changes mailing list