blob: 13dc7ddaa130964f67c510c17dcd17de091c7397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
Avoid unsupported find options
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 }' | \
|