script/autobuild.py: replace random-sleep.sh with python function
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 22 May 2019 10:34:57 +0000 (22:34 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Jun 2019 23:40:16 +0000 (23:40 +0000)
commit0383747dcc5af4a3832aa938e99df81ae6357c21
tree4548c557225463d25f1c7f31f5442a1420438285
parent1b70d43ed1fde70179d7cdb4426bacd1a2ddfc33
script/autobuild.py: replace random-sleep.sh with python function

The random-sleep.sh script is tricky, and there is no need to rely on another
script just for random sleep.

Using the python function, the random number generation will happen when
load autobuild.py other than execute cmd, but shouldn't affect the
result.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/autobuild.py
script/random-sleep.sh [deleted file]