3 runCommand "kubo-test-repoVersion" { } ''
4 export IPFS_PATH="$TMPDIR"
5 "${kubo}/bin/ipfs" init --empty-repo
6 declared_repo_version='${kubo.repoVersion}'
7 actual_repo_version="$(cat "$IPFS_PATH/version")"
8 if [ "$declared_repo_version" != "$actual_repo_version" ]; then
9 echo "kubo.repoVersion is not set correctly. It should be $actual_repo_version but is $declared_repo_version."