aboutsummaryrefslogtreecommitdiff
path: root/tools/test/buf_ring/run.sh
blob: 5bd0331503625e5ca091a62ce4dac1e61302727c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

run() {
	kind=$1
	echo Testing ${kind}
	buf_ring_test --cons-type=${kind} --prod-count=2 --buf-size=4
}

OBJDIR=$(make -V.OBJDIR)
export PATH=${OBJDIR}:${PATH}

run mc
run sc
run peek
run peek-clear
run mc-mt