Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/tools/test/buf_ring/run.sh
39507 views
1
#!/bin/sh
2
3
run() {
4
kind=$1
5
echo Testing ${kind}
6
buf_ring_test --cons-type=${kind} --prod-count=2 --buf-size=4
7
}
8
9
OBJDIR=$(make -V.OBJDIR)
10
export PATH=${OBJDIR}:${PATH}
11
12
run mc
13
run sc
14
run peek
15
run peek-clear
16
run mc-mt
17
18