summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrandon Philips <bphilips@suse.de>2009-06-22 11:28:47 -0700
committerBrandon Philips <bphilips@suse.de>2009-06-29 12:20:32 -0700
commit48b9ada707fe1a4c7a95da07daafa3cb0758350f (patch)
tree7c12ab9aa3a124214c504afcb26d7b88c1cb0216 /test
parent336201d1bfdd2bc5e68dc70147122d9f445ada29 (diff)
downloadacl-48b9ada707fe1a4c7a95da07daafa3cb0758350f.tar.gz
test/run: fix lt- prefix from libtool wrappers
On some platforms libtool prefixes the in-tree binaries under .libs with "lt-". This causes the tests to break. This patch removes the lt- prefix from program error output. A discussion on the issue is here: http://lists.gnu.org/archive/html/libtool/2009-05/msg00042.html
Diffstat (limited to 'test')
-rwxr-xr-xtest/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run b/test/run
index 0e0dee5..2cf52e8 100755
--- a/test/run
+++ b/test/run
@@ -294,6 +294,8 @@ sub exec_test($$) {
my $result = [];
while (<IN>) {
#print "< $_";
+ # remove libtool 'lt-' prefixes on prog name output
+ s#^lt-##g;
if ($needs_shell) {
s#^/bin/sh: line \d+: ##;
}