tests(sharness) attempt to execute sharness tests on ipfs2
@jbenet @chriscool (not to be merged into master) This is a hack to run sharness tests on th ipfs2 binary. Instead of compiling cmd/ipfs, it compiles cmd/ipfs2 and copies this into test/bin/ipfs. I thought this would be enough to pass the `basic-commands` test, but it's not. Although the output is fairly similar, the `ipfs version` test fails. ``` test (feat/test2) λ. diff version1 version2 1c1 < ipfs version 0.1.7 --- > ipfs version 0.1.5 ``` I'm not very experienced with `sh` scripting, so perhaps I'm missing a key ingredient or maybe misunderstanding the the tests are meant to work. Would like to get input on this. Thanks, @maybebtc
Brian Tiger Chow committed
Nov 14, 2014 at 04:34 UTC
4678dea045ced1f566bcc17fb409789b7a4fc799
1 file changed
+2
-2
test/Makefile
+2
-2
@@ -32,8 +32,8 @@ $(SHARNESS):
32
ipfs:
33
@echo "*** installing $@ ***"
34
mkdir -p bin
35
- cd ../cmd/ipfs && go build
36
- cp ../cmd/ipfs/ipfs bin/ipfs
35
+ cd ../cmd/ipfs2 && go build
36
+ cp ../cmd/ipfs2/ipfs2 bin/ipfs
37
38
random:
39
@echo "*** installing $@ ***"