From 411468d7490c4a66afb884cb59a6142c438ee8d0 Mon Sep 17 00:00:00 2001 From: Chandrashekhar Mullaparthi Date: Mon, 18 Jan 2016 22:47:48 +0000 Subject: [PATCH] Fix for #139 - file not being saved to disk when server does not respond with content-length --- test/Makefile | 10 ++++++++++ ...{ibrowse_functional_tests.erl => ibrowse_tests.erl} | 0 2 files changed, 10 insertions(+) create mode 100644 test/Makefile rename test/{ibrowse_functional_tests.erl => ibrowse_tests.erl} (100%) diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..c7d6f42 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,10 @@ +REBAR ?= $(shell which rebar3) + +all: compile + erl -noshell -boot start_clean -pa ../../ibrowse/ebin -s ibrowse_test local_unit_tests -s erlang halt + +compile: + erl -pa ../../ibrowse/ebin -make + +clean: + $(REBAR) clean diff --git a/test/ibrowse_functional_tests.erl b/test/ibrowse_tests.erl similarity index 100% rename from test/ibrowse_functional_tests.erl rename to test/ibrowse_tests.erl