storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/mint/run/core/mc/README.md (about) 1 ## `mc` tests 2 This directory serves as the location for Mint tests using `mc`. Top level `mint.sh` calls `run.sh` to execute tests. 3 4 ## Adding new tests 5 New tests is added into `test.sh` as new functions. 6 7 ## Running tests manually 8 - Set environment variables `MINT_DATA_DIR`, `MINT_MODE`, `SERVER_ENDPOINT`, `ACCESS_KEY`, `SECRET_KEY`, `SERVER_REGION` and `ENABLE_HTTPS` 9 - Call `run.sh` with output log file and error log file. for example 10 ```bash 11 export MINT_DATA_DIR=~/my-mint-dir 12 export MINT_MODE=core 13 export SERVER_ENDPOINT="play.minio.io:9000" 14 export ACCESS_KEY="Q3AM3UQ867SPQQA43P2F" 15 export SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" 16 export ENABLE_HTTPS=1 17 export SERVER_REGION=us-east-1 18 ./run.sh /tmp/output.log /tmp/error.log 19 ```