1. 09 Nov, 2014 5 commits
  2. 08 Nov, 2014 4 commits
  3. 07 Nov, 2014 9 commits
  4. 06 Nov, 2014 1 commit
  5. 01 Nov, 2014 2 commits
  6. 31 Oct, 2014 3 commits
  7. 26 Oct, 2014 2 commits
  8. 25 Oct, 2014 6 commits
    • Christian Couder's avatar
      Add test/.gitignore to ignore test-results/ · 47e75834
      Christian Couder authored
      License: MIT
      Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
      47e75834
    • 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
    • Christian Couder's avatar
      Add test-aggregate-results.sh · 0aebe753
      Christian Couder authored
      This script aggregates test results using Sharness.
      0aebe753
    • Christian Couder's avatar
      Move Sharness config checks into test-sharness-config.sh · 1fb41926
      Christian Couder authored
      This way we can easily reuse the checks in
      test-sharness-config.sh.
      1fb41926
    • Christian Couder's avatar
      Add t0010-basic-commands.sh · 12490cb4
      Christian Couder authored
      This checks a little bit the installation and some
      basic commands.
      
      You can run it like that:
      
      $ cd test
      $ ./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
      12490cb4
    • Christian Couder's avatar
      Add test-lib.sh for our shell test framework · 449523ee
      Christian Couder authored
      Our test framework is based on Sharness.
      So the first thing to do is to source it.
      449523ee