mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +08:00
Merge pull request #3750 from ipfs/fix/sharness/filestore/format
test: small cleanup to the filestore sharness test
This commit is contained in:
@ -10,7 +10,7 @@ test_description="Test out the filestore nocopy functionality"
|
|||||||
|
|
||||||
|
|
||||||
test_expect_success "create a dataset" '
|
test_expect_success "create a dataset" '
|
||||||
random-files -seed=483 -depth=3 -dirs=4 -files=6 -filesize=1000000 somedir
|
random-files -seed=483 -depth=3 -dirs=4 -files=6 -filesize=1000000 somedir > /dev/null
|
||||||
'
|
'
|
||||||
|
|
||||||
EXPHASH="QmW4JLyeTxEWGwa4mkE9mHzdtAkyhMX2ToGFEKZNjCiJud"
|
EXPHASH="QmW4JLyeTxEWGwa4mkE9mHzdtAkyhMX2ToGFEKZNjCiJud"
|
||||||
@ -24,7 +24,7 @@ assert_repo_size_less_than() {
|
|||||||
|
|
||||||
test_expect_success "check repo size" '
|
test_expect_success "check repo size" '
|
||||||
test "$(get_repo_size)" -lt "$expval" ||
|
test "$(get_repo_size)" -lt "$expval" ||
|
||||||
test_fsh get_repo_size
|
test_fsh get_repo_size
|
||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,9 +83,9 @@ init_ipfs_filestore
|
|||||||
|
|
||||||
test_filestore_adds
|
test_filestore_adds
|
||||||
|
|
||||||
echo "WORKING DIR"
|
test_debug '
|
||||||
echo "IPFS PATH = " $IPFS_PATH
|
echo "pwd=$(pwd)"; echo "IPFS_PATH=$IPFS_PATH"
|
||||||
pwd
|
'
|
||||||
|
|
||||||
|
|
||||||
init_ipfs_filestore
|
init_ipfs_filestore
|
||||||
|
Reference in New Issue
Block a user