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:
@@ -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/} .................................................."
|
||||
|
||||
Reference in New Issue
Block a user