Skip to content

Commit

Permalink
Merge pull request #1354 from vojtechtrefny/master_rw-test-fix
Browse files Browse the repository at this point in the history
tests: Fix expected error message with util-linux 2.41
  • Loading branch information
vojtechtrefny authored Feb 24, 2025
2 parents 0672619 + ccf772b commit 7830d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ class FS(UDisksTestCase):
except GLib.GError as e:
msg = r"(is write-protected but `rw' option given|" \
"is write-protected but explicit read-write mode requested|" \
"fsconfig system call failed: /dev/sr.*: Can't open blockdev)"
"fsconfig.*failed: /dev/sr.*: Can't open blockdev)"
if not re.search(msg, str(e)):
self.fail('Mounting read-only device with \'rw\' option failed '
'with an unexpected error.\nGot: %s\nExpected: \'%s\''
Expand Down

0 comments on commit 7830d04

Please sign in to comment.