diff options
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/run.sh b/tests/run.sh index 7b662390e..cef137160 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -15,7 +15,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh +. functions.sh echo echo "------------------ Utils-linux-ng regression tests ------------------" @@ -24,12 +24,10 @@ echo " For development purpose only. " echo " Don't execute on production system! " echo -rm -f *~ - res=0 count=0 -for ts in $(find -maxdepth 1 -regex "\./ts[^\.~]*" | sort); do - $TS_TOPDIR/$ts "$1" +for ts in $(find ts/ -type f -perm /a+x -regex "[^\.~]*" | sort); do + ./$ts "$1" res=$(( $res + $? )) count=$(( $count + 1 )) done |