t0031: ensure iptb init happens
License: MIT Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
Stephen Whitmore committed
Feb 22, 2016 at 12:23 UTC
f4367f68316dd8635a218e3e5c331dd510ce7e6c
1 file changed
+4
-2
test/sharness/t0031-mount-publish.sh
+4
-2
@@ -16,8 +16,10 @@ test_init_ipfs
16
17
# start iptb + wait for peering
18
NUM_NODES=3
19
-iptb init -n $NUM_NODES -f --bootstrap=none --port=0
20
-startup_cluster $NUM_NODES
19
+test_expect_success 'init iptb' '
20
+ iptb init -n $NUM_NODES -f --bootstrap=none --port=0 &&
21
+ startup_cluster $NUM_NODES
22
+'
23
24
# pre-mount publish
25
HASH=$(echo 'hello warld' | ipfsi 0 add -q)