aboutsummaryrefslogtreecommitdiffstats
path: root/testing/patchelf/fix-tests.patch
diff options
context:
space:
mode:
authorMichael Koloberdin <koloberdin@gmail.com>2016-07-10 00:31:54 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-12 08:30:36 +0200
commitceb5af6289749d07a61c832ecb5d333482029037 (patch)
treeedfda410c8a7d5f0c70b04076967768d1f8b70f7 /testing/patchelf/fix-tests.patch
parent6a2eb7d28225e2f8790e3360e4fff54572b97110 (diff)
downloadaports-ceb5af6289749d07a61c832ecb5d333482029037.tar.bz2
aports-ceb5af6289749d07a61c832ecb5d333482029037.tar.xz
testing/patchelf: Fix the test that should not fail
Diffstat (limited to 'testing/patchelf/fix-tests.patch')
-rw-r--r--testing/patchelf/fix-tests.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/patchelf/fix-tests.patch b/testing/patchelf/fix-tests.patch
new file mode 100644
index 0000000000..386235a3e4
--- /dev/null
+++ b/testing/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.