diff --git a/testsuite/output-options_test.py b/testsuite/output-options_test.py index 1d57c086a..61a4d4ba9 100644 --- a/testsuite/output-options_test.py +++ b/testsuite/output-options_test.py @@ -108,7 +108,7 @@ def out(*args, want_rc=0, env=None, text=True): plain = out('-a', '--stats', f'{src}/', f'{TODIR}/').stdout rmtree(TODIR) human = out('-a', '-h', '--stats', f'{src}/', f'{TODIR}/').stdout -suffix_re = r'Total file size: [\d.]+[KMG]' +suffix_re = r'Total file size: [\d.,]+[KMG]' if not re.search(suffix_re, human): test_fail(f"-h did not use a human-readable unit suffix:\n{human}") if re.search(suffix_re, plain):