1. 28 Jan, 2018 1 commit
  2. 27 Jan, 2018 1 commit
  3. 14 Dec, 2017 1 commit
  4. 15 Aug, 2016 1 commit
    • Christian Couder's avatar
      ipfs-test-lib: fix test_fsh arg quoting · 2489dfe8
      Christian Couder authored
      test_fsh() should quote its arguments before passing them
      to `eval` otherwise there are problems when the arguments
      contain spaces.
      
      For example when running the following program:
      
      ```
      #!/bin/sh
      
      . ./ipfs-test-lib.sh
      
      die () {
          printf >&2 "%s\n" "$@"
          exit 1
      }
      
      DIR1="test dir 1"
      DIR2="test dir 2"
      
      mkdir "$DIR1" "$DIR2" || die "Could not mkdir '$DIR1' '$DIR2'"
      
      echo "in dir 1" >"$DIR1/file1" || die "Could not write into '$DIR1/file1'"
      echo "in dir 2" >"$DIR2/file2" || die "Could not write into '$DIR2/file2'"
      
      if test_cmp "$DIR1/file1" "$DIR2/file2"
      then
          echo "test_cmp succeeded!"
      else
          echo "test_cmp failed!"
      fi
      
      rm -rf "$DIR1" "$DIR2" || die "Could not rm -rf '$DIR1' '$DIR2'"
      
      ```
      
      we get:
      
      ```
      > diff -u test dir 1/file1 test dir 2/file2
      diff: extra operand '1/file1'
      diff: Try 'diff --help' for more information.
      
      test_cmp failed!
      ```
      
      License: MIT
      Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
      2489dfe8
  5. 13 Feb, 2016 1 commit
  6. 04 Feb, 2016 1 commit
    • Lars Gierth's avatar
      Rework the Dockerfile · 81c8cffe
      Lars Gierth authored
      - Have two Dockerfiles doing essentially the same,
        but optimized for build time (for tests)
        and image size (for Docker Hub)
      - Fetch gx dependencies
      - Expose port 4002 for utp
      - Specify go version, currently 1.5.3-r0
      - Create ephemeral fs-repo if none is mounted
      - Have t0300-docker-image actually test IPFS, not just an echo
      - Make everything a bit less hardcoded
      - Remove dead shacheck
      
      License: MIT
      Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
      81c8cffe
  7. 12 Jan, 2016 1 commit
  8. 10 Jan, 2016 1 commit
  9. 03 Oct, 2015 2 commits
  10. 27 Sep, 2015 1 commit
  11. 14 Jun, 2015 1 commit
  12. 03 Jun, 2015 1 commit
  13. 04 Apr, 2015 1 commit
  14. 04 Feb, 2015 1 commit