summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorKarel Zak2012-07-30 17:43:10 +0200
committerKarel Zak2012-07-30 17:43:10 +0200
commit46949388c6945fcbdcd5bc059fd5fb10a1e56597 (patch)
treefd583c4c10f5f0da39d531afaf13c14fd2b5a6e0 /tests/functions.sh
parentutil-linux: Document new FAT options (diff)
downloadkernel-qcow2-util-linux-46949388c6945fcbdcd5bc059fd5fb10a1e56597.tar.gz
kernel-qcow2-util-linux-46949388c6945fcbdcd5bc059fd5fb10a1e56597.tar.xz
kernel-qcow2-util-linux-46949388c6945fcbdcd5bc059fd5fb10a1e56597.zip
tests: remove lt- prefixes
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index eee6be352..0613505fe 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -235,6 +235,9 @@ function ts_gen_diff {
if [ -s "$TS_OUTPUT" ]; then
+ # remove libtool lt- prefixes
+ sed --in-place 's/^lt\-\(.*\: \)/\1/g' $TS_OUTPUT
+
[ -d "$TS_DIFFDIR" ] || mkdir -p "$TS_DIFFDIR"
diff -u $TS_EXPECTED $TS_OUTPUT > $TS_DIFF