@cryptotaxi247 / kubo / commits / 30f28c00c

Adapt t0040 to output from ipfs2

The ouput from "ipfs add" changed in ipfs2. With the changes in this commit, this output change doesn't prevent the test to pass. With TEST_NO_FUSE=1 test t0040 now passes on my Linux machine. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Nov 15, 2014 at 14:47 UTC 30f28c00ce8ce71ce96d14b7ab5acdf83413984c
1 file changed +2 -2
test/t0040-add-and-cat.sh
+2 -2
@@ -17,7 +17,7 @@ test_expect_success "ipfs add succeeds" '
17
18 test_expect_success "ipfs add output looks good" '
19 HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" &&
20 - echo "added $HASH $(pwd)/mountdir/hello.txt" >expected &&
20 + echo "added $HASH mountdir/hello.txt" >expected &&
21 test_cmp expected actual
22 '
23
@@ -58,7 +58,7 @@ test_expect_success "ipfs add bigfile succeeds" '
58
59 test_expect_success "ipfs add bigfile output looks good" '
60 HASH="QmWXysX1oysyjTqd5xGM2T1maBaVXnk5svQv4GKo5PsGPo" &&
61 - echo "added $HASH $(pwd)/mountdir/bigfile" >expected &&
61 + echo "added $HASH mountdir/bigfile" >expected &&
62 test_cmp expected actual
63 '
64