1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

sharness: make sure not mounted

if a test is cancelled, unmount may not run. then, must
run umount before mounting, just to make sure.
This commit is contained in:
Juan Batiz-Benet
2015-01-05 08:04:47 -08:00
parent b372b4879e
commit e785ad1d64

View File

@ -96,7 +96,10 @@ test_launch_ipfs_daemon() {
test_mount_ipfs() {
# make sure stuff is unmounted first.
test_expect_success FUSE "'ipfs mount' succeeds" '
umount $(pwd)/ipfs || true &&
umount $(pwd)/ipns || true &&
ipfs mount >actual
'