t0030: replace some expect_failure with expect_success
It looks like some tests that were expected failures are now always succeeding, so let's mark them as such. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Mar 14, 2015 at 07:25 UTC
e0c4638496e58e86ee7c664709fca840355a561f
1 file changed
+3
-3
test/sharness/t0030-mount.sh
+3
-3
@@ -18,13 +18,13 @@ fi
18
test_init_ipfs
19
test_launch_ipfs_daemon
20
21
-# run this mount failure before mounting properly.
21
+# test mount failure before mounting properly.
22
23
-test_expect_failure "'ipfs mount' fails when no mount dir (issue #341)" '
23
+test_expect_success "'ipfs mount' fails when no mount dir" '
24
test_must_fail ipfs mount -f=not_ipfs -n=not_ipns >actual
25
'
26
27
-test_expect_failure "'ipfs mount' looks good when it fails (issue #341)" '
27
+test_expect_success "'ipfs mount' output looks good when it fails" '
28
! grep "IPFS mounted at: $(pwd)/ipfs" actual >/dev/null &&
29
! grep "IPNS mounted at: $(pwd)/ipns" actual >/dev/null ||
30
test_fsh cat actual