xref: /freebsd/tools/test/buf_ring/run.sh (revision 8e95079e175854b84e57c521b34b4b52f7ae9cb1)
1#!/bin/sh
2
3run() {
4	kind=$1
5	echo Testing ${kind}
6	buf_ring_test --cons-type=${kind} --prod-count=2 --buf-size=4
7}
8
9OBJDIR=$(make -V.OBJDIR)
10export PATH=${OBJDIR}:${PATH}
11
12run mc
13run sc
14run peek
15run peek-clear
16run mc-mt
17