minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
82 stars 50 forks source link

cleanup all shell scripts #128

Closed balamurugana closed 7 years ago

nitisht commented 7 years ago

looks like ShellCheck is failing @balamurugana can you please fix.

balamurugana commented 7 years ago

@NitishT fixed shellcheck errors. However shellcheck errors shown now are not errors.

nitisht commented 7 years ago

However shellcheck errors shown now are not errors.

Agreed, but we need to follow one style and the linter shellcheck enforces that. We can look at other better linter options if available. Travis still fails.

harshavardhana commented 7 years ago

@NitishT fixed shellcheck errors. However shellcheck errors shown now are not errors.

@balamurugana there is a reasoning behind such a requested change - https://github.com/koalaman/shellcheck/wiki/SC2046

poornas commented 7 years ago

@balamurugana , ran the Dockerfile and Dockerfile.dev - a few more issues:

poornas commented 7 years ago

might be a good idea to log the sdk version as well in the output/error log.

balamurugana commented 7 years ago

All shellcheck errors and comments are addressed

balamurugana commented 7 years ago

@NitishT

Currently, if a specific SDK tests fails, say minio-go fails, mint stops execution of minio-go tests, moves to the next SDK and starts the tests.

Wanted to clarify if that is the expected behaviour or mint should stop the execution completely on first failure and exit?

This is the current (and correct) behavior.

@poornas

pressing Ctrl-C would cancel the run earlier but no longer works. Needs to be resuscitated.

done

minio-js fails with Dockerfile.dev but not Dockerfile

balamurugana commented 7 years ago

travis failure SC2064: Use single quotes, otherwise this expands now rather than when signalled. is not an error. expansion should not occur later.