Skip to content

Commit f3608e6

Browse files
perseantperseant
authored andcommitted
Convert t_rfw:rfw64 test case to expect-fail.
1 parent c95a57f commit f3608e6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/fs/lfs/t_rfw.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: t_rfw.c,v 1.5 2025/10/13 00:44:35 perseant Exp $ */
1+
/* $NetBSD: t_rfw.c,v 1.6 2025/10/13 00:50:48 perseant Exp $ */
22

33
#include <sys/types.h>
44
#include <sys/wait.h>
@@ -80,7 +80,10 @@ void test(int width)
8080
/*
8181
* Initialize.
8282
*/
83-
atf_tc_expect_pass();
83+
if (width > 32)
84+
atf_tc_expect_fail("fsck errors are common in the 64-bit case");
85+
else
86+
atf_tc_expect_pass();
8487

8588
/* Create filesystem, note superblock locations */
8689
create_lfs(FSSIZE, FSSIZE, width, 1);

0 commit comments

Comments
 (0)