Skip to content

Commit aa51dbf

Browse files
committed
test: fix shellcheck issue
1 parent 4dfd15b commit aa51dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test.inc.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ __debug()
8585
# return a random number
8686
__get_random()
8787
{
88-
# shellcheck disable=SC2039
88+
# TODO find a POSIX way to generate a random number
89+
# shellcheck disable=SC2039,SC3028
8990
_rand="$RANDOM"
9091
if [ "$_rand" = '' ] && command -v shuf >/dev/null; then
9192
_rand="$(shuf --head-count=1 --input-range=0-999)"

0 commit comments

Comments
 (0)