summaryrefslogtreecommitdiff
path: root/tests/fs/common
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2020-09-07remove GCC_NO_ADDR_OF_PACKED_MEMBER for several subdir buildsmrg
that are now handled by lfs_accessors.h internally.
2020-09-07avoid new GCC 9 warnings.mrg
2020-06-17Include explicitly <rump/rump_syscallshotgun.h> for previous indirect userskamil
via <rump/rump.h>.
2020-06-01LIBISPRIVATE=yeschristos
2020-03-15Skip tests when we know there is not enough space availablemartin
2020-03-15Hardcode a check for ZFS and too little free space in workdir to skipmartin
ZFS tests if the atf working directory is size restricted (ZFS has a hardcoded minimal size of 64MB for a storage pool and 128 MB disk size).
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2019-10-05sprintf->snprintfmrg
2019-08-30The cleaner is compiled into the ATF test harness for the LFSbrad
filesystem tests. Use the new -J option to pass the raw device into the cleaner. This avoids the not rump safe getdiskrawname call and makes sure we use an internal rump device name for cleaning. This should fix bin/54488.
2019-07-09return return atf_no_error() instead of 0 for consistency.maya
suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/
2019-02-01don't check the return value of execvp() for failure to call err().mrg
assume if it returns at all something has failed.
2019-01-20Call rump_pub_lwproc_newlwp() in the lfs cleaner thread to make itsgson
rump system calls all use the same lwp. Hopefully this will fix PR kern/53884. Also call rump_pub_lwproc_releaselwp() at the end.
2018-12-16Have to hijack sysctl() and modctl() for zfs commands.hannken
Should fix PR kern/53422
2018-06-19No semicolon after macro do ... while (0) wrapper.gson
2017-01-13Don't play with "../.." in includes for h_macros.h; deal with it centrally.christos
Minor fixes.
2015-08-30Remove rubbish.dholland
2015-08-29Fix glaringly wrong indent.dholland
2015-03-24zfs tests don't actually need privileges.riastradh
2014-03-16Retrict rumpfs to the provided size, like other filesystems.njoly
2014-03-04Make the abs() use check non-fatal for a bogus use in the LFS cleanerd.joerg
2013-09-09Remove what looks like an outdated assert (there was something very sneakypooka
about this code, but my memory is fading ...)
2013-07-02Use the new extension to newfs_udf to generate a decent image for rump to workreinoud
on instead of an FFS(!) version.
2013-06-30Initialize mount args version info.martin
Add comment about a bogusly used "newfs" where "newfs_udf" is meant.
2013-06-30Fix copy & pasto, notice by Nicolas Joly, one step closer to solvingmartin
PR kern/47974.
2013-06-26Add UDF as one of the filesytems to test. Might help understand why rump isreinoud
misbehaving on it.
2013-03-16Mark the zfs tests as requiring root.jmmv
This is wrong. The zfs tests already use rump so they should not require root. However, I've already spent much more time than I wanted trying to figure out why that's the case without much luck. If you can find why, just remove this hack.
2013-03-05Highly uncool to stash a partial copy of the ti-rpc code here.christos
2013-03-05use the proper fd_set.christos
XXX: Instead of making a copy of the libc rpc files here we should re-use the files from libc, and use macros to provide the extra functionality needed here. SoC project?
2013-03-05catch up with libc.christos
2013-02-06Test taking a snapshot from a stressed file system.hannken
Checks snapshot meta data only with fsck. OK: Antti Kantee <pooka@netbsd.org>
2012-08-31Hook ZFS tests to MKZFS instead of a homegrown variable.pooka
2012-08-20Add a vfstest zfs attachment. This is a compile-time option,pooka
default off, due the large numbers of failing tests (some of them look like quite trivial failures).
2012-08-05Fix ffs_fstest_delfs's error branch for rump_pub_etfs_remove.riastradh
rump_pub_etfs_remove returns an error code, rather than setting errno and returning -1.
2012-03-26Initialise permissions mask to a sensible value (0755).njoly
While here convert leading spaces to tabs.
2011-08-11add ATF tests for v7fs. patch by njoly@. thank you.uch
2011-06-29apply some -fno-strict-aliasingmrg
XXX -- someone please fix this properly.
2011-06-26ggr, how many of those I will need to fix. Fallout from the bogus inclusionchristos
of <signal.h> in rump_syscallargs.h.
2011-03-22Remove unnecessary (and broken) cleanup routines.jmmv
The cleanup routines were being used to kill the rump process and to delete the temporary image file. These are things automatically done by atf-run, but it looks like this code was added here to workaround a previous bug in the atf-run code. Note that, in the existing form, the cleanup routines segfault (haven't spent the time to track down why). atf-run does not care about this (although it should), buy Kyua does. As a side effect, this has a teeny-tiny performance speedup in the execution of the tests including this file. OKed by njoly@.
2011-03-05Put p2k_ffs back there -- i can't repeat any problems in my qemu/anitapooka
runs.
2011-02-28g/c use of unused variable toopooka
2011-02-28g/c unused variablepooka
2011-02-28bump nfdsargv[] size belatedly (and add a few extra for needs of future bugs)pooka
2011-02-12Test the right fd after rump_sys_open().bouyer
2011-02-10Do initialise allocated file system args structures for puffs and nfsnjoly
(fix some puffs tests failures with MALLOC_OPTIONS=J). While here, detect and report args allocation failure. ok from pooka.
2011-01-13wrap system() in SIG_DFL so that child-bearing fs tests (puffs,pooka
nfs) don't go cuckoo when the process executed by system() takes a backstage left.
2011-01-07Apparently the atf in the qemu runs doesn't like p2k_ffs and hangspooka
completely. Remove it for until I have a chance to debug what's going on.
2011-01-07Adjust atf_check_type() to make it work again.pooka
Do we need tests for the tests? ;)
2011-01-07Set an extra xvar indicating MOUNT_FOOpooka
2011-01-07antipastopooka