diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-30 23:04:25 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-30 23:04:25 (GMT) |
commit | 58ec67927fb649a8325c016f04e050d17f787d66 (patch) | |
tree | a5d409ebedc6425a891445b136e37f8b3c8e0f69 /tests/set-rpath.sh | |
parent | c95131955924d63b2acd26fb9f0f04cdf38fed01 (diff) | |
download | patchelf-58ec67927fb649a8325c016f04e050d17f787d66.zip patchelf-58ec67927fb649a8325c016f04e050d17f787d66.tar.gz patchelf-58ec67927fb649a8325c016f04e050d17f787d66.tar.bz2 |
* `patchelf --set-rpath': short case.
Diffstat (limited to 'tests/set-rpath.sh')
-rwxr-xr-x | tests/set-rpath.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/set-rpath.sh b/tests/set-rpath.sh index e3c3fe4..6446395 100755 --- a/tests/set-rpath.sh +++ b/tests/set-rpath.sh @@ -1,17 +1,16 @@ #! /bin/sh -e -oldInterpreter=$(../src/patchelf --print-interpreter ./simple) -echo "current interpreter is $oldInterpreter" - rm -rf scratch mkdir -p scratch +mkdir -p scratch/libsA +mkdir -p scratch/libsB cp main scratch/ -cp libfoo.so scratch/ -cp libbar.so scratch/ +cp libfoo.so scratch/libsA/ +cp libbar.so scratch/libsB/ -../src/patchelf --set-rpath $(pwd)/scratch scratch/main -../src/patchelf --set-rpath $(pwd)/scratch scratch/libfoo.so +../src/patchelf --set-rpath $(pwd)/scratch/libsA scratch/main +../src/patchelf --set-rpath $(pwd)/scratch/libsB scratch/libsA/libfoo.so exitCode=0 scratch/main || exitCode=$? |