summaryrefslogtreecommitdiffstats
path: root/tests/no-rpath.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-08-26 11:36:31 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-08-26 11:36:31 (GMT)
commit2b52ef1cdc12153308c82af4395f76779e1b40ee (patch)
tree080067eadbb45a318363083829ce14728825bd91 /tests/no-rpath.sh
parentf78ceb56774f28d3652535153f0d54f37be3ded8 (diff)
downloadpatchelf-2b52ef1cdc12153308c82af4395f76779e1b40ee.zip
patchelf-2b52ef1cdc12153308c82af4395f76779e1b40ee.tar.gz
patchelf-2b52ef1cdc12153308c82af4395f76779e1b40ee.tar.bz2
* Test whether the patched no-rpath executable works on i686-linux.
Diffstat (limited to 'tests/no-rpath.sh')
-rwxr-xr-xtests/no-rpath.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/no-rpath.sh b/tests/no-rpath.sh
index 85437ef..c253952 100755
--- a/tests/no-rpath.sh
+++ b/tests/no-rpath.sh
@@ -17,8 +17,6 @@ if ! echo "$newRPath" | grep -q '/foo:/bar'; then
exit 1
fi
-exitCode=0
-
-# !!! disabled running no-rpath for now, since it won't work on 64-bit
-# Linux (the interpreter will be 64 bits).
-#cd scratch && ./no-rpath
+if [ "$(uname -m)" = i686 -a "$(uname -s)" = Linux ]; then
+ cd scratch && ./no-rpath
+fi