1. 23 Jan, 2015 1 commit
  2. 07 Jan, 2015 2 commits
  3. 05 Jan, 2015 2 commits
  4. 18 Nov, 2014 1 commit
  5. 16 Nov, 2014 1 commit
    • Brian Tiger Chow's avatar
      tests(sharness) attempt to execute sharness tests on ipfs2 · 4678dea0
      Brian Tiger Chow authored
      @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
      4678dea0
  6. 09 Nov, 2014 2 commits
  7. 08 Nov, 2014 2 commits
  8. 07 Nov, 2014 4 commits
  9. 26 Oct, 2014 1 commit
  10. 25 Oct, 2014 1 commit
    • Christian Couder's avatar
      Add test/Makefile to run the test scripts · aeb019f2
      Christian Couder authored
      You can use it like this to launch all the
      test scripts in order:
      
      $ cd test
      $ make
       rm -r test-results
       *** t0010-basic-commands.sh ***
       ok 1 - current dir is writable
       ok 2 - ipfs version succeeds
       ok 3 - ipfs version output looks good
       ok 4 - ipfs help succeeds
       ok 5 - ipfs help output looks good
       # passed all 5 test(s)
       1..5
       ./test-aggregate-results.sh
       fixed   0
       success 5
       failed  0
       broken  0
       total   5
      
      Or you can just run one test like this:
      
      $ make t0010-basic-commands.sh
       *** t0010-basic-commands.sh ***
       ok 1 - current dir is writable
       ok 2 - ipfs version succeeds
       ok 3 - ipfs version output looks good
       ok 4 - ipfs help succeeds
       ok 5 - ipfs help output looks good
       # passed all 5 test(s)
       1..5
      aeb019f2