summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Philips <bphilips@suse.de>2009-06-22 11:28:47 -0700
committerBrandon Philips <bphilips@suse.de>2009-06-22 11:44:27 -0700
commit29fb85e529a598d29c012ed44bb5501e0c54037a (patch)
tree5ab62e538d238149209c6fa2f470f815fa2e874d
parentb4636a4e9e9ea69e0000a2f3301cec7f446328a6 (diff)
downloadattr-29fb85e529a598d29c012ed44bb5501e0c54037a.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
-rwxr-xr-xtest/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run b/test/run
index e7fead0..cf15252 100755
--- a/test/run
+++ b/test/run
@@ -308,6 +308,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+: ##;
}