Skip to content

Commit

Permalink
try valid utf-8 value
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Oct 8, 2024
1 parent e366ae8 commit ec99a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/testsuite/archiver/tar_cmds_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def test_roundtrip_pax_xattrs(archivers, request):
archiver = request.getfixturevalue(archivers)
create_regular_file(archiver.input_path, "file")
input_path = os.path.abspath("input/file")
xa_key, xa_value = b"org.borgbackup.test", b"not valid utf-8: \xff"
xa_key, xa_value = b"org.borgbackup.test", b"valid utf-8"
xattr.setxattr(input_path.encode(), xa_key, xa_value)
cmd(archiver, "repo-create", "--encryption=none")
cmd(archiver, "create", "src", "input")
Expand Down

0 comments on commit ec99a80

Please sign in to comment.