diff options
author | Vincent Danjean <Vincent.Danjean@ens-lyon.org> | 2012-07-11 08:09:24 (GMT) |
---|---|---|
committer | Vincent Danjean <Vincent.Danjean@ens-lyon.org> | 2012-07-11 08:10:32 (GMT) |
commit | c4220eaf0f552cfd68148ddefd6455ff2ce0e08c (patch) | |
tree | bae99a44f587ccb2f9d3803b8efd6f5e169be0e6 /tests/no-rpath.sh | |
parent | e49720cb6ff6a2adcf6e5ea68c1f9d29e8f527c9 (diff) | |
download | patchelf-c4220eaf0f552cfd68148ddefd6455ff2ce0e08c.zip patchelf-c4220eaf0f552cfd68148ddefd6455ff2ce0e08c.tar.gz patchelf-c4220eaf0f552cfd68148ddefd6455ff2ce0e08c.tar.bz2 |
rewrite no-rpath test
* compile locally this test in the no-rpath test
* add tests for prebuilt no-rpath binaries on various ELF platforms
=> ia64 does not work, probably a bug in patchelf. Marking it as XFAIL for now
Diffstat (limited to 'tests/no-rpath.sh')
-rwxr-xr-x | tests/no-rpath.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/no-rpath.sh b/tests/no-rpath.sh index 20c720c..3efa7f1 100755 --- a/tests/no-rpath.sh +++ b/tests/no-rpath.sh @@ -4,7 +4,7 @@ SCRATCH=scratch/$(basename $0 .sh) rm -rf ${SCRATCH} mkdir -p ${SCRATCH} -cp ${srcdir}/no-rpath ${SCRATCH}/ +cp no-rpath ${SCRATCH}/ oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath) if test -n "$oldRPath"; then exit 1; fi @@ -18,6 +18,4 @@ if ! echo "$newRPath" | grep -q '/foo:/bar'; then exit 1 fi -if [ "$(uname -m)" = i686 -a "$(uname -s)" = Linux ]; then - cd ${SCRATCH} && ./no-rpath -fi +cd ${SCRATCH} && ./no-rpath |