test-copy: drop stale errno from skip message

enable_fsverity() succeeded here, so errno is unrelated to the condition.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek committed 2026-11-04 00:27:28 +01:00
1 parent 6edee8fac6
commit b11cae9ab1
1 file changed
+1 -1
+1 -1
View File
@@ -1002,7 +1002,7 @@ TEST_RET(copy_with_verity) {
/* Ensure the attempting to enable fs-verity here will fail */
if (enable_fsverity(badsrc, "simple", FS_VERITY_HASH_ALG_SHA256, /* salt= */ NULL, /* salt_size= */ 0))
return log_tests_skipped_errno(errno, "/tmp: fs-verity *is* unexpectedly supported here");
return log_tests_skipped("/tmp: fs-verity *is* unexpectedly supported here");
/* Copy from our non-verity filesystem into dst, requesting verity and making sure we notice that
* we failed to read verity from the source. */