1. 16 Oct, 2015 2 commits
  2. 04 Feb, 2015 1 commit
  3. 07 Jan, 2015 1 commit
  4. 05 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      sharness: nice verbose ouput · be4191d8
      Juan Batiz-Benet authored
      Make sharness tests' output helpful when verbose.
      This means cating certain files, or running diagnostic
      commands. I used a construction like:
      
          test_expect_success ".go-ipfs/ has been created" '
            test -d ".go-ipfs" &&
            test -f ".go-ipfs/config" &&
            test -d ".go-ipfs/datastore" ||
            fsh ls -al .go-ipfs
          '
      
      The `|| ...` is a diagnostic run when the preceding command
      fails. `fsh` is a trivial script that echoes the args, runs
      the cmd, and then also fails, making sure the test case fails.
      (wouldnt want the diagnostic accidentally returning true and
      making it _seem_ like the test case succeeded).
      be4191d8
  5. 16 Nov, 2014 1 commit
  6. 09 Nov, 2014 1 commit
  7. 08 Nov, 2014 1 commit
  8. 07 Nov, 2014 1 commit
  9. 25 Oct, 2014 1 commit
    • 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