From: Karel Zak Date: Thu, 25 Jun 2026 13:18:52 +0000 (+0200) Subject: tests: (mount) strip UNIQID= from utab in special test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ddc6fad228eeadec51081185d5f93c528158d9;p=thirdparty%2Futil-linux.git tests: (mount) strip UNIQID= from utab in special test The sed pattern 'ID=[[:digit:]]* ' also matches the ID= part inside UNIQID=, causing mangled output. Strip UNIQID= first. Signed-off-by: Karel Zak --- diff --git a/tests/ts/mount/special b/tests/ts/mount/special index fc210e26d..793425cee 100755 --- a/tests/ts/mount/special +++ b/tests/ts/mount/special @@ -82,6 +82,7 @@ EOF cat "$LIBMOUNT_UTAB" \ | grep "$mountpoint" \ | sed -e "s|$mountpoint|/mountpoint|g" \ + -e 's/UNIQID=[[:digit:]]* //g' \ -e 's/ID=[[:digit:]]* //g' \ &> "$TS_OUTPUT" $TS_CMD_UMOUNT "$mountpoint"