test/sharness: allow testing of daemon without FUSE
This commit allows sharness tests to run daemon tests when the FUSE option is off. Unsure why this was previously included.
Juan Batiz-Benet committed
Jan 28, 2015 at 00:23 UTC
c283c0a6902cfa65aa7e1528e690ae9e98d009f3
1 file changed
+4
-4
test/sharness/lib/test-lib.sh
+4
-4
@@ -82,11 +82,11 @@ test_init_ipfs() {
82
83
test_launch_ipfs_daemon() {
84
85
- test_expect_success FUSE "'ipfs daemon' succeeds" '
85
+ test_expect_success "'ipfs daemon' succeeds" '
86
ipfs daemon >actual 2>daemon_err &
87
'
88
89
- test_expect_success FUSE "'ipfs daemon' output looks good" '
89
+ test_expect_success "'ipfs daemon' output looks good" '
90
IPFS_PID=$! &&
91
echo "Initializing daemon..." >expected &&
92
echo "API server listening on /ip4/127.0.0.1/tcp/5001" >>expected &&
@@ -132,11 +132,11 @@ test_kill_repeat_10_sec() {
132
133
test_kill_ipfs_daemon() {
134
135
- test_expect_success FUSE "'ipfs daemon' is still running" '
135
+ test_expect_success "'ipfs daemon' is still running" '
136
kill -0 $IPFS_PID
137
'
138
139
- test_expect_success FUSE "'ipfs daemon' can be killed" '
139
+ test_expect_success "'ipfs daemon' can be killed" '
140
test_kill_repeat_10_sec $IPFS_PID
141
'
142
}