commit | d6a390e44e0caffbb19d96dfd0d6c0c83b27e602 | [log] [tgz] |
---|---|---|
author | Hangbin Liu <liuhangbin@gmail.com> | Thu Jul 16 22:47:53 2015 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Jul 30 17:44:52 2015 +0200 |
tree | c07f66ada9bf47cabfee245600b3a2642a6ced1a | |
parent | 5e391383f6f00930123c5c17c4161ebf232063d4 [diff] |
testcases/lib/test.sh: add tst_retry() The function allows you to retry running command a few times until it succeeds or until given amount of retries has been reached. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>