summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/expected/fdisk/oddinput4
-rw-r--r--tests/functions.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/expected/fdisk/oddinput b/tests/expected/fdisk/oddinput
index 14f2528c8..a681d0d2f 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 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