linuxkit/test/cases/040_packages/002_bcc/check.sh
David Scott 9d16e2a2b9 test: the README.md says the numbers correspond to the first letter
A few of these tests appear to be misnumbered, so renumber them.

Signed-off-by: David Scott <dave@recoil.org>
2021-10-26 20:04:51 +01:00

10 lines
193 B
Bash
Executable File

#!/bin/sh
nsenter -t 1 -m -- /bin/ash -c "/usr/share/bcc/tools/softirqs 1 1"
if [ "$?" -ne "0" ]; then
printf "bcc test suite FAILED\n" >&1
exit 1
fi;
printf "bcc test suite PASSED\n" >&1