summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-05-28 15:32:03 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-05-28 15:32:03 (GMT)
commitef42c45d0c48d8cde020d460fda58ee6dba21f8d (patch)
treee0590e021c58cd6c483136794aa17e850c8adc4d
parent94886c4bafc96489b9ba07521518dd5590ee321f (diff)
downloadpatchelf-ef42c45d0c48d8cde020d460fda58ee6dba21f8d.zip
patchelf-ef42c45d0c48d8cde020d460fda58ee6dba21f8d.tar.gz
patchelf-ef42c45d0c48d8cde020d460fda58ee6dba21f8d.tar.bz2
* Fix a broken test.
-rwxr-xr-xtests/set-rpath-library.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/set-rpath-library.sh b/tests/set-rpath-library.sh
index 9800d0e..3bdfc12 100755
--- a/tests/set-rpath-library.sh
+++ b/tests/set-rpath-library.sh
@@ -11,11 +11,7 @@ cp libbar-scoped.so scratch/libsB/
oldRPath=$(../src/patchelf --print-rpath scratch/main-scoped)
if test -z "$oldRPath"; then oldRPath="/oops"; fi
-../src/patchelf --force-rpath --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main-scoped
-
-#oldRPath=$(../src/patchelf --print-rpath scratch/libsB/libbar.so)
-#if test -z "$oldRPath"; then oldRPath="/oops"; fi
-#../src/patchelf --set-rpath $oldRPath:$(pwd)/scratch/libsC scratch/libsB/libbar.so
+../src/patchelf --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main-scoped
# "main" contains libbar in its RUNPATH, but that's ignored when
# resolving libfoo. So libfoo won't find libbar and this will fail.