Avoid unsupported find options Signed-off-by: Tudor Florea Upstream-Status: Pending diff -ruN a/tests/run.sh b/tests/run.sh --- a/tests/run.sh 2013-08-26 23:48:48.868279097 +0200 +++ b/tests/run.sh 2013-08-27 00:14:35.646730004 +0200 @@ -91,7 +91,7 @@ # selected tests only for s in $SUBTESTS; do if [ -d "$top_srcdir/tests/ts/$s" ]; then - co=$(find $top_srcdir/tests/ts/$s -type f -perm /a+x -regex ".*/[^\.~]*" | sort) + co=$(find $top_srcdir/tests/ts/$s -type f -perm -111 -regex ".*/[^\.~]*" | sort) comps="$comps $co" else echo "Unknown test component '$s'" @@ -104,7 +104,7 @@ exit 1 fi - comps=$(find $top_srcdir/tests/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" | sort) + comps=$(find $top_srcdir/tests/ts/ -type f -perm -111 -regex ".*/[^\.~]*" | sort) fi diff -ruN a/tests/ts/build-sys/config b/tests/ts/build-sys/config --- a/tests/ts/build-sys/config 2013-08-26 23:50:26.800131581 +0200 +++ b/tests/ts/build-sys/config 2013-08-27 00:10:02.806302850 +0200 @@ -32,7 +32,7 @@ ./configure $opts &> /dev/null make -j &> /dev/null - bins=$(find . -type f -perm /a+x | sort) + bins=$(find . -type f -perm -111 | sort) for b in $bins; do libs=$(readelf --dynamic $b 2> /dev/null | \ awk '/NEEDED/ { print $5 }' | \