aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/blkid.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/blkid.test b/tests/blkid.test
index 6212208e..5bfce435 100755
--- a/tests/blkid.test
+++ b/tests/blkid.test
@@ -9,7 +9,8 @@ function BLKID()
file=$1
shift
bzcat $FILES/blkid/$file.bz2 > temp.img
- blkid "$@" temp.img
+ # e2fsprogs' blkid outputs trailing spaces; no other blkid does.
+ blkid "$@" temp.img | sed 's/ $//'
rm temp.img
}