Skip to content

Commit 7830d04

Browse files
Merge pull request #1354 from vojtechtrefny/master_rw-test-fix
tests: Fix expected error message with util-linux 2.41
2 parents 0672619 + ccf772b commit 7830d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/integration-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ class FS(UDisksTestCase):
11121112
except GLib.GError as e:
11131113
msg = r"(is write-protected but `rw' option given|" \
11141114
"is write-protected but explicit read-write mode requested|" \
1115-
"fsconfig system call failed: /dev/sr.*: Can't open blockdev)"
1115+
"fsconfig.*failed: /dev/sr.*: Can't open blockdev)"
11161116
if not re.search(msg, str(e)):
11171117
self.fail('Mounting read-only device with \'rw\' option failed '
11181118
'with an unexpected error.\nGot: %s\nExpected: \'%s\''

0 commit comments

Comments
 (0)