From: Karel Zak Date: Mon, 30 Jul 2012 15:43:10 +0000 (+0200) Subject: tests: remove lt- prefixes X-Git-Tag: v2.22-rc2~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46949388c6945fcbdcd5bc059fd5fb10a1e56597;p=thirdparty%2Futil-linux.git tests: remove lt- prefixes Reported-by: Bernhard Voelker Signed-off-by: Karel Zak --- diff --git a/tests/expected/fdisk/oddinput b/tests/expected/fdisk/oddinput index 14f2528c8d..a681d0d2f8 100644 --- a/tests/expected/fdisk/oddinput +++ b/tests/expected/fdisk/oddinput @@ -9,6 +9,6 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Nonexistant file -lt-fdisk: cannot open _a_file_that_does_not_exist_: No such file or directory +fdisk: cannot open _a_file_that_does_not_exist_: No such file or directory Too small file -lt-fdisk: cannot open oddinput.toosmall: Invalid argument +fdisk: cannot open oddinput.toosmall: Invalid argument diff --git a/tests/functions.sh b/tests/functions.sh index eee6be3522..0613505fe2 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