Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/kubo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e6890e1b639c^
Choose a base ref
...
head repository: ipfs/kubo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 880f378932f7
Choose a head ref
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 3, 2015

  1. t0240: improve ipfsi()

    License: MIT
    Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
    chriscool committed Oct 3, 2015

    Verified

    This commit was signed with the committer’s verified signature.
    Qix- Josh Junon
    Copy the full SHA
    e6890e1 View commit details
  2. t0240: use test_seq instead of seq

    License: MIT
    Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
    chriscool committed Oct 3, 2015

    Verified

    This commit was signed with the committer’s verified signature.
    Qix- Josh Junon
    Copy the full SHA
    0f7f049 View commit details
  3. t0240: swap 'resolve' and 'expected'

    License: MIT
    Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
    chriscool committed Oct 3, 2015
    Copy the full SHA
    880f378 View commit details
Showing with 6 additions and 4 deletions.
  1. +6 −4 test/sharness/t0240-republisher.sh
10 changes: 6 additions & 4 deletions test/sharness/t0240-republisher.sh
Original file line number Diff line number Diff line change
@@ -12,7 +12,9 @@ export IPTB_ROOT="`pwd`/.iptb"
export DEBUG=true

ipfsi() {
local dir=$1; shift; IPFS_PATH="$IPTB_ROOT/$dir" ipfs $@
dir="$1"
shift
IPFS_PATH="$IPTB_ROOT/$dir" ipfs "$@"
}

setup_iptb() {
@@ -21,7 +23,7 @@ setup_iptb() {
'

test_expect_success "set configs up" '
for i in `seq 0 3`
for i in $(test_seq 0 3)
do
ipfsi $i config Ipns.RepublishPeriod 20s
done
@@ -61,8 +63,8 @@ verify_can_resolve() {
'

test_expect_success "output looks right" '
printf /ipfs/$expected > expected &&
test_cmp resolve expected
printf "/ipfs/$expected" > expected &&
test_cmp expected resolve
'
}