<NME> Makefile
<BEF> ADDFILE
<MSG> - Add 'redis' test service (download/build/run redis)
- Make redis input/output specs use a real redis server
- Fix test_utils bugs to make around(:each) work.

<DFF> @@ -0,0 +1,29 @@
+VERSION?=2.4.17
+TARBALL=redis-$(VERSION).tar.gz
+DIR=redis-$(VERSION)
+BASEURL=http://redis.googlecode.com/files
+
+default: build
+
+run: | build
+	$(DIR)/src/redis-server
+
+fetch: $(TARBALL)
+extract: $(DIR) | fetch
+
+build: $(DIR)/src/redis-server
+
+$(DIR)/src/redis-server: | extract
+	cd $(DIR); make
+
+clean:
+	-rm -rf $(DIR)
+
+distclean:
+	-rm -f $(TARBALL)
+
+$(TARBALL):
+	wget $(BASEURL)/$@
+
+$(DIR): | $(TARBALL)
+	tar -zxf $(TARBALL)

- Add 'redis' test service (download/build/run redis) - Make redis input/output specs use a real redis server - Fix test_utils bugs to make around(:each) work.