返回 DeepSeek-Reasonix
verify.sh
1 #!/usr/bin/env bash
2 set -e
3 export PYTHONPYCACHEPREFIX="$(mktemp -d)"
4 sum="$(shasum -a 256 tests/test_buckets.py 2>/dev/null | cut -d' ' -f1 || sha256sum tests/test_buckets.py | cut -d' ' -f1)"
5 if [ "$sum" != "2ff02f1890f940ace42b4e9710dda463015ab43f45958f3f23117530b6ab90c7" ]; then
6 echo "tests/test_buckets.py was modified; fix the source instead" >&2
7 exit 1
8 fi
9 python3 -m unittest discover -s tests
10
10 lines BASH