Skip to content

Commit

Permalink
testsuite: skip FALLOC_FL_PUNCH_HOLE in fsx
Browse files Browse the repository at this point in the history
Problem: the tests/kern/t37 fsx test is marked as XFAIL due to
the following error message:

  fsx: main: filesystem does not support fallocate punch hole,
	 disabling: Operation not supported

AFAICS, v9fs does not support fallocate, so this isn't telling us anything
interesting.

Run the test with -H which tells it not to try and make t37 an expected pass.

Fixes #105
  • Loading branch information
garlick committed Jan 17, 2025
1 parent e08d71e commit 8b18a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/kern/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TESTS = t05 t06 t07 t12 t13 t14 t15 t16 t17 t18 t22 \
t24 t25 t26 t27 t28 t29 t30 t31 t32 t33 \
t35 t36 t37 t38 t39 t40 t41 t42 t43 t44 t45 t46 t47

XFAIL_TESTS = t37 t43 t48 t49
XFAIL_TESTS = t43 t48 t49

CLEANFILES = *.out *.diff *.diod *.postmark *.dbench

Expand Down
2 changes: 1 addition & 1 deletion tests/kern/t37
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#fsx/fsx -N 1000 -R $PATH_MNTDIR/testfile

# passes with mmap disabled
fsx/fsx -N 1000 -R -W $PATH_MNTDIR/testfile
fsx/fsx -H -N 1000 -R -W $PATH_MNTDIR/testfile

0 comments on commit 8b18a31

Please sign in to comment.