1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

runtestcases.sh: order the testcases

This commit is contained in:
Michael Schroeder
2022-03-10 14:23:34 +01:00
parent 1cdd5df632
commit 871c4936fd

View File

@@ -1,15 +1,15 @@
#!/bin/bash
cmd=$1
dir=$2
dir=${2:-.}
if test -z "$cmd" -o -z "$dir"; then
echo "Usage: runtestcases <cmd> <dir>";
echo "Usage: runtestcases <cmd> [dir]";
exit 1
fi
ex=0
for tc in $(find $dir -name \*.t) ; do
for tc in $(find $dir -name \*.t | sort) ; do
$cmd $tc >/dev/null
tex=$?
tcn="${tc#$dir/} .................................................."