minio/mint/run/core/s3cmd
Harshavardhana 98ca770f81
mint fixes for go1.14 (#10294)
add go.mod to ensure that mint can be
built with go1.14.x
2020-08-19 20:07:37 -07:00
..
.gitignore Add mint tests into MinIO repo (#7886) 2019-07-09 18:32:39 -07:00
README.md Add mint tests into MinIO repo (#7886) 2019-07-09 18:32:39 -07:00
run.sh migrate mint tests to latest versions (#9424) 2020-04-22 16:06:58 -07:00
test.sh mint fixes for go1.14 (#10294) 2020-08-19 20:07:37 -07:00

s3cmd tests

This directory serves as the location for Mint tests using s3cmd. Top level mint.sh calls run.sh to execute tests.

Adding new tests

New tests is added into test.sh as new functions.

Running tests manually

  • Set environment variables MINT_DATA_DIR, MINT_MODE, SERVER_ENDPOINT, ACCESS_KEY, SECRET_KEY, SERVER_REGION and ENABLE_HTTPS
  • Call run.sh with output log file and error log file. for example
export MINT_DATA_DIR=~/my-mint-dir
export MINT_MODE=core
export SERVER_ENDPOINT="play.minio.io:9000"
export ACCESS_KEY="Q3AM3UQ867SPQQA43P2F"
export SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
export ENABLE_HTTPS=1
export SERVER_REGION=us-east-1
./run.sh /tmp/output.log /tmp/error.log