From: Karel Zak Date: Wed, 29 Apr 2009 13:51:32 +0000 (+0200) Subject: tests: fix -regex in run.sh X-Git-Tag: v2.15~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=396b8c0f9fa583b9236aadc78673ce8daa6d555b;p=thirdparty%2Futil-linux.git tests: fix -regex in run.sh Reported-by: Scott James Remnant Signed-off-by: Karel Zak --- diff --git a/tests/run.sh b/tests/run.sh index f4a6e7bfe9..b99f876138 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -17,11 +17,11 @@ # TS_TOPDIR=$(cd $(dirname $0) && pwd) -comps=$(find $TS_TOPDIR/ts/ -type f -perm /a+x -regex "[^\.~]*" | sort) +comps=$(find $TS_TOPDIR/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" | sort) if [ -n "$1" ]; then if [ -d "$TS_TOPDIR/ts/$1" ]; then - comps=$(find $TS_TOPDIR/ts/$1 -type f -perm /a+x -regex "[^\.~]*" | sort) + comps=$(find $TS_TOPDIR/ts/$1 -type f -perm /a+x -regex ".*/[^\.~]*" | sort) else echo echo "usage: $0 []"