Skip to contentSkip to conversation

generic: regression test for refluxfs fixes

PATCH Superseded Darrick J. Wong 2 participants 3 messages Aug 19 – Aug 21

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic: regression test for refluxfs fixes

From: Darrick J. Wong <[email protected]>

Regression test for refluxfs as found by Qualys.

---
 .gitignore             |    1 
 src/Makefile           |    2 
 src/refluxfs.c         |  461 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/generic/1956     |   58 ++++++
 tests/generic/1956.out |    2 
 5 files changed, 523 insertions(+), 1 deletion(-)
 create mode 100644 src/refluxfs.c
 create mode 100755 tests/generic/1956
 create mode 100644 tests/generic/1956.out
.gitignore +1 -0
index d52ba4ad30852b..b5d85c9451f0a8 100644
@@ -126,6 +126,7 @@ tags
 /src/pwrite_mmap_blocked
 /src/randholes
 /src/readdir-while-renames
+/src/refluxfs
 /src/rename
 /src/renameat2
 /src/resvtest
src/Makefile +1 -1
index 0ff607ae15930d..04a73b76546241 100644
@@ -36,7 +36,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \
 	fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \
 	detached_mounts_propagation ext4_resize t_readdir_3 splice2pipe \
 	uuid_ioctl t_snapshot_deleted_subvolume fiemap-fault min_dio_alignment \
-	rw_hint btrfs_ioctl
+	rw_hint btrfs_ioctl refluxfs
 
 EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \
 	      btrfs_crc32c_forged_name.py popdir.pl popattr.py \
src/refluxfs.c new file +461 -0

461 lines not on this page · raw message

tests/generic/1956 new file +58 -0

58 lines not on this page · raw message

tests/generic/1956.out new file +2 -0
new file mode 100644
index 00000000000000..55d8be979b1486
@@ -0,0 +1,2 @@
+QA output created by 1956
+corruption not observed
#1 lore raw
Quoted 3 lines · Darrick J. Wong

From: Darrick J. Wong <[email protected]>

Regression test for refluxfs as found by Qualys.

Looks good. Should this get a Cc and Co-Developed-by for the authors of the C code?

#2 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 3 lines · Darrick J. Wong

From: Darrick J. Wong <[email protected]>

Regression test for refluxfs as found by Qualys.

Looks good. Should this get a Cc and Co-Developed-by for the authors of the C code?

Probably. I'll respin this one.

--D