Skip to content

Commit 67ad361

Browse files
committed
ltfs: fix test skip guard to check ltfs capability, not xattrs
1 parent a2d45e4 commit 67ad361

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

testsuite/ltfs-daemon_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# --- skip guards (same as ltfs-local_test.py) --------------------------------
2828

2929
vv = run_rsync('-VV', check=True, capture_output=True)
30-
if '"xattrs": true' not in vv.stdout:
31-
test_skipped("rsync built without xattr support")
30+
if '"ltfs": true' not in vv.stdout:
31+
test_skipped("rsync built without LTFS support")
3232

3333
if not hasattr(os, 'setxattr'):
3434
test_skipped("os.setxattr not available on this platform")

testsuite/ltfs-local_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
)
2424

2525

26-
# The feature needs a build with xattr support...
26+
# The feature needs a build with LTFS support...
2727
vv = run_rsync('-VV', check=True, capture_output=True)
28-
if '"xattrs": true' not in vv.stdout:
29-
test_skipped("Rsync is configured without xattrs support")
28+
if '"ltfs": true' not in vv.stdout:
29+
test_skipped("Rsync is configured without LTFS support")
3030

3131
# ...and a scratch filesystem that lets us set a user.* xattr to stand in for
3232
# the tape's ltfs.startblock attribute.

0 commit comments

Comments
 (0)