소스 검색

Additional indication and cleanup

Piotr Czajkowski 3 년 전
부모
커밋
14613aff53
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      makefile

+ 2 - 2
makefile

@@ -12,7 +12,7 @@ test: anonymize
 	@./anonymize testFiles/input.docx testFiles/output.docx
 	@cmp testFiles/input.docx testFiles/output.docx -s ; if [ $$? -eq 0 ] ; then echo "FAILURE: Files should differ after anonymizing!"; exit 1; fi
 	@./anonymize testFiles/output.docx -d
-	@cmp testFiles/input.docx testFiles/output.docx -s ; if [ $$? -eq 0 ] ; then echo "OK"; else echo "FAILURE: Files should be the same after de-anonymizing!"; fi
-	@rm testFiles/output.docx
+	@cmp testFiles/input.docx testFiles/output.docx -s ; if [ $$? -eq 0 ] ; then echo "OK"; else echo "FAILURE: Files should be the same after de-anonymizing!"; exit 1; fi
+	@rm testFiles/output.docx testFiles/input.docx.bin testFiles/output.docx.bin
 
 default: anonymize