The tests write by shunit2 for testing the linux bash script.
First download the bash script test by git command as below:
git clone https://github.com/holi-java/bashscript-test.git
Then open the bashscript-test
directory and just run the all-tests.sh
, for example:
cd bashscript-test
./all-tests.sh