test(sharness): use test profile
Otherwise, we have port conflicts and other issues.
Steven Allen committed
Dec 5, 2019 at 18:37 UTC
ab274664dff9ed00dc9d6f27061a85647b4f4d2a
1 file changed
+3
-3
test/sharness/t0060-daemon.sh
+3
-3
@@ -9,7 +9,7 @@ test_description="Test daemon command"
9
. lib/test-lib.sh
10
11
test_expect_success "create badger config" '
12
- ipfs init --profile=badgerds > /dev/null &&
12
+ ipfs init --profile=badgerds,test > /dev/null &&
13
cp "$IPFS_PATH/config" init-config
14
'
15
@@ -17,7 +17,7 @@ test_expect_success "cleanup repo" '
17
rm -rf "$IPFS_PATH"
18
'
19
20
-test_launch_ipfs_daemon --init --init-config="$(pwd)/init-config"
20
+test_launch_ipfs_daemon --init --init-config="$(pwd)/init-config" --init-profile=test
21
test_kill_ipfs_daemon
22
23
test_expect_success "daemon initialization with existing config works" '
@@ -30,7 +30,7 @@ test_expect_success "cleanup repo" '
30
rm -rf "$IPFS_PATH"
31
'
32
33
-test_launch_ipfs_daemon --init --init-config="$(pwd)/init-config" --init-profile=randomports
33
+test_launch_ipfs_daemon --init --init-config="$(pwd)/init-config" --init-profile=test,randomports
34
test_kill_ipfs_daemon
35
36
test_expect_success "daemon initialization with existing config + profiles works" '