Commit 4b84b1ff authored by Julien Muchembled's avatar Julien Muchembled

randomsleep: cleanup

parent eb4fc00a
Pipeline #6294 failed with stage
in 0 seconds
......@@ -12,10 +12,10 @@ bash_script_code =
echo "usage: randomsleep maxseconds"
exit
fi
${coreutils:location}/bin/sleep $((RANDOM % $1)).$((RANDOM % 100))
exec ${coreutils:location}/bin/sleep $((RANDOM * $1 >> 15)).$((RANDOM * 100 >> 15))
wrapper_script_code =
#!${bash:location}/bin/bash
${bash:location}/bin/bash ${:location}/randomsleep.bash "$@"
. ${:location}/randomsleep.bash
script =
os.makedirs(self.options['location'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment