head 1.16; access; symbols netbsd-11-0-RC7:1.16 netbsd-11-0-RC6:1.16 netbsd-11-0-RC5:1.16 netbsd-11-0-RC4:1.16 netbsd-11-0-RC3:1.16 netbsd-11-0-RC2:1.16 netbsd-11-0-RC1:1.16 perseant-exfatfs-base-20250801:1.16 netbsd-11:1.16.0.10 netbsd-11-base:1.16 netbsd-10-1-RELEASE:1.16 perseant-exfatfs-base-20240630:1.16 perseant-exfatfs:1.16.0.8 perseant-exfatfs-base:1.16 netbsd-8-3-RELEASE:1.14 netbsd-9-4-RELEASE:1.14 netbsd-10-0-RELEASE:1.16 netbsd-10-0-RC6:1.16 netbsd-10-0-RC5:1.16 netbsd-10-0-RC4:1.16 netbsd-10-0-RC3:1.16 netbsd-10-0-RC2:1.16 netbsd-10-0-RC1:1.16 netbsd-10:1.16.0.6 netbsd-10-base:1.16 netbsd-9-3-RELEASE:1.14 cjep_sun2x-base1:1.16 cjep_sun2x:1.16.0.4 cjep_sun2x-base:1.16 cjep_staticlib_x-base1:1.16 netbsd-9-2-RELEASE:1.14 cjep_staticlib_x:1.16.0.2 cjep_staticlib_x-base:1.16 netbsd-9-1-RELEASE:1.14 phil-wifi-20200421:1.15 phil-wifi-20200411:1.15 is-mlppp:1.15.0.2 is-mlppp-base:1.15 phil-wifi-20200406:1.15 netbsd-8-2-RELEASE:1.14 netbsd-9-0-RELEASE:1.14 netbsd-9-0-RC2:1.14 netbsd-9-0-RC1:1.14 phil-wifi-20191119:1.14 netbsd-9:1.14.0.26 netbsd-9-base:1.14 phil-wifi-20190609:1.14 netbsd-8-1-RELEASE:1.14 netbsd-8-1-RC1:1.14 pgoyette-compat-merge-20190127:1.14 pgoyette-compat-20190127:1.14 pgoyette-compat-20190118:1.14 pgoyette-compat-1226:1.14 pgoyette-compat-1126:1.14 pgoyette-compat-1020:1.14 pgoyette-compat-0930:1.14 pgoyette-compat-0906:1.14 netbsd-7-2-RELEASE:1.14 pgoyette-compat-0728:1.14 netbsd-8-0-RELEASE:1.14 phil-wifi:1.14.0.24 phil-wifi-base:1.14 pgoyette-compat-0625:1.14 netbsd-8-0-RC2:1.14 pgoyette-compat-0521:1.14 pgoyette-compat-0502:1.14 pgoyette-compat-0422:1.14 netbsd-8-0-RC1:1.14 pgoyette-compat-0415:1.14 pgoyette-compat-0407:1.14 pgoyette-compat-0330:1.14 pgoyette-compat-0322:1.14 pgoyette-compat-0315:1.14 netbsd-7-1-2-RELEASE:1.14 pgoyette-compat:1.14.0.22 pgoyette-compat-base:1.14 netbsd-7-1-1-RELEASE:1.14 matt-nb8-mediatek:1.14.0.20 matt-nb8-mediatek-base:1.14 perseant-stdc-iso10646:1.14.0.18 perseant-stdc-iso10646-base:1.14 netbsd-8:1.14.0.16 netbsd-8-base:1.14 prg-localcount2-base3:1.14 prg-localcount2-base2:1.14 prg-localcount2-base1:1.14 prg-localcount2:1.14.0.14 prg-localcount2-base:1.14 pgoyette-localcount-20170426:1.14 bouyer-socketcan-base1:1.14 pgoyette-localcount-20170320:1.14 netbsd-7-1:1.14.0.12 netbsd-7-1-RELEASE:1.14 netbsd-7-1-RC2:1.14 netbsd-7-nhusb-base-20170116:1.14 bouyer-socketcan:1.14.0.10 bouyer-socketcan-base:1.14 pgoyette-localcount-20170107:1.14 netbsd-7-1-RC1:1.14 pgoyette-localcount-20161104:1.14 netbsd-7-0-2-RELEASE:1.14 localcount-20160914:1.14 netbsd-7-nhusb:1.14.0.8 netbsd-7-nhusb-base:1.14 pgoyette-localcount-20160806:1.14 pgoyette-localcount-20160726:1.14 pgoyette-localcount:1.14.0.6 pgoyette-localcount-base:1.14 netbsd-7-0-1-RELEASE:1.14 netbsd-7-0:1.14.0.4 netbsd-7-0-RELEASE:1.14 netbsd-7-0-RC3:1.14 netbsd-7-0-RC2:1.14 netbsd-7-0-RC1:1.14 netbsd-5-2-3-RELEASE:1.2 netbsd-5-1-5-RELEASE:1.2 netbsd-6-0-6-RELEASE:1.13 netbsd-6-1-5-RELEASE:1.13 netbsd-7:1.14.0.2 netbsd-7-base:1.14 yamt-pagecache-base9:1.13 yamt-pagecache-tag8:1.13 netbsd-6-1-4-RELEASE:1.13 netbsd-6-0-5-RELEASE:1.13 tls-earlyentropy:1.13.0.22 tls-earlyentropy-base:1.14 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13 riastradh-drm2-base3:1.13 netbsd-6-1-3-RELEASE:1.13 netbsd-6-0-4-RELEASE:1.13 netbsd-5-2-2-RELEASE:1.2 netbsd-5-1-4-RELEASE:1.2 netbsd-6-1-2-RELEASE:1.13 netbsd-6-0-3-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.2 netbsd-5-1-3-RELEASE:1.2 netbsd-6-1-1-RELEASE:1.13 riastradh-drm2-base2:1.13 riastradh-drm2-base1:1.13 riastradh-drm2:1.13.0.16 riastradh-drm2-base:1.13 netbsd-6-1:1.13.0.20 netbsd-6-0-2-RELEASE:1.13 netbsd-6-1-RELEASE:1.13 netbsd-6-1-RC4:1.13 netbsd-6-1-RC3:1.13 agc-symver:1.13.0.18 agc-symver-base:1.13 netbsd-6-1-RC2:1.13 netbsd-6-1-RC1:1.13 yamt-pagecache-base8:1.13 netbsd-5-2:1.2.0.24 netbsd-6-0-1-RELEASE:1.13 yamt-pagecache-base7:1.13 netbsd-5-2-RELEASE:1.2 netbsd-5-2-RC1:1.2 matt-nb6-plus-nbase:1.13 yamt-pagecache-base6:1.13 netbsd-6-0:1.13.0.14 netbsd-6-0-RELEASE:1.13 netbsd-6-0-RC2:1.13 tls-maxphys:1.13.0.12 tls-maxphys-base:1.14 matt-nb6-plus:1.13.0.10 matt-nb6-plus-base:1.13 netbsd-6-0-RC1:1.13 yamt-pagecache-base5:1.13 yamt-pagecache-base4:1.13 netbsd-6:1.13.0.8 netbsd-6-base:1.13 netbsd-5-1-2-RELEASE:1.2 netbsd-5-1-1-RELEASE:1.2 yamt-pagecache-base3:1.13 yamt-pagecache-base2:1.13 yamt-pagecache:1.13.0.6 yamt-pagecache-base:1.13 cherry-xenmp:1.13.0.4 cherry-xenmp-base:1.13 bouyer-quota2-nbase:1.13 bouyer-quota2:1.13.0.2 bouyer-quota2-base:1.13 matt-mips64-premerge-20101231:1.13 matt-nb5-mips64-premerge-20101231:1.2 matt-nb5-pq3:1.2.0.22 matt-nb5-pq3-base:1.2 netbsd-5-1:1.2.0.20 netbsd-5-1-RELEASE:1.2 netbsd-5-1-RC4:1.2 matt-nb5-mips64-k15:1.2 netbsd-5-1-RC3:1.2 netbsd-5-1-RC2:1.2 netbsd-5-1-RC1:1.2 netbsd-5-0-2-RELEASE:1.2 matt-nb5-mips64-premerge-20091211:1.2 matt-premerge-20091211:1.2 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2 matt-nb4-mips64-k7-u2a-k9b:1.2 matt-nb5-mips64-u1-k1-k5:1.2 matt-nb5-mips64:1.2.0.18 netbsd-5-0-1-RELEASE:1.2 jym-xensuspend-nbase:1.2 netbsd-5-0:1.2.0.16 netbsd-5-0-RELEASE:1.2 netbsd-5-0-RC4:1.2 netbsd-5-0-RC3:1.2 netbsd-5-0-RC2:1.2 jym-xensuspend:1.2.0.14 jym-xensuspend-base:1.2 netbsd-5-0-RC1:1.2 netbsd-5:1.2.0.12 netbsd-5-base:1.2 matt-mips64-base2:1.2 mjf-devfs2:1.2.0.10 mjf-devfs2-base:1.2 wrstuden-revivesa-base-3:1.2 wrstuden-revivesa-base-2:1.2 wrstuden-revivesa-base-1:1.2 yamt-pf42-base4:1.2 yamt-pf42-base3:1.2 hpcarm-cleanup-nbase:1.2 hpcarm-cleanup-base:1.2 yamt-pf42-baseX:1.2 yamt-pf42-base2:1.2 wrstuden-revivesa:1.2.0.8 wrstuden-revivesa-base:1.2 yamt-pf42:1.2.0.6 yamt-pf42-base:1.2 keiichi-mipv6-nbase:1.2 keiichi-mipv6:1.2.0.4 keiichi-mipv6-base:1.2 matt-armv6-base:1.2 matt-armv6:1.2.0.2 matt-armv6-nbase:1.2; locks; strict; comment @# @; 1.16 date 2020.05.15.23.32.28; author christos; state Exp; branches; next 1.15; commitid fAVtpUcif04Upo8C; 1.15 date 2020.03.01.18.08.14; author christos; state Exp; branches; next 1.14; commitid M7sRI2w4ldl05JYB; 1.14 date 2014.06.10.04.28.39; author he; state Exp; branches 1.14.24.1; next 1.13; commitid SD1EI7Ajtwu4LVDx; 1.13 date 2010.11.12.17.35.34; author pooka; state Exp; branches 1.13.12.1 1.13.22.1; next 1.12; 1.12 date 2010.11.12.17.33.28; author pooka; state Exp; branches; next 1.11; 1.11 date 2010.07.31.17.11.45; author pooka; state Exp; branches; next 1.10; 1.10 date 2010.07.30.16.15.06; author pooka; state Exp; branches; next 1.9; 1.9 date 2010.07.13.21.13.23; author jmmv; state Exp; branches; next 1.8; 1.8 date 2010.07.12.13.09.19; author pooka; state Exp; branches; next 1.7; 1.7 date 2010.07.11.12.33.38; author pooka; state Exp; branches; next 1.6; 1.6 date 2010.07.11.12.26.19; author pooka; state Exp; branches; next 1.5; 1.5 date 2010.07.07.10.49.51; author pooka; state Exp; branches; next 1.4; 1.4 date 2010.07.06.14.44.30; author pooka; state Exp; branches; next 1.3; 1.3 date 2010.07.06.14.06.22; author pooka; state dead; branches; next 1.2; 1.2 date 2007.12.26.22.33.54; author jmmv; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 2007.12.26.20.50.06; author jmmv; state Exp; branches; next ; 1.14.24.1 date 2020.04.08.14.09.07; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.13.12.1 date 2014.08.20.00.04.47; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.13.22.1 date 2014.08.10.06.57.08; author tls; state Exp; branches; next ; commitid fDufvgpllf0MCMLx; 1.2.2.1 date 2007.12.26.22.33.54; author matt; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2008.01.09.01.59.07; author matt; state Exp; branches; next ; desc @@ 1.16 log @PR/55102: Kamil Rytarowski: Duplicate fifo_vnodeop_entries, fifo_vnodeop_opv_desc symbols. Many filesystems ffs, lfs, ulfs, chfs, ext2fs etc. use fifofs internally for their fifo vnops. NFS does too, but it also needs networking anyway. Unfortunately fifofs brings in a lot of the networking code so that the rumpkernel is not well partition. In addition the fifo code is rarely used. The existing hack depended on duplicating the above symbols and adding minimal functionality for the majority of the the tests (except the ffs and the puffs one). In these two cases both symbols were loaded and the symbol sizes clashed which broke the sanitizers. While this can be fixed with weak symbols and other kinds of indirection, it is more straight forward to select between the minimal and the full fifofs implementation by introducing a new shared library librumpvfs_nofifofs. @ text @# $NetBSD: Makefile,v 1.15 2020/03/01 18:08:14 christos Exp $ # RUMPFIFO=yes # Use the real rump fifo .include SUBDIR+= h_dtfs TESTSDIR= ${TESTSBASE}/fs/puffs TESTS_C= t_basic TESTS_C+= t_fuzz TESTS_C+= t_io VFSTESTDIR != cd ${.CURDIR}/../common && ${PRINTOBJDIR} LDADD+=-L${VFSTESTDIR} -lvfstest LDADD+= -lrumpdev_putter -lrumpdev LDADD+= -lrumpfs_syspuffs LDADD+= ${LIBRUMPBASE} # required by -DPUFFSDUMP #LDADD+= -lpuffs -lutil WARNS=2 .include @ 1.15 log @Centralize the base rump libraries into a variable used by all the other Makefiles so that we can make changes to it centrally as needed and have less mess. Fixes the sun2 build that needs rumpvfs after librump after the latest changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2014/06/10 04:28:39 he Exp $ d4 1 d19 1 a19 2 LDADD+= -lrumpfs_syspuffs -lrumpvfs_fifofs LDADD+= -lrumpnet_local -lrumpnet_net -lrumpnet @ 1.14 log @Fix static linking for the tests: -lrump is also used by -lrumpuser, so we also need -lrump after -lrumpuser. Fixes build for sun2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2010/11/12 17:35:34 pooka Exp $ d20 1 a20 2 LDADD+= -lrumpvfs LDADD+= -lrump -lrumpuser -lrump -lpthread @ 1.14.24.1 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ d20 2 a21 1 LDADD+= ${LIBRUMPBASE} @ 1.13 log @Remove accidentally committed part (which I need to run these tests for a -current rump kernel on NetBSD 5.1) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2010/11/12 17:33:28 pooka Exp $ d21 1 a21 1 LDADD+= -lrump -lrumpuser -lpthread @ 1.13.12.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 # $NetBSD$ d21 1 a21 1 LDADD+= -lrump -lrumpuser -lrump -lpthread @ 1.13.22.1 log @Rebase. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2014/06/10 04:28:39 he Exp $ d21 1 a21 1 LDADD+= -lrump -lrumpuser -lrump -lpthread @ 1.12 log @Add test case for problem described by yamt in PR kern/44086. "large writes with PUFFS_KFLAG_NOCACHE_PAGE ends up with EIO" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2010/07/31 17:11:45 pooka Exp $ d24 1 a24 2 LDADD+= -lpuffs -lutil CPPFLAGS+= -I/home/pooka/src/curpuffs/libpuffs @ 1.11 log @Fuzztest puffs mount. There are n different levels of testing: each one pours more and more sane garbage into the args to that the mount progresses further and further. Level 8 (at least when writing this comment) should be the one where mounting actually succeeds. Our metric of success is crash / no crash. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2010/07/30 16:15:06 pooka Exp $ d12 1 d24 2 a25 1 #LDADD+= -lpuffs -lutil @ 1.10 log @Fold the puffs private and vfs tests mount/unmount routines together. To achieve this, add a file system private parameter to the newfs method (which will obviously not be used by vfs tests). njoly ok @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2010/07/13 21:13:23 jmmv Exp $ d11 1 @ 1.9 log @Get rid of static Atffiles and let bsd.test.mk generate them on the fly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2010/07/12 13:09:19 pooka Exp $ d12 3 @ 1.8 log @put stuff requiring -lpuffs behind -DPUFFSDUMP @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2010/07/11 12:33:38 pooka Exp $ a23 1 .include @ 1.7 log @WARNS=2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2010/07/11 12:26:19 pooka Exp $ d17 3 a19 1 LDADD+= -lpuffs -lutil @ 1.6 log @Add some basic tests for inactive/reclaim. To make this possible, adjust the read/write shovel threads so, that we can tap into the operations between puffs(9) and the file server. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2010/07/07 10:49:51 pooka Exp $ d19 2 @ 1.5 log @Add test cases for file servers which present the root node not as a directory but as a regular file, symbolic link (although that can't be unmounted without killing the server!), fifo or character device. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2010/07/06 14:44:30 pooka Exp $ d17 1 @ 1.4 log @Add the most basic test for puffs(dtfs): mount/unmount. There's still a lot of work to do here, but I want to get to testbuilding the tree ;) TODO examples: * integrate this with rump_syspuffs (and remove the stupid ``sys'' from there) * integrate with njoly's fs-independent tests * cleanup a lot * write more tests *sigh*, I wish we'd had testing tools like this 5 years ago when I was writing puffs. It would have made a lot of things a lot better and a lot easier. @ text @d1 1 a1 1 # $NetBSD$ d13 4 a16 1 LDADD+= -lrumpfs_syspuffs -lrumpvfs -lrump -lrumpuser -lpthread @ 1.3 log @Move tests psshfs from fs/puffs to fs/psshfs. The former is going to be populated by tests which actually test puffs soon. jmmv ok @ text @d1 6 a6 1 # $NetBSD: Makefile,v 1.2 2007/12/26 22:33:54 jmmv Exp $ d10 4 a13 12 PROGS= h_have_puffs SRCS.h_have_puffs= h_have_puffs.c MAN.h_have_puffs= # empty BINDIR.h_have_puffs= ${TESTSDIR} TESTS_SH= t_psshfs FILESDIR= ${TESTSDIR} FILES= ssh_config.in FILES+= ssh_host_key FILES+= ssh_host_key.pub FILES+= sshd_config.in d16 1 @ 1.2 log @Install the data files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2007/12/26 20:50:06 jmmv Exp $ @ 1.2.2.1 log @file Makefile was added on branch matt-armv6 on 2008-01-09 01:59:07 +0000 @ text @d1 18 @ 1.2.2.2 log @sync with HEAD @ text @a0 18 # $NetBSD$ TESTSDIR= ${TESTSBASE}/fs/puffs PROGS= h_have_puffs SRCS.h_have_puffs= h_have_puffs.c MAN.h_have_puffs= # empty BINDIR.h_have_puffs= ${TESTSDIR} TESTS_SH= t_psshfs FILESDIR= ${TESTSDIR} FILES= ssh_config.in FILES+= ssh_host_key FILES+= ssh_host_key.pub FILES+= sshd_config.in .include @ 1.1 log @Beleatedly add some regression tests for a couple of problems I found in psshfs and that pooka@@ already fixed a while ago. These were rather tricky to get working. @ text @d1 1 a1 1 # $NetBSD$ d12 6 @