]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: really improve test list randomization
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 20 Mar 2019 00:44:49 +0000 (17:44 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sat, 23 Mar 2019 13:27:12 +0000 (21:27 +0800)
commit97fd33c767409c382fd8a7b368f7d1fc23fe75a4
treeb01eb1c103c4445cda47a673fef45cb009f3fcef
parent07094a9652c0ce002138fef69a0d8c973e539bde
check: really improve test list randomization

coreutils provides the shuf(1) utility that randomizes the order of a
list and seeds its random number generator with /dev/urandom.  It's a
bit speedier than awk, so use it if available.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
check