summaryrefslogtreecommitdiff
path: root/test/common.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-01-30Consistently use nproc for counting the CPUsHeinrich Schuchardt1-1/+1
Coreutils command nproc can be used on Linux and BSD to count the number of available CPU cores. Use this instead of relying on the parsing of the Linux specific proc file system. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2014-09-25test: Add a test for command repeatSimon Glass1-0/+20
This performs a command, then repeats it, and checks that the repeat happens. Signed-off-by: Simon Glass <sjg@chromium.org>