summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/no-rpath.sh2
-rwxr-xr-xtests/set-interpreter-long.sh2
-rwxr-xr-xtests/set-interpreter-short.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/no-rpath.sh b/tests/no-rpath.sh
index 56c0646..4cfb55f 100755
--- a/tests/no-rpath.sh
+++ b/tests/no-rpath.sh
@@ -8,7 +8,7 @@ cp no-rpath scratch/
oldRPath=$(../src/patchelf --print-rpath scratch/no-rpath)
if test -n "$oldRPath"; then exit 1; fi
../src/patchelf \
- --interpreter "$(../src/patchelf --print-interpreter ../src/patchelf)" \
+ --set-interpreter "$(../src/patchelf --print-interpreter ../src/patchelf)" \
--set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath
newRPath=$(../src/patchelf --print-rpath scratch/no-rpath)
diff --git a/tests/set-interpreter-long.sh b/tests/set-interpreter-long.sh
index ab0e9bc..22bb2ea 100755
--- a/tests/set-interpreter-long.sh
+++ b/tests/set-interpreter-long.sh
@@ -10,7 +10,7 @@ mkdir -p scratch
newInterpreter=$(pwd)/scratch/iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
cp simple scratch/
-../src/patchelf --interpreter "$newInterpreter" scratch/simple
+../src/patchelf --set-interpreter "$newInterpreter" scratch/simple
echo "running with missing interpreter..."
if scratch/simple; then
diff --git a/tests/set-interpreter-short.sh b/tests/set-interpreter-short.sh
index 80d3d01..62990c9 100755
--- a/tests/set-interpreter-short.sh
+++ b/tests/set-interpreter-short.sh
@@ -9,7 +9,7 @@ rm -rf scratch
mkdir -p scratch
cp simple scratch/
-../src/patchelf --interpreter /oops scratch/simple
+../src/patchelf --set-interpreter /oops scratch/simple
echo "running with missing interpreter..."
if scratch/simple; then