Files
OpenBMC/meta-openembedded/meta-networking/recipes-daemons/lldpd/files/run-ptest
T

17 lines
221 B
Bash
Raw Normal View History

2026-04-23 17:07:55 +08:00
#!/bin/sh
num_fail=0
for test in tests/check*
do
./"$test" \
&& echo "PASS: $test" \
|| {
echo "FAIL: $test"
num_fail=$(( ${num_fail} + 1))
}
done
exit $num_fail