diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-30 23:59:40 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-30 23:59:40 (GMT) |
commit | 2369d8b2def0775b0666350fd266bdc0abb07b0d (patch) | |
tree | 363548878e4e56e2cb1c0e8dcfbd30b164a8760a /tests/shrink.sh | |
parent | 58ec67927fb649a8325c016f04e050d17f787d66 (diff) | |
download | patchelf-2369d8b2def0775b0666350fd266bdc0abb07b0d.zip patchelf-2369d8b2def0775b0666350fd266bdc0abb07b0d.tar.gz patchelf-2369d8b2def0775b0666350fd266bdc0abb07b0d.tar.bz2 |
* Handle `--set-rpath' for the growing case.
Diffstat (limited to 'tests/shrink.sh')
-rwxr-xr-x | tests/shrink.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/shrink.sh b/tests/shrink.sh index 563270f..bbbf4d6 100755 --- a/tests/shrink.sh +++ b/tests/shrink.sh @@ -1,6 +1,6 @@ #! /bin/sh -e -rpath=$(../src/patchelf --print-rpath ./libfoo.so) +rpath=$(../src/patchelf --print-rpath ./libbar.so) echo "RPATH before: $rpath" if ! echo "$rpath" | grep -q /no-such-path; then echo "incomplete RPATH" @@ -9,10 +9,10 @@ fi rm -rf scratch mkdir -p scratch -cp libfoo.so scratch/ -../src/patchelf --shrink-rpath scratch/libfoo.so +cp libbar.so scratch/ +../src/patchelf --shrink-rpath scratch/libbar.so -rpath=$(../src/patchelf --print-rpath scratch/libfoo.so) +rpath=$(../src/patchelf --print-rpath scratch/libbar.so) echo "RPATH after: $rpath" if echo "$rpath" | grep -q /no-such-path; then echo "RPATH not shrunk" |