aboutsummaryrefslogtreecommitdiffstats
path: root/community/patchelf/fix-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/patchelf/fix-tests.patch')
-rw-r--r--community/patchelf/fix-tests.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/patchelf/fix-tests.patch b/community/patchelf/fix-tests.patch
new file mode 100644
index 0000000000..386235a3e4
--- /dev/null
+++ b/community/patchelf/fix-tests.patch
@@ -0,0 +1,14 @@
+diff -urp patchelf-0.9-orig/tests/set-rpath-library.sh patchelf-0.9/tests/set-rpath-library.sh
+--- patchelf-0.9-orig/tests/set-rpath-library.sh 2016-02-29 12:15:58.000000000 +0200
++++ patchelf-0.9/tests/set-rpath-library.sh 2016-07-10 03:09:55.365997370 +0300
+@@ -26,7 +26,9 @@ exitCode=0
+
+ if test "$exitCode" = 46; then
+ echo "expected failure"
+- exit 1
++# exit 1
++# As it is an "expected failure" the test should not exit but should go on.
++# See the comment below.
+ fi
+
+ # So set an RUNPATH on libfoo as well.