From fbaddb9b47e420f4442829d3e2501caeac08f864 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 30 Jan 2009 13:49:58 +0000 Subject: * Regression test: Doing "/lib/ld-linux-x86-64.so.2 " should work on a patched executable (it doesn't right now on x86_64). --- tests/set-interpreter-long.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12