mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-06 09:31:17 +00:00
Changelog: https://git.libssh.org/projects/libssh.git/tag/?h=libssh-0.10.5 * Generate cases list dynamically in run-ptest. * Install missing file to fix ptest failure. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 lines
316 B
Bash
18 lines
316 B
Bash
#!/bin/sh
|
|
|
|
ptestdir=$(dirname "$(readlink -f "$0")")
|
|
cd "$ptestdir"/tests || exit
|
|
|
|
tests=$(find * -type f -name 'torture_*')
|
|
|
|
for f in $tests
|
|
do
|
|
if test -x ./"$f"; then
|
|
if ./"$f" > ./"$f".out 2> ./"$f".err; then
|
|
echo "PASS: $f"
|
|
else
|
|
echo "FAIL: $f"
|
|
fi
|
|
fi
|
|
done
|