commit | 55fc3adc9b834664f3114ae0dc386ce8df4db745 | [log] [tgz] |
---|---|---|
author | Chunyu Hu <chuhu@redhat.com> | Wed May 11 19:36:28 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Mon Jun 06 17:43:54 2016 +0200 |
tree | 123acbbdf3cbc71012dd5e10523ed03102adfedb | |
parent | 80468070d7e00b36798f673afd3f6bc54950e0fa [diff] |
testcases/lib: Add tst_random There is no $RANDOM in portable shell, therefore we need it in order to get a random number. Produces decimical integer in a given range. Tests can use it to determine a random action. + documentation in the test-writing-guidelines Signed-off-by: Chunyu Hu <chuhu@redhat.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>