diff options
Diffstat (limited to 'recipes-core/util-linux/util-linux/avoid_unsupported_find_opts.patch')
-rw-r--r-- | recipes-core/util-linux/util-linux/avoid_unsupported_find_opts.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/recipes-core/util-linux/util-linux/avoid_unsupported_find_opts.patch b/recipes-core/util-linux/util-linux/avoid_unsupported_find_opts.patch deleted file mode 100644 index 13dc7dd..0000000 --- a/recipes-core/util-linux/util-linux/avoid_unsupported_find_opts.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | Avoid unsupported find options | ||
2 | |||
3 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | diff -ruN a/tests/run.sh b/tests/run.sh | ||
7 | --- a/tests/run.sh 2013-08-26 23:48:48.868279097 +0200 | ||
8 | +++ b/tests/run.sh 2013-08-27 00:14:35.646730004 +0200 | ||
9 | @@ -91,7 +91,7 @@ | ||
10 | # selected tests only | ||
11 | for s in $SUBTESTS; do | ||
12 | if [ -d "$top_srcdir/tests/ts/$s" ]; then | ||
13 | - co=$(find $top_srcdir/tests/ts/$s -type f -perm /a+x -regex ".*/[^\.~]*" | sort) | ||
14 | + co=$(find $top_srcdir/tests/ts/$s -type f -perm -111 -regex ".*/[^\.~]*" | sort) | ||
15 | comps="$comps $co" | ||
16 | else | ||
17 | echo "Unknown test component '$s'" | ||
18 | @@ -104,7 +104,7 @@ | ||
19 | exit 1 | ||
20 | fi | ||
21 | |||
22 | - comps=$(find $top_srcdir/tests/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" | sort) | ||
23 | + comps=$(find $top_srcdir/tests/ts/ -type f -perm -111 -regex ".*/[^\.~]*" | sort) | ||
24 | fi | ||
25 | |||
26 | |||
27 | diff -ruN a/tests/ts/build-sys/config b/tests/ts/build-sys/config | ||
28 | --- a/tests/ts/build-sys/config 2013-08-26 23:50:26.800131581 +0200 | ||
29 | +++ b/tests/ts/build-sys/config 2013-08-27 00:10:02.806302850 +0200 | ||
30 | @@ -32,7 +32,7 @@ | ||
31 | ./configure $opts &> /dev/null | ||
32 | make -j &> /dev/null | ||
33 | |||
34 | - bins=$(find . -type f -perm /a+x | sort) | ||
35 | + bins=$(find . -type f -perm -111 | sort) | ||
36 | for b in $bins; do | ||
37 | libs=$(readelf --dynamic $b 2> /dev/null | \ | ||
38 | awk '/NEEDED/ { print $5 }' | \ | ||