diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-01-30 13:49:58 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-01-30 13:49:58 (GMT) |
commit | fbaddb9b47e420f4442829d3e2501caeac08f864 (patch) | |
tree | 6a590c417120ee506197c390ce6637dbc4729569 /tests | |
parent | 36d925e86817c9f2a64c4d5a3e39b8abcd0e3bb0 (diff) | |
download | patchelf-fbaddb9b47e420f4442829d3e2501caeac08f864.zip patchelf-fbaddb9b47e420f4442829d3e2501caeac08f864.tar.gz patchelf-fbaddb9b47e420f4442829d3e2501caeac08f864.tar.bz2 |
* Regression test: Doing "/lib/ld-linux-x86-64.so.2 <program>" should
work on a patched executable (it doesn't right now on x86_64).
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/set-interpreter-long.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/set-interpreter-long.sh b/tests/set-interpreter-long.sh index 22bb2ea..1790795 100755 --- a/tests/set-interpreter-long.sh +++ b/tests/set-interpreter-long.sh @@ -5,6 +5,9 @@ oldInterpreter=$(../src/patchelf --print-interpreter ./simple) echo "current interpreter is $oldInterpreter" +echo "running with explicit interpreter..." +"$oldInterpreter" ./simple + rm -rf scratch mkdir -p scratch @@ -21,3 +24,6 @@ fi echo "running with new interpreter..." ln -s "$oldInterpreter" "$newInterpreter" scratch/simple + +echo "running with explicit interpreter..." +"$oldInterpreter" scratch/simple |